FEI Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
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
19namespace fei {
20
21const int DISPLACEMENT = 0;
22const int DISPLACEMENT_X = 0;
23const int DISPLACEMENT_Y = 1;
24const int DISPLACEMENT_Z = 2;
25const int ROTATION = 3;
26const int ROTATION_X = 3;
27const int ROTATION_Y = 4;
28const int ROTATION_Z = 5;
29const int VELOCITY = 6;
30const int VELOCITY_X = 6;
31const int VELOCITY_Y = 7;
32const int VELOCITY_Z = 8;
33const int PRESSURE = 9;
34const int PRESSURE_X = 10;
35const int PRESSURE_Y = 11;
36const int PRESSURE_Z = 12;
37const int TEMPERATURE = 13;
38
39const int UNKNOWN = 20;
40
41}//namespace fei
42
43#endif
44
const int ROTATION_X
const int PRESSURE_X
const int ROTATION
const int VELOCITY_Y
const int DISPLACEMENT_Y
const int PRESSURE_Z
const int PRESSURE_Y
const int TEMPERATURE
const int DISPLACEMENT_X
const int UNKNOWN
const int ROTATION_Z
const int VELOCITY
const int DISPLACEMENT
const int VELOCITY_X
const int ROTATION_Y
const int DISPLACEMENT_Z
const int PRESSURE
const int VELOCITY_Z