38#include <SolverCore/TraceFlux/TraceFluxOp.hpp>
52template <
typename TData>
65 static std::shared_ptr<AdvTraceFluxCFEOp<TData>>
Create(
67 const std::vector<std::string> &components,
68 const std::string &solverType =
"",
const std::string &execStr =
"")
70 return std::dynamic_pointer_cast<AdvTraceFluxCFEOp<TData>>(
72 name + solverType, execStr));
100 static inline const std::string
name =
"AdvTraceFluxCFE";
104 const std::vector<std::string> &components)
105 : SolverCore::
TraceFluxOp<TData>(expansionList, components)
The compressible Euler equations' inviscid trace flux.
void ApplyUnitTest(LibUtilities::Field< TData, FieldState::Phys > &normals, LibUtilities::Field< TData, FieldState::Phys > &fwd, LibUtilities::Field< TData, FieldState::Phys > &bwd, LibUtilities::Field< TData, FieldState::Phys > &flux)
Apply the Riemann solve to trace states given directly; for the unit tests.
static const std::string name
static std::shared_ptr< AdvTraceFluxCFEOp< TData > > Create(const MultiRegions::ExpListSharedPtr &expansionList, const std::vector< std::string > &components, const std::string &solverType="", const std::string &execStr="")
Create the implementation registered for solverType.
AdvTraceFluxCFEOp(const MultiRegions::ExpListSharedPtr &expansionList, const std::vector< std::string > &components)
virtual void v_ApplyUnitTest(LibUtilities::Field< TData, FieldState::Phys > &normals, LibUtilities::Field< TData, FieldState::Phys > &fwd, LibUtilities::Field< TData, FieldState::Phys > &bwd, LibUtilities::Field< TData, FieldState::Phys > &flux)=0
~AdvTraceFluxCFEOp() override=default
A Field represents expansion data to be operated on.
std::shared_ptr< ExpList > ExpListSharedPtr
Shared pointer to an ExpList object.