diff options
-rw-r--r-- | .gitignore | 11 | ||||
-rw-r--r-- | Temparray.cpp | 3 |
2 files changed, 7 insertions, 7 deletions
@@ -4,11 +4,8 @@ /.cproject /.setting -#BSPTree.o -#Cubehole.o -#Cuboid.o -#DisplayClass.o -#Temparray.o -#Trapezocube.o -#main.o +*.exe +*.layout +*.win +*.dev *.o diff --git a/Temparray.cpp b/Temparray.cpp index ed45074..4b48fcf 100644 --- a/Temparray.cpp +++ b/Temparray.cpp @@ -82,6 +82,9 @@ void Temparray::calcTemp(){ capacity = specificconductivity *((((depth + innerdepth)/2)*height)/0.9*meterperunit); capacity2 = specificconductivity *((((depth2 + innerdepth2)/2)*height2)/0.9*meterperunit); } + tau12 = capacity * thermalresistance; + tau21 = capacity2 * thermalresistance; + std::cerr << tau12 << "\n" << tau21 << std::endl; } } } |