From 3848dbdbc9d4903b52c70cdc377fcdc4418b5438 Mon Sep 17 00:00:00 2001 From: Owen Parry <101191772+oparry-ukaea@users.noreply.github.com> Date: Wed, 15 May 2024 15:21:21 +0100 Subject: [PATCH] Update EqnSysBase::v_DoInitialise signature to work with new nektar version. (#242) --- include/nektar_interface/solver_base/eqnsys_base.hpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/nektar_interface/solver_base/eqnsys_base.hpp b/include/nektar_interface/solver_base/eqnsys_base.hpp index e1e9b222..1404ecb4 100644 --- a/include/nektar_interface/solver_base/eqnsys_base.hpp +++ b/include/nektar_interface/solver_base/eqnsys_base.hpp @@ -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); } /**