summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorConstantin Riß <constantin.riss@dre.de>2010-01-17 23:44:32 +0100
committerConstantin Riß <constantin.riss@dre.de>2010-01-17 23:44:32 +0100
commita9312d80a44872fb627ccb8fdf8a743b04d512b6 (patch)
tree014671ac5896fbb906358f772f31766055e5d646
parentc97113e17e902bfdb9b634301250e43c73d7e5b3 (diff)
downloadc3d-a9312d80a44872fb627ccb8fdf8a743b04d512b6.tar
c3d-a9312d80a44872fb627ccb8fdf8a743b04d512b6.zip
klitzekleine änderung
-rw-r--r--Temparray.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Temparray.cpp b/Temparray.cpp
index 120b397..7d484d5 100644
--- a/Temparray.cpp
+++ b/Temparray.cpp
@@ -108,8 +108,8 @@ void Temparray::calcTemp(){
}
tau12 = capacity * thermalresistance;
tau21 = capacity2 * thermalresistance;
- if(l!=5)tau13 = capacity * thermalresistance;
- if(l!=5)tau31 = capacity3 * thermalresistance2;
+ if(l!=5)tau31 = capacity * thermalresistance2;
+ if(l!=5)tau13 = capacity3 * thermalresistance2;
temperatureold(i, j, k, l, m) =
temperatureold(i, j, k, l, m) + ((temperatureold(i, j, k, l, m) -
@@ -137,7 +137,7 @@ void Temparray::calcTemp(){
for(int m = 0; m < 4; m++) {temperatureold(i, j, k, l, m)=temperaturenew(i, j, k, l, m);}}}}}*/
std::cerr << temperatureold(2, 2, 2, 1, 2) << std::endl;
std::cerr << temperatureold(2, 2, 2, 2, 2) << std::endl;
- std::cerr << temperatureold(2, 2, 2, 3, 2) << std::endl;
+ std::cerr << temperatureold(2, 2, 2, 3, 2) << "\n" << std::endl;
}
std::list<Triangle> Temparray::getTriangles(){