39#include <SolverCore/BndCond/BndCondUpdateOp.hpp>
54template <
typename TData>
58 static std::shared_ptr<BndCondPressureOutflowCFEOp<TData>>
Create(
60 const std::vector<std::string> &components,
61 const std::string &execStr =
"")
65 if (expansionList->GetSession()->DefinesEquationOfState())
68 expansionList->GetSession()->GetEquationOfState().type);
73 "No EquationOfState section defined in session file");
79 const std::string execStr0 =
81 expansionList->GetSession())
84 const std::string requestedKey =
name + EoSName + execStr0;
87 MultiRegions::GetOperatorFactory<TData>();
91 std::stringstream msg;
92 msg <<
"No such operator: " << requestedKey << std::endl;
97 return std::static_pointer_cast<BndCondPressureOutflowCFEOp<TData>>(
101 static inline const std::string
name =
"BndCondPressureOutflowCFE";
106 const std::vector<std::string> &components)
107 : 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...
Subsonic pressure outflow, as a boundary state.
BndCondPressureOutflowCFEOp(const MultiRegions::ExpListSharedPtr &expansionList, const std::vector< std::string > &components)
~BndCondPressureOutflowCFEOp() override=default
static const std::string name
static std::shared_ptr< BndCondPressureOutflowCFEOp< TData > > Create(const MultiRegions::ExpListSharedPtr &expansionList, const std::vector< std::string > &components, const std::string &execStr="")
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)