35#ifndef NEKTAR_SOLVERUTILS_ADVECTIONSYSTEM_H
36#define NEKTAR_SOLVERUTILS_ADVECTIONSYSTEM_H
63 const bool FlagAcousticCFL =
true);
74 [[maybe_unused]]
const NekDouble SpeedSoundFactor = 1.0)
77 "v_GetMaxStdVelocity is not implemented by the base class.");
#define ASSERTL0(condition, msg)
#define SOLVER_UTILS_EXPORT
A base class for PDEs which include an advection component.
SolverUtils::AdvectionSharedPtr m_advObject
Advection term.
SOLVER_UTILS_EXPORT NekDouble GetCFLEstimate(int &elmtid)
SOLVER_UTILS_EXPORT Array< OneD, NekDouble > GetElmtCFLVals(const bool FlagAcousticCFL=true)
virtual SOLVER_UTILS_EXPORT Array< OneD, NekDouble > v_GetMaxStdVelocity(const NekDouble SpeedSoundFactor=1.0)
SOLVER_UTILS_EXPORT void v_InitObject(bool DeclareField=true) override
Initialisation object for EquationSystem.
int m_cflWriteFldWaitSteps
Number of timesteps after which IO_CFLWriteFld is activated.
SOLVER_UTILS_EXPORT AdvectionSharedPtr GetAdvObject()
Returns the advection object held by this instance.
NekDouble m_cflWriteFld
Write field if cfl is higher than IO_CFLWriteFld treshold.
SOLVER_UTILS_EXPORT AdvectionSystem(const LibUtilities::SessionReaderSharedPtr &pSession, const SpatialDomains::MeshGraphSharedPtr &pGraph)
SOLVER_UTILS_EXPORT bool v_PostIntegrate(int step) override
SOLVER_UTILS_EXPORT ~AdvectionSystem() override
int m_cflsteps
Dump cfl estimate.
Base class for unsteady solvers.
std::shared_ptr< SessionReader > SessionReaderSharedPtr
std::shared_ptr< AdvectionSystem > AdvectionSystemSharedPtr
Shared pointer to an AdvectionSystem class.
std::shared_ptr< Advection > AdvectionSharedPtr
A shared pointer to an Advection object.
std::shared_ptr< MeshGraph > MeshGraphSharedPtr