fei_constants.hpp

00001 #ifndef _fei_constants_hpp_
00002 #define _fei_constants_hpp_
00003 
00004 /*
00005    In this file we define some constants to use as parameters to
00006    some fei functions.
00007    These constants are primarily used as 'fieldType' arguments to
00008    fei::VectorSpace::defineFields and FEI::initFields.
00009    If defining a vector-field for displacement, use DISPLACEMENT. If
00010    defining separate scalar fields for the components of displacement,
00011    then use DISPLACEMENT_X, etc.
00012    Most of the names below are self-explanatory. PRESSURE refers to either
00013    a vector-field for pressure, a nodal pressure variable, or the constant
00014    coefficient for a pressure field that is discontinuous in each element.
00015    PRESSURE_X, PRESSURE_Y, and PRESSURE_Z refer to the X, Y, and Z coefficients
00016    for a linearly varying pressure field defined separately in each element.
00017 */
00018 
00019 namespace fei {
00020 
00021 const int DISPLACEMENT     =  0;
00022 const int DISPLACEMENT_X   =  0;
00023 const int DISPLACEMENT_Y   =  1;
00024 const int DISPLACEMENT_Z   =  2;
00025 const int ROTATION         =  3;
00026 const int ROTATION_X       =  3;
00027 const int ROTATION_Y       =  4;
00028 const int ROTATION_Z       =  5;
00029 const int VELOCITY         =  6;
00030 const int VELOCITY_X       =  6;
00031 const int VELOCITY_Y       =  7;
00032 const int VELOCITY_Z       =  8;
00033 const int PRESSURE         =  9;
00034 const int PRESSURE_X       = 10;
00035 const int PRESSURE_Y       = 11;
00036 const int PRESSURE_Z       = 12;
00037 const int TEMPERATURE      = 13;
00038 
00039 const int UNKNOWN          = 20;
00040 
00041 }//namespace fei
00042 
00043 #endif
00044 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends
Generated on Wed Apr 13 10:08:23 2011 for FEI by  doxygen 1.6.3