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)));
Real f(Real x)
Test function for Brents method.
const InputParameters & parameters() const
Main class for simulation (the driver of the simulation)
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
static void registerApps()
static InputParameters validParams()
virtual ~ThermalHydraulicsApp()
static std::map< THM::FlowModelID, std::string > _flow_model_map
Map from flow model ID to flow model instance.
const std::string & getFlowModelClassName(const THM::FlowModelID &flow_model_id)
Get the class name of a flow model corresponding to the flow model ID.
static const size_t MAX_VARIABLE_LENGTH
FlowModelID FM_SINGLE_PHASE
FlowModelID registerFlowModelID()
Register a new flow mode type and return its ID.
FlowModelID FM_TWO_PHASE_NCG