suanPan
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
Variables
Typedefs
Concepts
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Related Symbols
c
g
o
p
s
t
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Variables
s
Typedefs
a
b
c
d
e
g
i
l
m
n
o
r
s
t
Enumerations
Enumerator
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Concepts
Loading...
Searching...
No Matches
MaterialElement.h
Go to the documentation of this file.
1
/*******************************************************************************
2
* Copyright (C) 2017-2025 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
#include <
Domain/DOF.h
>
33
34
using
std::array;
35
using
std::vector;
36
37
class
MaterialElement
:
public
Element
{
38
public
:
39
MaterialElement
(
40
unsigned
,
// tag
41
unsigned
,
// number of nodes
42
unsigned
,
// number of dofs
43
uvec&&,
// node encoding
44
uvec&&,
// material tags
45
bool
,
// nonlinear geometry switch
46
MaterialType
,
// material type
47
vector<DOF>&&
// dof identifier
48
);
49
};
37
class
MaterialElement
:
public
Element
{
…
};
50
51
class
MaterialElement1D
:
public
MaterialElement
{
52
public
:
53
MaterialElement1D
(
54
unsigned
,
// tag
55
unsigned
,
// number of nodes
56
unsigned
,
// number of dofs
57
uvec&&,
// node encoding
58
uvec&&,
// material tags
59
bool
,
// nonlinear geometry switch
60
vector<DOF>&&
// dof identifier
61
);
62
};
51
class
MaterialElement1D
:
public
MaterialElement
{
…
};
63
64
class
MaterialElement2D
:
public
MaterialElement
{
65
public
:
66
MaterialElement2D
(
67
unsigned
,
// tag
68
unsigned
,
// number of nodes
69
unsigned
,
// number of dofs
70
uvec&&,
// node encoding
71
uvec&&,
// material tags
72
bool
,
// nonlinear geometry switch
73
vector<DOF>&& = {}
// dof identifier
74
);
75
};
64
class
MaterialElement2D
:
public
MaterialElement
{
…
};
76
77
class
MaterialElement3D
:
public
MaterialElement
{
78
public
:
79
MaterialElement3D
(
80
unsigned
,
// tag
81
unsigned
,
// number of nodes
82
unsigned
,
// number of dofs
83
uvec&&,
// node encoding
84
uvec&&,
// material tags
85
bool
,
// nonlinear geometry switch
86
vector<DOF>&& = {
DOF::U1
,
DOF::U2
,
DOF::U3
}
// dof identifier
87
);
88
};
77
class
MaterialElement3D
:
public
MaterialElement
{
…
};
89
90
#endif
91
DOF.h
Element.h
Element
A Element class.
Definition
Element.h:117
MaterialElement1D
Definition
MaterialElement.h:51
MaterialElement2D
Definition
MaterialElement.h:64
MaterialElement3D
Definition
MaterialElement.h:77
MaterialElement
The MaterialElement class.
Definition
MaterialElement.h:37
MaterialType
MaterialType
Definition
Material.h:34
DOF::U2
@ U2
DOF::U3
@ U3
DOF::U1
@ U1
Element
MaterialElement.h
Generated by
1.9.8