OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
dofiditem.h
Go to the documentation of this file.
1 /*
2  *
3  * ##### ##### ###### ###### ### ###
4  * ## ## ## ## ## ## ## ### ##
5  * ## ## ## ## #### #### ## # ##
6  * ## ## ## ## ## ## ## ##
7  * ## ## ## ## ## ## ## ##
8  * ##### ##### ## ###### ## ##
9  *
10  *
11  * OOFEM : Object Oriented Finite Element Code
12  *
13  * Copyright (C) 1993 - 2013 Borek Patzak
14  *
15  *
16  *
17  * Czech Technical University, Faculty of Civil Engineering,
18  * Department of Structural Mechanics, 166 29 Prague, Czech Republic
19  *
20  * This library is free software; you can redistribute it and/or
21  * modify it under the terms of the GNU Lesser General Public
22  * License as published by the Free Software Foundation; either
23  * version 2.1 of the License, or (at your option) any later version.
24  *
25  * This program is distributed in the hope that it will be useful,
26  * but WITHOUT ANY WARRANTY; without even the implied warranty of
27  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
28  * Lesser General Public License for more details.
29  *
30  * You should have received a copy of the GNU Lesser General Public
31  * License along with this library; if not, write to the Free Software
32  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
33  */
34 
35 #ifndef dofiditemh
36 #define dofiditemh
37 
38 #include "enumitem.h"
39 
40 #include <string>
41 
42 namespace oofem {
43 #define DofIDItem_DEF \
44  ENUM_ITEM_WITH_VALUE(Undef, 0) /* Error value */ \
45  ENUM_ITEM_WITH_VALUE(D_u, 1) /* u-displacement (in direction of x-axis) */ \
46  ENUM_ITEM_WITH_VALUE(D_v, 2) /* v-displacement (in direction of y-axis) */ \
47  ENUM_ITEM_WITH_VALUE(D_w, 3) /* w-displacement (in direction of z-axis) */ \
48  ENUM_ITEM_WITH_VALUE(R_u, 4) /* Rotation around x-axis (right hand rule assumed) */ \
49  ENUM_ITEM_WITH_VALUE(R_v, 5) /* Rotation around y-axis */ \
50  ENUM_ITEM_WITH_VALUE(R_w, 6) /* Rotation around z-axis */ \
51  \
52  ENUM_ITEM_WITH_VALUE(V_u, 7) /* u-velocity (in direction of x-axis) */ \
53  ENUM_ITEM_WITH_VALUE(V_v, 8) /* v-velocity (in direction of y-axis) */ \
54  ENUM_ITEM_WITH_VALUE(V_w, 9) /* w-velocity (in direction of z-axis) */ \
55  \
56  ENUM_ITEM_WITH_VALUE(T_f, 10) /* Temperature field */ \
57  ENUM_ITEM_WITH_VALUE(P_f, 11) /* Pressure field */ \
58  ENUM_ITEM_WITH_VALUE(G_0, 12) /* DOF for gradient formulation no. 0 */ \
59  ENUM_ITEM_WITH_VALUE(G_1, 13) /* DOF for gradient formulation no. 1 */ \
60  ENUM_ITEM_WITH_VALUE(C_1, 14) /* Mass concentration of the first constituent */ \
61  ENUM_ITEM_WITH_VALUE(W_u, 15) /* u-component of change in director field (in direction of x-axis) */ \
62  ENUM_ITEM_WITH_VALUE(W_v, 16) /* v-component of change in director field (in direction of y-axis) */ \
63  ENUM_ITEM_WITH_VALUE(W_w, 17) /* w-component of change in director field (in direction of z-axis) */ \
64  ENUM_ITEM_WITH_VALUE(Gamma, 18) /* inhomogenous thickness strain in direction of the directorfield m */ \
65  ENUM_ITEM_WITH_VALUE(D_u_edge_const, 19) /* Constant part of boundary u-displacement used by Trefftz element*/ \
66  ENUM_ITEM_WITH_VALUE(D_u_edge_lin, 20) /* Linear part of boundary u-displacement used by Trefftz element*/ \
67  ENUM_ITEM_WITH_VALUE(D_v_edge_const, 21) /* Constant part of boundary v-displacement used by Trefftz element*/ \
68  ENUM_ITEM_WITH_VALUE(D_v_edge_lin, 22) /* Linear part of boundary v-displacement used by Trefftz element*/ \
69  ENUM_ITEM_WITH_VALUE(Warp_PsiTheta, 23) /* Relative twist times deplanation function, used by Trwarp element*/ \
70  ENUM_ITEM_WITH_VALUE(Warp_Theta, 24) /* Relative twist, used by Trwarp element*/ \
71  \
72  ENUM_ITEM_WITH_VALUE(LMP_u, 25) /* Lagrange multiplier in x-direction*/ \
73  ENUM_ITEM_WITH_VALUE(LMP_v, 26) /* Lagrange multiplier in y-direction*/ \
74  ENUM_ITEM_WITH_VALUE(LMP_w, 27) /* Lagrange multiplier in z-direction*/ \
75  \
76  ENUM_ITEM_WITH_VALUE(Trac_u, 28) /* Independent traction field in x-direction*/ \
77  ENUM_ITEM_WITH_VALUE(Trac_v, 29) /* Independent traction field in y-direction*/ \
78  ENUM_ITEM_WITH_VALUE(Trac_w, 30) /* Independent traction field in z-direction*/ \
79 
80 
86 enum DofIDItem {
88  MaxDofID = 500
89 };
90 
91 #undef ENUM_ITEM
92 #undef ENUM_ITEM_WITH_VALUE
93 #undef enumitem_h
94 
95 std :: string __DofIDItemToString(DofIDItem _value);
96 } // end namespace oofem
97 #endif // dofiditem_h
#define DofIDItem_DEF
Definition: dofiditem.h:43
DofIDItem
Type representing particular dof type.
Definition: dofiditem.h:86
std::string __DofIDItemToString(DofIDItem _value)
Definition: cltypes.C:330
the oofem namespace is to define a context or scope in which all oofem names are defined.

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:28 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011