18 #define registerComponent(name) registerObject(name) 19 #define registerNamedComponent(obj, name) registerNamedObject(obj, name) 20 #define registerControl(name) registerObject(name) 21 #define registerNamedControl(obj, name) registerNamedObject(obj, name) 23 #define registerFlowModel(id, class_name) \ 24 _flow_model_map.insert(std::pair<THM::FlowModelID, std::string>(id, stringifyName(class_name)));
static std::map< THM::FlowModelID, std::string > _flow_model_map
Map from flow model ID to flow model instance.
ThermalHydraulicsApp(const InputParameters ¶meters)
static InputParameters validParams()
Main class for simulation (the driver of the simulation)
static const size_t MAX_VARIABLE_LENGTH
const InputParameters & parameters()
FlowModelID registerFlowModelID()
Register a new flow mode type and return its ID.
Real f(Real x)
Test function for Brents method.
FlowModelID FM_SINGLE_PHASE
static void registerApps()
FlowModelID FM_TWO_PHASE_NCG
virtual ~ThermalHydraulicsApp()
const std::string & getFlowModelClassName(const THM::FlowModelID &flow_model_id)
Deprecated Methods.
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)