21 params.
set<std::string>(
"type") =
"ComponentGroup";
36 mooseError(
"The Components block cannot be used to add a Component in conjunction with the "
37 "Mesh block at this time");
46 std::vector<std::string> parts;
49 std::stringstream res;
50 std::copy(++parts.begin(), parts.end(), std::ostream_iterator<std::string>(res,
"/"));
52 std::string comp_name = res.str();
registerMooseAction("ThermalHydraulicsApp", AddComponentAction, "THM:add_component")
std::shared_ptr< MooseMesh > & _mesh
std::shared_ptr< FEProblemBase > & _problem
AddComponentAction(const InputParameters ¶ms)
bool _group
True if building a component group.
static InputParameters validParams()
virtual void act() override
void mooseError(Args &&... args) const
InputParameters _moose_object_pars
static InputParameters validParams()
virtual void addComponent(const std::string &type, const std::string &name, InputParameters params)
Add a component into this simulation.
Specialization of FEProblem to run with component subsystem.