FEI Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
const int VELOCITY_Z
const int VELOCITY_Y
const int UNKNOWN
const int PRESSURE
const int ROTATION_Y
const int PRESSURE_Z
const int DISPLACEMENT
const int ROTATION
const int PRESSURE_X
const int VELOCITY
const int VELOCITY_X
const int PRESSURE_Y
const int ROTATION_Z
const int DISPLACEMENT_Y
const int DISPLACEMENT_Z
const int TEMPERATURE
const int DISPLACEMENT_X
const int ROTATION_X