|
Nektar++
|
The compressible Euler equations' inviscid trace flux. More...
#include <AdvTraceFluxCFEOp.hpp>
Public Member Functions | |
| 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 Public Member Functions | |
| 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. | |
Static Public Attributes | |
| static const std::string | name = "AdvTraceFluxCFE" |
Protected Member Functions | |
| AdvTraceFluxCFEOp (const MultiRegions::ExpListSharedPtr &expansionList, const std::vector< std::string > &components) | |
| ~AdvTraceFluxCFEOp () override=default | |
| 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 |
The compressible Euler equations' inviscid trace flux.
Holds the operator's registration name, which the generated factory declarations build their key from, the Create() a solver calls to ask for the implementation of a given Riemann solver and equation of state, and the single-shot evaluation below.
Definition at line 53 of file AdvTraceFluxCFEOp.hpp.
|
inlineprotected |
Definition at line 103 of file AdvTraceFluxCFEOp.hpp.
|
overrideprotecteddefault |
|
inline |
Apply the Riemann solve to trace states given directly; for the unit tests.
Runs the Riemann solve through the normals normals on fwd and bwd as supplied, writing flux. Unlike Apply() it neither gathers the states off the field nor scatters the result back, and it takes the normals it is given rather than the mesh's, which is what the Riemann unit tests need: a flux for a pair of states and a normal they chose. The name says who it is for; a solver applies the operator through Apply().
| normals | Normals on the trace, one component per coordinate. |
| fwd | Forward-side conserved states on the trace. |
| bwd | Backward-side conserved states on the trace. |
| flux | Flux on the trace, in Cartesian components. |
Definition at line 92 of file AdvTraceFluxCFEOp.hpp.
References Nektar::AdvTraceFluxCFEOp< TData >::v_ApplyUnitTest().
|
inlinestatic |
Create the implementation registered for solverType.
| expansionList | Expansion list the operator acts on. |
| components | Names of the field components. |
| solverType | Riemann solver and equation of state to use, as the generated registration spells them. |
| execStr | Execution space; empty takes the session's. |
Definition at line 65 of file AdvTraceFluxCFEOp.hpp.
References Nektar::AdvTraceFluxCFEOp< TData >::name.
Referenced by ApplyRiemannOperator(), and LaunchProfiler().
|
protectedpure virtual |
Referenced by Nektar::AdvTraceFluxCFEOp< TData >::ApplyUnitTest().
|
inlinestatic |
Definition at line 100 of file AdvTraceFluxCFEOp.hpp.
Referenced by Nektar::AdvTraceFluxCFEOp< TData >::Create().