Base class for boundary components connected to 1D components.
std::string _connected_component_name
Name of the connected component.
virtual void check() const override
Check the component integrity.
static InputParameters validParams()
std::vector< Connection > _connections
Vector of connections of this component.
virtual void init()
Initializes the component.
THMProblem & getTHMProblem() const
Gets the THM problem.
@ INITIALIZED_PRIMARY
mesh set up, called primary init
void checkSetupStatus(const EComponentSetupStatus &status) const
Throws an error if the supplied setup status of this component has not been reached.
const UserObjectName & getFluidPropertiesName() const
Gets the name of fluid properties used in all flow connections.
UserObjectName _fp_name
Fluid property user object name.
std::shared_ptr< const FlowModel > _flow_model
Flow model.
static InputParameters validParams()
virtual void init() override
Initializes the component.
THM::FlowModelID _flow_model_id
Flow model ID.
virtual void check() const override
Check the component integrity.
FlowBoundary(const InputParameters ¶ms)
A base class for flow channels.
const UserObjectName & getFluidPropertiesName() const
Gets the name of the fluid properties user object for this component.
virtual std::shared_ptr< const FlowModel > getFlowModel() const
virtual const THM::FlowModelID & getFlowModelID() const =0
Gets the flow model ID.
const T & getComponentByName(const std::string &name) const
Get component by its name.