summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorConstantin Riß <constantin.riss@dre.de>2009-12-23 17:50:54 +0100
committerConstantin Riß <constantin.riss@dre.de>2009-12-23 17:50:54 +0100
commit6cc98762e5e0c18e4b2c1cbe29d42ae485774609 (patch)
tree5986757f98e0f504c259533c70fb01704048311d
parenta27f871aecf07d4624ad443e763e25d684536ba8 (diff)
downloadc3d-6cc98762e5e0c18e4b2c1cbe29d42ae485774609.tar
c3d-6cc98762e5e0c18e4b2c1cbe29d42ae485774609.zip
Neue Klasse für die Temperaturberechnung angefertigt.
-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_ */