39#include <SolverCore/BndCond/BndCondUpdateOp.hpp>
71template <
typename TData>
76 static std::shared_ptr<BndCondWallCFEOp<TData>>
Create(
78 const std::vector<std::string> &components,
79 const std::string &execStr =
"")
83 if (expansionList->GetSession()->DefinesEquationOfState())
86 expansionList->GetSession()->GetEquationOfState().type);
91 "No EquationOfState section defined in session file");
97 const std::string execStr0 =
99 expansionList->GetSession())
102 const std::string requestedKey =
name + EoSName + execStr0;
105 MultiRegions::GetOperatorFactory<TData>();
109 std::stringstream msg;
110 msg <<
"No such operator: " << requestedKey << std::endl;
115 return std::static_pointer_cast<BndCondWallCFEOp<TData>>(
119 static inline const std::string
name =
"BndCondWallCFE";
123 const std::vector<std::string> &components)
124 : SolverCore::BndCondUpdateOp<TData>(expansionList, components)
#define NEKERROR(type, msg)
Assert Level 0 – Fundamental assert which is used whether in FULLDEBUG, DEBUG or OPT compilation mode...
Viscous wall states for the compressible flow solver.
static std::shared_ptr< BndCondWallCFEOp< TData > > Create(const MultiRegions::ExpListSharedPtr &expansionList, const std::vector< std::string > &components, const std::string &execStr="")
BndCondWallCFEOp(const MultiRegions::ExpListSharedPtr &expansionList, const std::vector< std::string > &components)
~BndCondWallCFEOp() override=default
static const std::string name
bool ModuleExists(tKey idKey)
Checks if a particular module is available.
tBasePtr CreateInstance(tKey idKey, tParam... args)
Create an instance of the class referred to by idKey.
void PrintAvailableClasses(std::ostream &pOut=std::cout)
Prints the available classes to stdout.
Common base class of the operator family interfaces: holds the expansion list, component names and da...
std::shared_ptr< ExpList > ExpListSharedPtr
Shared pointer to an ExpList object.
std::string ToUpperCopy(std::string str)