diff options
Diffstat (limited to 'Temparray.cpp')
-rw-r--r-- | Temparray.cpp | 6 |
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(){ |