summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorConstantin Riß <constantin.riss@dre.de>2010-01-17 22:29:18 +0100
committerConstantin Riß <constantin.riss@dre.de>2010-01-17 22:29:18 +0100
commite1261ae6875978e29550c19b0f0d960aa50b3482 (patch)
tree0f155abe919f8db1aec76ab33550c6b1e3b7cbcd
parent4724c2070572fbb61c3cb86f583b91c9126bcbaa (diff)
downloadc3d-e1261ae6875978e29550c19b0f0d960aa50b3482.tar
c3d-e1261ae6875978e29550c19b0f0d960aa50b3482.zip
nochmal "kleine Änderung"
-rw-r--r--Temparray.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Temparray.cpp b/Temparray.cpp
index 5894e63..b16bb55 100644
--- a/Temparray.cpp
+++ b/Temparray.cpp
@@ -113,17 +113,17 @@ void Temparray::calcTemp(){
temperatureold(i, j, k, l, m) =
temperatureold(i, j, k, l, m) + ((temperatureold(i, j, k, l, m) -
- temperatureold(i, j, k, l-1, m))*(-exp(-(1/tau12))));
+ temperatureold(i, j, k, l-1, m))*-exp(-(1/tau12)));
temperatureold(i, j, k, l-1, m) =
temperatureold(i, j, k, l-1, m) - ((temperatureold(i, j, k, l, m) -
- temperatureold(i, j, k, l-1, m))*(-exp(-(1/tau21))));
+ temperatureold(i, j, k, l-1, m))*-exp(-(1/tau21)));
if(l!=5)temperatureold(i, j, k, l, m) =
temperatureold(i, j, k, l, m) + ((temperatureold(i, j, k, l, m) -
- temperatureold(i, j, k, l+1, m))*(-exp(-(1/tau13))));
+ temperatureold(i, j, k, l+1, m))*exp(-(1/tau13)));
if(l!=5)temperatureold(i, j, k, l+1, m) =
temperatureold(i, j, k, l+1, m) - ((temperatureold(i, j, k, l, m) -
- temperatureold(i, j, k, l+1, m))*(-exp(-(1/tau31))));
+ temperatureold(i, j, k, l+1, m))*-exp(-(1/tau31)));
}
}