diff options
author | Constantin Riß <constantin.riss@dre.de> | 2010-01-17 18:50:32 +0100 |
---|---|---|
committer | Constantin Riß <constantin.riss@dre.de> | 2010-01-17 18:50:32 +0100 |
commit | 0adf3012c7080f9e753471087fb63d0e9af1bed1 (patch) | |
tree | 1af3ba1bde10e4f280c62e02dbe5d33e0a090cbf | |
parent | bb5829eaf5cad431bfe3a8c7df2634fedc27a9f2 (diff) | |
download | c3d-0adf3012c7080f9e753471087fb63d0e9af1bed1.tar c3d-0adf3012c7080f9e753471087fb63d0e9af1bed1.zip |
kurze änderung
-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; } } } |