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