FEI Package Browser (Single Doxygen Collection)  Version of the Day
fei_constants.hpp
Go to the documentation of this file.
1 #ifndef _fei_constants_hpp_
2 #define _fei_constants_hpp_
3 
4 /*
5  In this file we define some constants to use as parameters to
6  some fei functions.
7  These constants are primarily used as 'fieldType' arguments to
8  fei::VectorSpace::defineFields and FEI::initFields.
9  If defining a vector-field for displacement, use DISPLACEMENT. If
10  defining separate scalar fields for the components of displacement,
11  then use DISPLACEMENT_X, etc.
12  Most of the names below are self-explanatory. PRESSURE refers to either
13  a vector-field for pressure, a nodal pressure variable, or the constant
14  coefficient for a pressure field that is discontinuous in each element.
15  PRESSURE_X, PRESSURE_Y, and PRESSURE_Z refer to the X, Y, and Z coefficients
16  for a linearly varying pressure field defined separately in each element.
17 */
18 
19 namespace fei {
20 
21 const int DISPLACEMENT = 0;
22 const int DISPLACEMENT_X = 0;
23 const int DISPLACEMENT_Y = 1;
24 const int DISPLACEMENT_Z = 2;
25 const int ROTATION = 3;
26 const int ROTATION_X = 3;
27 const int ROTATION_Y = 4;
28 const int ROTATION_Z = 5;
29 const int VELOCITY = 6;
30 const int VELOCITY_X = 6;
31 const int VELOCITY_Y = 7;
32 const int VELOCITY_Z = 8;
33 const int PRESSURE = 9;
34 const int PRESSURE_X = 10;
35 const int PRESSURE_Y = 11;
36 const int PRESSURE_Z = 12;
37 const int TEMPERATURE = 13;
38 
39 const int UNKNOWN = 20;
40 
41 }//namespace fei
42 
43 #endif
44 
fei::PRESSURE_Z
const int PRESSURE_Z
Definition: fei_constants.hpp:36
fei::VELOCITY_Z
const int VELOCITY_Z
Definition: fei_constants.hpp:32
fei::PRESSURE
const int PRESSURE
Definition: fei_constants.hpp:33
fei::PRESSURE_Y
const int PRESSURE_Y
Definition: fei_constants.hpp:35
fei::VELOCITY_Y
const int VELOCITY_Y
Definition: fei_constants.hpp:31
fei::ROTATION_Y
const int ROTATION_Y
Definition: fei_constants.hpp:27
fei::UNKNOWN
const int UNKNOWN
Definition: fei_constants.hpp:39
fei::PRESSURE_X
const int PRESSURE_X
Definition: fei_constants.hpp:34
fei::ROTATION
const int ROTATION
Definition: fei_constants.hpp:25
fei::TEMPERATURE
const int TEMPERATURE
Definition: fei_constants.hpp:37
fei::DISPLACEMENT
const int DISPLACEMENT
Definition: fei_constants.hpp:21
fei::DISPLACEMENT_Y
const int DISPLACEMENT_Y
Definition: fei_constants.hpp:23
fei
Definition: fei_ArrayUtils.hpp:16
fei::DISPLACEMENT_Z
const int DISPLACEMENT_Z
Definition: fei_constants.hpp:24
fei::VELOCITY
const int VELOCITY
Definition: fei_constants.hpp:29
fei::VELOCITY_X
const int VELOCITY_X
Definition: fei_constants.hpp:30
fei::ROTATION_X
const int ROTATION_X
Definition: fei_constants.hpp:26
fei::DISPLACEMENT_X
const int DISPLACEMENT_X
Definition: fei_constants.hpp:22
fei::ROTATION_Z
const int ROTATION_Z
Definition: fei_constants.hpp:28