21 "Component using a mesh from a file with one or more Physics active on it.");
22 params.
addParam<std::vector<PhysicsName>>(
"physics",
"Physics object(s) active on the Component");
46 for (
const auto & physics_name : getParam<std::vector<PhysicsName>>(
"physics"))
registerMooseObject("ThermalHydraulicsApp", FileMeshPhysicsComponent)
T * getPhysics(const std::string &name) const
virtual void init()
Initializes the component.
virtual const std::vector< SubdomainName > & getSubdomainNames() const
Gets the subdomain names for this component.
void addRelationshipManagersFromParameters(const InputParameters &moose_object_pars)
Method to add a relationship manager for the objects being added to the system.
Loads a mesh from an ExodusII file without adding physics.
static InputParameters validParams()
Create a component with user-selected Physics active on it.
virtual void init() override
Initializes the component.
FileMeshPhysicsComponent(const InputParameters ¶meters)
virtual void addRelationshipManagers(Moose::RelationshipManagerType input_rm_type) override
Adds relationship managers for the component.
std::vector< PhysicsBase * > _physics
Physics that creates the equations on this component.
static InputParameters validParams()
ActionWarehouse & actionWarehouse()
static InputParameters validParams()