From a9312d80a44872fb627ccb8fdf8a743b04d512b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Constantin=20Ri=C3=9F?= Date: Sun, 17 Jan 2010 23:44:32 +0100 Subject: =?UTF-8?q?klitzekleine=20=C3=A4nderung?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Temparray.cpp | 6 +++--- 1 file 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 Temparray::getTriangles(){ -- cgit v1.2.3