21 params.
set<std::string>(
"type") =
"ComponentGroup";
35 if (!dynamic_cast<THMMesh *>(
_mesh.get()))
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();
Specialization of FEProblem to run with component subsystem.
static InputParameters validParams()
AddComponentAction(const InputParameters ¶ms)
registerMooseAction("ThermalHydraulicsApp", AddComponentAction, "THM:add_component")
static InputParameters validParams()
std::shared_ptr< MooseMesh > & _mesh
virtual void addComponent(const std::string &type, const std::string &name, InputParameters params)
Add a component into this simulation.
InputParameters _moose_object_pars
void mooseError(Args &&... args) const
std::shared_ptr< FEProblemBase > & _problem
virtual void act() override
bool _group
True if building a component group.