Skip to content

Commit

Permalink
fix: missing get function readded
Browse files Browse the repository at this point in the history
  • Loading branch information
yoctoyotta1024 committed Apr 17, 2024
1 parent ee57948 commit b2aa300
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions examples/constthermo2d/src/main_const2D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Author: Clara Bayley (CB)
* Additional Contributors:
* -----
* Last Modified: Wednesday 17th April 2024
* Last Modified: Thursday 18th April 2024
* Modified By: CB
* -----
* License: BSD 3-Clause "New" or "Revised" License
Expand Down Expand Up @@ -68,7 +68,7 @@ inline CoupledDynamics auto create_coupldyn(const Config &config, const Cartesia

const auto nsteps = (unsigned int)(std::ceil(t_end / couplstep) + 1);

return FromFileDynamics(config, couplstep, ndims, nsteps);
return FromFileDynamics(config.get_fromfiledynamics(), couplstep, ndims, nsteps);
}

inline InitialConditions auto create_initconds(const Config &config) {
Expand Down
4 changes: 2 additions & 2 deletions examples/divfreemotion/src/main_divfree2D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Author: Clara Bayley (CB)
* Additional Contributors:
* -----
* Last Modified: Wednesday 17th April 2024
* Last Modified: Thursday 18th April 2024
* Modified By: CB
* -----
* License: BSD 3-Clause "New" or "Revised" License
Expand Down Expand Up @@ -62,7 +62,7 @@ inline CoupledDynamics auto create_coupldyn(const Config &config, const Cartesia

const auto nsteps = (unsigned int)(std::ceil(t_end / couplstep) + 1);

return FromFileDynamics(config, couplstep, ndims, nsteps);
return FromFileDynamics(config.get_fromfiledynamics(), couplstep, ndims, nsteps);
}

inline InitialConditions auto create_initconds(const Config &config) {
Expand Down
4 changes: 2 additions & 2 deletions examples/eurec4a1d/src/main_eurec4a1D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Author: Clara Bayley (CB)
* Additional Contributors:
* -----
* Last Modified: Wednesday 17th April 2024
* Last Modified: Thursday 18th April 2024
* Modified By: CB
* -----
* License: BSD 3-Clause "New" or "Revised" License
Expand Down Expand Up @@ -72,7 +72,7 @@ inline CoupledDynamics auto create_coupldyn(const Config &config, const Cartesia

const auto nsteps = (unsigned int)(std::ceil(t_end / couplstep) + 1);

return FromFileDynamics(config, couplstep, ndims, nsteps);
return FromFileDynamics(config.get_fromfiledynamics(), couplstep, ndims, nsteps);
}

inline InitialConditions auto create_initconds(const Config &config) {
Expand Down
4 changes: 2 additions & 2 deletions examples/rainshaft1d/src/main_rshaft1D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Author: Clara Bayley (CB)
* Additional Contributors:
* -----
* Last Modified: Wednesday 17th April 2024
* Last Modified: Thursday 18th April 2024
* Modified By: CB
* -----
* License: BSD 3-Clause "New" or "Revised" License
Expand Down Expand Up @@ -68,7 +68,7 @@ inline CoupledDynamics auto create_coupldyn(const Config &config, const Cartesia

const auto nsteps = (unsigned int)(std::ceil(t_end / couplstep) + 1);

return FromFileDynamics(config, couplstep, ndims, nsteps);
return FromFileDynamics(config.get_fromfiledynamics(), couplstep, ndims, nsteps);
}

inline InitialConditions auto create_initconds(const Config &config) {
Expand Down
4 changes: 2 additions & 2 deletions examples/speedtest/src/main_spdtest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Author: Clara Bayley (CB)
* Additional Contributors:
* -----
* Last Modified: Wednesday 17th April 2024
* Last Modified: Thursday 18th April 2024
* Modified By: CB
* -----
* License: BSD 3-Clause "New" or "Revised" License
Expand Down Expand Up @@ -71,7 +71,7 @@ inline CoupledDynamics auto create_coupldyn(const Config &config, const Cartesia

const auto nsteps = (unsigned int)(std::ceil(t_end / couplstep) + 1);

return FromFileDynamics(config, couplstep, ndims, nsteps);
return FromFileDynamics(config.get_fromfiledynamics(), couplstep, ndims, nsteps);
}

inline InitialConditions auto create_initconds(const Config &config) {
Expand Down
4 changes: 2 additions & 2 deletions examples/yac/fromfile/src/main_yac1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Author: Clara Bayley (CB)
* Additional Contributors:
* -----
* Last Modified: Wednesday 17th April 2024
* Last Modified: Thursday 18th April 2024
* Modified By: CB
* -----
* License: BSD 3-Clause "New" or "Revised" License
Expand Down Expand Up @@ -63,7 +63,7 @@ inline CoupledDynamics auto create_coupldyn(const Config &config, const Cartesia

const auto nsteps = (unsigned int)(std::ceil(t_end / couplstep) + 1);

return FromFileDynamics(config, couplstep, ndims, nsteps);
return FromFileDynamics(config.get_fromfiledynamics(), couplstep, ndims, nsteps);
}

inline InitialConditions auto create_initconds(const Config &config) {
Expand Down

0 comments on commit b2aa300

Please sign in to comment.