Nektar++
Loading...
Searching...
No Matches
Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
Nektar::AdvDiffCFEVolFluxOp< TData > Class Template Reference

The Navier-Stokes volume flux with the viscous flux on its own (see SolverCore::AdvDiffVolumeFluxOp): the viscous flux and the viscous minus the Euler flux, formed together in one pass over the state and its gradient. More...

#include <AdvDiffCFEVolFluxOp.hpp>

Inheritance diagram for Nektar::AdvDiffCFEVolFluxOp< TData >:
[legend]

Static Public Member Functions

static std::shared_ptr< AdvDiffCFEVolFluxOp< TData > > Create (const MultiRegions::ExpListSharedPtr &expansionList, const std::vector< std::string > &components, const std::string &execStr="")
 

Static Public Attributes

static const std::string name = "AdvDiffCFEVolFlux"
 

Protected Member Functions

 AdvDiffCFEVolFluxOp (const MultiRegions::ExpListSharedPtr &expansionList, const std::vector< std::string > &components)
 
 ~AdvDiffCFEVolFluxOp () override=default
 

Detailed Description

template<typename TData>
class Nektar::AdvDiffCFEVolFluxOp< TData >

The Navier-Stokes volume flux with the viscous flux on its own (see SolverCore::AdvDiffVolumeFluxOp): the viscous flux and the viscous minus the Euler flux, formed together in one pass over the state and its gradient.

Definition at line 51 of file AdvDiffCFEVolFluxOp.hpp.

Constructor & Destructor Documentation

◆ AdvDiffCFEVolFluxOp()

template<typename TData >
Nektar::AdvDiffCFEVolFluxOp< TData >::AdvDiffCFEVolFluxOp ( const MultiRegions::ExpListSharedPtr &  expansionList,
const std::vector< std::string > &  components 
)
inlineprotected

Definition at line 80 of file AdvDiffCFEVolFluxOp.hpp.

82 : SolverCore::AdvDiffVolumeFluxOp<TData>(expansionList, components)
83 {
84 }

◆ ~AdvDiffCFEVolFluxOp()

template<typename TData >
Nektar::AdvDiffCFEVolFluxOp< TData >::~AdvDiffCFEVolFluxOp ( )
overrideprotecteddefault

Member Function Documentation

◆ Create()

template<typename TData >
static std::shared_ptr< AdvDiffCFEVolFluxOp< TData > > Nektar::AdvDiffCFEVolFluxOp< TData >::Create ( const MultiRegions::ExpListSharedPtr &  expansionList,
const std::vector< std::string > &  components,
const std::string &  execStr = "" 
)
inlinestatic

Definition at line 54 of file AdvDiffCFEVolFluxOp.hpp.

58 {
59 std::string EoSName;
60
61 if (expansionList->GetSession()->DefinesEquationOfState())
62 {
64 expansionList->GetSession()->GetEquationOfState().type);
65 }
66 else
67 {
69 "No EquationOfState section defined in session file");
70 }
71
72 return std::dynamic_pointer_cast<AdvDiffCFEVolFluxOp<TData>>(
73 SolverCore::AdvDiffVolumeFluxOp<TData>::Create(
74 expansionList, components, name + EoSName, execStr));
75 }
#define NEKERROR(type, msg)
Assert Level 0 – Fundamental assert which is used whether in FULLDEBUG, DEBUG or OPT compilation mode...
static const std::string name
std::string ToUpperCopy(std::string str)

References Nektar::ErrorUtil::efatal, Nektar::AdvDiffCFEVolFluxOp< TData >::name, NEKERROR, and Nektar::StringUtils::ToUpperCopy().

Member Data Documentation

◆ name

template<typename TData >
const std::string Nektar::AdvDiffCFEVolFluxOp< TData >::name = "AdvDiffCFEVolFlux"
inlinestatic