https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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{
20public:
22
23protected:
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 *
28 addElementQuad4(dof_id_type node0, dof_id_type node1, dof_id_type node2, dof_id_type node3);
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
46public:
48};
Base class for THM components.
Definition Component.h:32
Intermediate class for components that have mesh.
Elem * addElementEdge3(dof_id_type node0, dof_id_type node1, dof_id_type node2)
static InputParameters validParams()
Elem * addElementQuad4(dof_id_type node0, dof_id_type node1, dof_id_type node2, dof_id_type node3)
Elem * addElementEdge2(dof_id_type node0, dof_id_type node1)
const FunctionName & getVariableFn(const FunctionName &fn_param_name)
Makes a constant function parameter controllable and returns its name.
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)
Elem * addElement(libMesh::ElemType elem_type, const std::vector< dof_id_type > &node_ids)
const InputParameters & parameters() const