suanPan
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
33class MaterialElement : public Element {
34public:
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<DOF>&& // dof identifier
44 );
45};
46
48public:
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<DOF>&& // dof identifier
57 );
58};
59
61public:
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<DOF>&& = {} // dof identifier
70 );
71};
72
74public:
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<DOF>&& = {DOF::U1, DOF::U2, DOF::U3} // dof identifier
83 );
84};
85
86#endif
87
A Element class.
Definition Element.h:118
Definition MaterialElement.h:47
Definition MaterialElement.h:60
Definition MaterialElement.h:73
The MaterialElement class.
Definition MaterialElement.h:33
MaterialType
Definition Material.h:39