28 const std::vector<dof_id_type> & node_ids)
73 auto elem =
mesh().
addElementQuad9(node0, node1, node2, node3, node4, node5, node6, node7, node8);
81 const FunctionName & fn_name = getParam<FunctionName>(fn_param_name);
84 if (dynamic_cast<const ConstantFunction *>(&fn) !=
nullptr)
86 connectObject(fn.parameters(), fn_name, fn_param_name,
"value");
Elem * addElementEdge2(dof_id_type node0, dof_id_type node1)
static InputParameters validParams()
THMProblem & getTHMProblem() const
Gets the THM problem.
const FunctionName & getVariableFn(const FunctionName &fn_param_name)
Makes a constant function parameter controllable and returns its name.
Elem * addElementEdge2(dof_id_type node0, dof_id_type node1)
Elem * addElement(libMesh::ElemType elem_type, const std::vector< dof_id_type > &node_ids)
Elem * addElementEdge3(dof_id_type node0, dof_id_type node1, dof_id_type node2)
static InputParameters validParams()
std::vector< dof_id_type > _elem_ids
Element IDs of this component.
virtual Function & getFunction(const std::string &name, const THREAD_ID tid=0)
Elem * addElementQuad4(dof_id_type node0, dof_id_type node1, dof_id_type node2, dof_id_type node3)
Elem * addElement(libMesh::ElemType elem_type, const std::vector< dof_id_type > &node_ids)
Add a new element into the mesh.
Elem * addElementQuad9(dof_id_type node0, dof_id_type node1, dof_id_type node2, dof_id_type node3, dof_id_type node4, dof_id_type node5, dof_id_type node6, dof_id_type node7, dof_id_type node8)
Base class for THM components.
Elem * addElementEdge3(dof_id_type node0, dof_id_type node1, dof_id_type node2)
THMMesh & mesh()
Non-const reference to THM mesh, which can only be called before the end of mesh setup.
GeometricalComponent(const InputParameters ¶meters)
Elem * addElementQuad4(dof_id_type node0, dof_id_type node1, dof_id_type node2, dof_id_type node3)
void connectObject(const InputParameters ¶ms, const std::string &mooseName, const std::string &name) const
Connect with control logic.
Elem * addElementQuad9(dof_id_type node0, dof_id_type node1, dof_id_type node2, dof_id_type node3, dof_id_type node4, dof_id_type node5, dof_id_type node6, dof_id_type node7, dof_id_type node8)