39#include <SolverCore/EquationSystems/UnsteadySystem.h>
43template <
typename TData>
class CFLVelocityCFEOp;
47template <
typename TData>
class IProductWRTBaseOp;
48template <
typename TData>
class MultiplyByElmtInvMassOp;
53template <
typename TData>
class AdvectionWeakDGOp;
56using namespace SolverCore;
57using namespace MultiRegions;
59class EulerCFE :
public UnsteadySystem
62 friend class MemoryManager<
EulerCFE>;
98 [[maybe_unused]]
const double &time,
99 [[maybe_unused]]
const double &factor);
void SetUpBoundaryConditions()
Attach the boundary conditions this system supports.
void DoProjection(LibUtilities::Field< double, FieldState::Phys > &in, LibUtilities::Field< double, FieldState::Phys > &out, const double &time)
Project onto the solution space, which for DG is a copy.
static EquationSystemSharedPtr create(const LibUtilities::SessionReaderSharedPtr &pSession, const SpatialDomains::MeshGraphSharedPtr &pGraph)
Creates an instance of this class.
CoefficientFieldViews v_GetOutputFieldViews() override
Project the solution to coefficients and return views of them.
void DoAdvection(LibUtilities::Field< double, FieldState::Phys > &in, LibUtilities::Field< double, FieldState::Phys > &out, const double &time, const double &factor)
CFLVelocity v_GetCFLVelocity() override
Supply the Courant estimate with the compressible wave speed.
LibUtilities::Field< double, FieldState::Phys > m_cflVelocity
std::shared_ptr< AdvectionWeakDGOp< double > > m_advectionWeakDGOp
static std::string className
Name of class.
std::shared_ptr< CFLVelocityCFEOp< double > > m_cflVelocityOp
std::shared_ptr< IProductWRTBaseOp< double > > m_iProductWRTBaseOp
void LoadSessionParameters()
void v_InitialiseOperators() override
~EulerCFE() override=default
EulerCFE(const LibUtilities::SessionReaderSharedPtr &pSession, const SpatialDomains::MeshGraphSharedPtr &pGraph)
std::shared_ptr< MultiplyByElmtInvMassOp< double > > m_multiplyByElmtInvMassOp
void v_GenerateSummary(SummaryList &s) override
Print a summary of time stepping parameters.
void v_InitObject(bool declareExpansionLists=true) override
Initialization object for CompressibleFlowSystem class.
A Field represents expansion data to be operated on.
static std::shared_ptr< DataType > AllocateSharedPtr(const Args &...args)
Allocate a shared pointer from the memory pool.
std::shared_ptr< SessionReader > SessionReaderSharedPtr
std::vector< std::pair< std::string, std::string > > SummaryList
std::shared_ptr< EquationSystem > EquationSystemSharedPtr
A shared pointer to an EquationSystem object.
std::shared_ptr< MeshGraph > MeshGraphSharedPtr