summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Temparray.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/Temparray.h b/Temparray.h
new file mode 100644
index 0000000..05be3a0
--- /dev/null
+++ b/Temparray.h
@@ -0,0 +1,23 @@
+#ifndef _TEMPARRAY_H_
+#define _TEMPARRAY_H_
+
+#include "Cubehole.h"
+
+class Temparray
+{
+ public:
+ Temparray(float initialtemp, int size0[3]){
+ teperature = new float[size0[0]][size0[0]][size0[0]][4][6];
+ cubearray = new Cubehole[size0[0]][size0[0]][size0[0]];
+ }
+ ~Temparray(){
+ delete[] temperature;
+ delete[] cubearray;
+ }
+
+ private:
+ float *temperature = 0;
+ Cubehole *cubearray = 0;
+};
+
+#endif /* _TEMPARRAY_H_ */