suanPan
🧮 An Open Source, Parallel and Heterogeneous Finite Element Analysis Framework
Loading...
Searching...
No Matches
MaterialElement.h
Go to the documentation of this file.
1
/*******************************************************************************
2
* Copyright (C) 2017-2026 Theodore Chang
3
*
4
* This program is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation, either version 3 of the License, or
7
* (at your option) any later version.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program. If not, see <http://www.gnu.org/licenses/>.
16
******************************************************************************/
28
#ifndef MATERIALELEMENT_H
29
#define MATERIALELEMENT_H
30
31
#include <
Element/Element.h
>
32
33
class
MaterialElement
:
public
Element
{
34
public
:
35
MaterialElement
(
36
unsigned
,
// tag
37
unsigned
,
// number of nodes
38
unsigned
,
// number of dofs
39
uvec
&&,
// node encoding
40
uvec
&&,
// material tags
41
bool
,
// nonlinear geometry switch
42
MaterialType
,
// material type
43
std::vector<Node::DOF>&&
// dof identifier
44
);
45
};
46
47
class
MaterialElement1D
:
public
MaterialElement
{
48
public
:
49
MaterialElement1D
(
50
unsigned
,
// tag
51
unsigned
,
// number of nodes
52
unsigned
,
// number of dofs
53
uvec
&&,
// node encoding
54
uvec
&&,
// material tags
55
bool
,
// nonlinear geometry switch
56
std::vector<Node::DOF>&&
// dof identifier
57
);
58
};
59
60
class
MaterialElement2D
:
public
MaterialElement
{
61
public
:
62
MaterialElement2D
(
63
unsigned
,
// tag
64
unsigned
,
// number of nodes
65
unsigned
,
// number of dofs
66
uvec
&&,
// node encoding
67
uvec
&&,
// material tags
68
bool
,
// nonlinear geometry switch
69
std::vector<Node::DOF>&&
// dof identifier
70
);
71
};
72
73
class
MaterialElement3D
:
public
MaterialElement
{
74
public
:
75
MaterialElement3D
(
76
unsigned
,
// tag
77
unsigned
,
// number of nodes
78
unsigned
,
// number of dofs
79
uvec
&&,
// node encoding
80
uvec
&&,
// material tags
81
bool
,
// nonlinear geometry switch
82
std::vector<Node::DOF>&& = {
Node::DOF::U1
,
Node::DOF::U2
,
Node::DOF::U3
}
// dof identifier
83
);
84
};
85
86
#endif
87
Element.h
Element
A Element class.
Definition
Element.h:118
MaterialElement1D
Definition
MaterialElement.h:47
MaterialElement2D
Definition
MaterialElement.h:60
MaterialElement3D
Definition
MaterialElement.h:73
MaterialElement
The MaterialElement class.
Definition
MaterialElement.h:33
Node::DOF::U2
@ U2
Node::DOF::U3
@ U3
Node::DOF::U1
@ U1
uvec
MaterialType
MaterialType
Definition
Material.h:37
Element
MaterialElement.h
Generated by
1.9.8