Skip to content

Commit

Permalink
Update EqnSysBase::v_DoInitialise signature to work with new nektar v…
Browse files Browse the repository at this point in the history
…ersion. (#242)
  • Loading branch information
oparry-ukaea authored May 15, 2024
1 parent 0736f50 commit 3848dbd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions include/nektar_interface/solver_base/eqnsys_base.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,16 @@ class EqnSysBase : public NEKEQNSYS {
/** @brief Write particle params to stdout on task 0. Ensures they appear just
* after fluid params are written by nektar.
*
* @param dump_initial_conditions Write initial conditions to file?
* default=true
*
* */
virtual void v_DoInitialise() override {
virtual void v_DoInitialise(bool dump_initial_conditions) override {
if (this->m_session->GetComm()->TreatAsRankZero() &&
this->particles_enabled) {
particle_sys->add_params_report();
}
NEKEQNSYS::v_DoInitialise();
NEKEQNSYS::v_DoInitialise(dump_initial_conditions);
}

/**
Expand Down

0 comments on commit 3848dbd

Please sign in to comment.