29 const std::string comp_name = connection._component_name;
30 if (hasComponentByName<FlowChannel1Phase>(comp_name))
46 checkComponentOfTypeExistsByName<FlowChannel1Phase>(comp_name);
THMProblem & getTHMProblem() const
Gets the THM problem.
virtual void init() override
Initializes the component.
virtual void init() override
Initializes the component.
std::vector< Connection > _connections
Vector of connections of this component.
virtual void check() const override
Check the component integrity.
const UserObjectName & getNumericalFluxUserObjectName() const
Gets the numerical flux user object name.
Single-component, single-phase flow channel.
std::vector< std::string > _connected_component_names
Vector of connected component names.
std::vector< UserObjectName > _numerical_flux_names
FlowJunction1Phase(const InputParameters ¶ms)
Base class for flow junctions.
static InputParameters validParams()
const T & getComponentByName(const std::string &name) const
Get component by its name.
static InputParameters validParams()
virtual void check() const override
Check the component integrity.