suanPan
Loading...
Searching...
No Matches
SectionElement.h
Go to the documentation of this file.
1/*******************************************************************************
2 * Copyright (C) 2017-2023 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 SECTIONELEMENT_H
29#define SECTIONELEMENT_H
30
31#include <Element/Element.h>
32#include <Domain/DOF.h>
33
34using std::array;
35using std::vector;
36
37class SectionElement : public Element {
38public:
39 SectionElement(unsigned, // tag
40 unsigned, // number of nodes
41 unsigned, // number of dofs
42 uvec&&, // node encoding
43 uvec&&, // section tags
44 bool, // nonlinear geometry switch
45 SectionType, // section type
46 vector<DOF>&& // dof identifier
47 );
48};
49
51public:
52 SectionElement1D(unsigned, // tag
53 unsigned, // number of nodes
54 unsigned, // number of dofs
55 uvec&&, // node encoding
56 uvec&&, // section tags
57 bool, // nonlinear geometry switch
58 vector<DOF>&& // dof identifier
59 );
60};
61
63public:
64 SectionElement2D(unsigned, // tag
65 unsigned, // number of nodes
66 unsigned, // number of dofs
67 uvec&&, // node encoding
68 uvec&&, // section tags
69 bool, // nonlinear geometry switch
70 vector<DOF>&& = {DOF::U1, DOF::U2, DOF::UR3} // dof identifier
71 );
72};
73
75public:
76 SectionElement3D(unsigned, // tag
77 unsigned, // number of nodes
78 unsigned, // number of dofs
79 uvec&&, // node encoding
80 uvec&&, // section tags
81 bool, // nonlinear geometry switch
82 vector<DOF>&& = {DOF::U1, DOF::U2, DOF::U3, DOF::UR1, DOF::UR2, DOF::UR3} // dof identifier
83 );
84};
85
87public:
88 SectionNMElement2D(unsigned, // tag
89 unsigned, // number of nodes
90 unsigned, // number of dofs
91 uvec&&, // node encoding
92 uvec&&, // section tags
93 bool, // nonlinear geometry switch
94 vector<DOF>&& = {DOF::U1, DOF::U2, DOF::UR3} // dof identifier
95 );
96};
97
99public:
100 SectionNMElement3D(unsigned, // tag
101 unsigned, // number of nodes
102 unsigned, // number of dofs
103 uvec&&, // node encoding
104 uvec&&, // section tags
105 bool, // nonlinear geometry switch
106 vector<DOF>&& = {DOF::U1, DOF::U2, DOF::U3, DOF::UR1, DOF::UR2, DOF::UR3} // dof identifier
107 );
108};
109
110#endif
111
A Element class.
Definition: Element.h:92
Definition: SectionElement.h:50
Definition: SectionElement.h:62
Definition: SectionElement.h:74
The SectionElement class.
Definition: SectionElement.h:37
Definition: SectionElement.h:86
Definition: SectionElement.h:98
SectionType
Definition: Section.h:34