summaryrefslogtreecommitdiffstats
path: root/Temparray.h
diff options
context:
space:
mode:
Diffstat (limited to 'Temparray.h')
-rw-r--r--Temparray.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/Temparray.h b/Temparray.h
index 67cb73b..15eb696 100644
--- a/Temparray.h
+++ b/Temparray.h
@@ -23,13 +23,14 @@ class Temparray
std::list<Triangle> getTriangles();
void coloring();
- void setprobetemp(float t){probetemp = t;};
+ void setprobetemp(float t){probetemp = t;}
+ void setinput(float input0){input = input0;}
private:
float *temparrayold, *temparraynew;
Cubehole *cubearray;
int sx, sy, sz;
- float averagetemp, earthtemp, probetemp;
+ float averagetemp, earthtemp, probetemp, input;
Cubehole& cubehole(int x, int y, int z, int line) {
return cubearray[x*sy*sz*6 + y*sz*6 + z*6 + line];
@@ -55,8 +56,6 @@ class Temparray
}
}
earthtemp=8;
- temperatureold(2, 2, 2, 2, 2) = 90;
- temperaturenew(2, 2, 2, 2, 2) = 90;
}
};