https://mooseframework.inl.gov
GeometricalComponent.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "Component.h"
13 #include "libmesh/enum_elem_type.h"
14 
19 {
20 public:
22 
23 protected:
24  Elem * addElement(libMesh::ElemType elem_type, const std::vector<dof_id_type> & node_ids);
25  Elem * addElementEdge2(dof_id_type node0, dof_id_type node1);
26  Elem * addElementEdge3(dof_id_type node0, dof_id_type node1, dof_id_type node2);
27  Elem *
29  Elem * addElementQuad9(dof_id_type node0,
30  dof_id_type node1,
31  dof_id_type node2,
32  dof_id_type node3,
33  dof_id_type node4,
34  dof_id_type node5,
35  dof_id_type node6,
36  dof_id_type node7,
37  dof_id_type node8);
38 
44  const FunctionName & getVariableFn(const FunctionName & fn_param_name);
45 
46 public:
48 };
Elem * addElementEdge2(dof_id_type node0, dof_id_type node1)
static InputParameters validParams()
const FunctionName & getVariableFn(const FunctionName &fn_param_name)
Makes a constant function parameter controllable and returns its name.
Elem * addElement(libMesh::ElemType elem_type, const std::vector< dof_id_type > &node_ids)
Base class for THM components.
Definition: Component.h:27
Elem * addElementEdge3(dof_id_type node0, dof_id_type node1, dof_id_type node2)
GeometricalComponent(const InputParameters &parameters)
Elem * addElementQuad4(dof_id_type node0, dof_id_type node1, dof_id_type node2, dof_id_type node3)
Intermediate class for components that have mesh.
const InputParameters & parameters() const
uint8_t dof_id_type
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)