mirror of
https://git.gfz-potsdam.de/naaice/poet.git
synced 2025-12-16 12:54:50 +01:00
Update chem.GetField() to chem.getField() in poet.cpp
This commit is contained in:
parent
8e20d177e1
commit
64989a8af8
@ -57,10 +57,6 @@ public:
|
||||
*/
|
||||
void simulate(double dt);
|
||||
|
||||
/**
|
||||
* Returns the chemical field.
|
||||
*/
|
||||
auto &GetField() { return this->chem_field; }
|
||||
/**
|
||||
* Returns all known species names, including not only aqueous species, but
|
||||
* also equilibrium, exchange, surface and kinetic reactants.
|
||||
|
||||
@ -254,7 +254,7 @@ static Rcpp::List RunMasterLoop(RInside &R, const RuntimeParameters ¶ms,
|
||||
// TODO: transport to diffusion
|
||||
diffusion.simulate(dt);
|
||||
|
||||
chem.GetField().update(diffusion.getField());
|
||||
chem.getField().update(diffusion.getField());
|
||||
|
||||
// chem.getfield().update(diffusion.getfield());
|
||||
|
||||
@ -262,10 +262,10 @@ static Rcpp::List RunMasterLoop(RInside &R, const RuntimeParameters ¶ms,
|
||||
|
||||
chem.simulate(dt);
|
||||
|
||||
writeFieldsToR(R, diffusion.getField(), chem.GetField());
|
||||
writeFieldsToR(R, diffusion.getField(), chem.getField());
|
||||
// R["store_result"] = true;
|
||||
// R.parseEval("mysetup$store_result <- TRUE");
|
||||
diffusion.getField().update(chem.GetField());
|
||||
diffusion.getField().update(chem.getField());
|
||||
|
||||
R["req_dt"] = dt;
|
||||
R["simtime"] = (sim_time += dt);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user