mirror of
https://git.gfz-potsdam.de/naaice/poet.git
synced 2025-12-16 04:48:23 +01:00
Fix diffusion and chem field update order in RunMasterLoop
This commit is contained in:
parent
e2a6cf3189
commit
b594fc93fc
@ -259,8 +259,6 @@ static Rcpp::List RunMasterLoop(const RuntimeParameters ¶ms,
|
||||
|
||||
chem.simulate(dt);
|
||||
|
||||
diffusion.getField().update(chem.getField());
|
||||
|
||||
// MDL master_iteration_end just writes on disk state_T and
|
||||
// state_C after every iteration if the cmdline option
|
||||
// --ignore-results is not given (and thus the R variable
|
||||
@ -273,6 +271,8 @@ static Rcpp::List RunMasterLoop(const RuntimeParameters ¶ms,
|
||||
*global_rt_setup, trans_field, chem_field);
|
||||
}
|
||||
|
||||
diffusion.getField().update(chem.getField());
|
||||
|
||||
MSG("End of *coupling* iteration " + std::to_string(iter) + "/" +
|
||||
std::to_string(maxiter));
|
||||
MSG();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user