mirror of
https://git.gfz-potsdam.de/naaice/poet.git
synced 2025-12-16 12:54:50 +01:00
fix grid update
This commit is contained in:
parent
0ac85d5db0
commit
caf35851b5
@ -386,10 +386,10 @@ static Rcpp::List RunMasterLoop(RInsidePOET &R, const RuntimeParameters ¶ms,
|
|||||||
// data frame with elements that are used as ai outputs for the
|
// data frame with elements that are used as ai outputs for the
|
||||||
// retraining step.
|
// retraining step.
|
||||||
|
|
||||||
if (params.ai || params.copy_non_reactive_regions) {
|
|
||||||
|
|
||||||
chem.getField().update(diffusion.getField());
|
chem.getField().update(diffusion.getField());
|
||||||
|
|
||||||
|
if (params.ai || params.copy_non_reactive_regions) {
|
||||||
|
|
||||||
R["TMP"] = Rcpp::wrap(chem.getField().AsVector());
|
R["TMP"] = Rcpp::wrap(chem.getField().AsVector());
|
||||||
R.parseEval(
|
R.parseEval(
|
||||||
std::string("field <- setNames(data.frame(matrix(TMP, nrow=" +
|
std::string("field <- setNames(data.frame(matrix(TMP, nrow=" +
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user