MOAB: Mesh Oriented datABase
(version 5.4.1)
|
Public Member Functions | |
SettingData () | |
Initialize to default settings. | |
SettingData (const SettingData &other) | |
SettingData & | operator= (const SettingData &other) |
Public Attributes | |
bool | trapFPE |
Settings::FixedVertexMode | fixedMode |
Settings::HigherOrderSlaveMode | slaveMode |
std::vector< const MappingFunction * > | mapArray |
std::vector< const MappingFunction2D * > | mapArray2D |
std::vector< const MappingFunction3D * > | mapArray3D |
TriLagrangeShape | defTriFunc |
QuadLagrangeShape | defQuadFunc |
TetLagrangeShape | defTetFunc |
LinearPyramid | defPyrFunc |
LinearPrism | defPriFunc |
LinearHexahedron | defHexFunc |
Private Member Functions | |
void | fix_copy (const SettingData &other) |
Definition at line 50 of file Settings.cpp.
Initialize to default settings.
Definition at line 73 of file Settings.cpp.
References defHexFunc, defPriFunc, defPyrFunc, defQuadFunc, defTetFunc, defTriFunc, MBMesquite::HEXAHEDRON, mapArray, mapArray2D, mapArray3D, MBMesquite::PRISM, MBMesquite::PYRAMID, MBMesquite::QUADRILATERAL, MBMesquite::TETRAHEDRON, and MBMesquite::TRIANGLE.
: trapFPE( IQ_TRAP_FPE_DEFAULT ), fixedMode( Settings::FIXED_FLAG ), slaveMode( Settings::SLAVE_ALL ), mapArray( MIXED, 0 ), mapArray2D( MIXED, 0 ), mapArray3D( MIXED, 0 ) { mapArray[TRIANGLE] = &defTriFunc; mapArray[QUADRILATERAL] = &defQuadFunc; mapArray[TETRAHEDRON] = &defTetFunc; mapArray[PYRAMID] = &defPyrFunc; mapArray[PRISM] = &defPriFunc; mapArray[HEXAHEDRON] = &defHexFunc; mapArray2D[TRIANGLE] = &defTriFunc; mapArray2D[QUADRILATERAL] = &defQuadFunc; mapArray3D[TETRAHEDRON] = &defTetFunc; mapArray3D[PYRAMID] = &defPyrFunc; mapArray3D[PRISM] = &defPriFunc; mapArray3D[HEXAHEDRON] = &defHexFunc; }
MBMesquite::SettingData::SettingData | ( | const SettingData & | other | ) |
Definition at line 91 of file Settings.cpp.
References fix_copy().
: trapFPE( other.trapFPE ), fixedMode( other.fixedMode ), slaveMode( other.slaveMode ), mapArray( other.mapArray ), mapArray2D( other.mapArray2D ), mapArray3D( other.mapArray3D ) { fix_copy( other ); }
void MBMesquite::SettingData::fix_copy | ( | const SettingData & | other | ) | [private] |
Definition at line 110 of file Settings.cpp.
References defHexFunc, defPriFunc, defPyrFunc, defQuadFunc, defTetFunc, defTriFunc, MBMesquite::HEXAHEDRON, mapArray, mapArray2D, mapArray3D, MBMesquite::PRISM, MBMesquite::PYRAMID, MBMesquite::QUADRILATERAL, MBMesquite::TETRAHEDRON, and MBMesquite::TRIANGLE.
Referenced by operator=(), and SettingData().
{ if( mapArray[TRIANGLE] == &other.defTriFunc ) mapArray[TRIANGLE] = &defTriFunc; if( mapArray[QUADRILATERAL] == &other.defQuadFunc ) mapArray[QUADRILATERAL] = &defQuadFunc; if( mapArray[TETRAHEDRON] == &other.defTetFunc ) mapArray[TETRAHEDRON] = &defTetFunc; if( mapArray[PYRAMID] == &other.defPyrFunc ) mapArray[PYRAMID] = &defPyrFunc; if( mapArray[PRISM] == &other.defPriFunc ) mapArray[PRISM] = &defPriFunc; if( mapArray[HEXAHEDRON] == &other.defHexFunc ) mapArray[HEXAHEDRON] = &defHexFunc; if( mapArray2D[TRIANGLE] == &other.defTriFunc ) mapArray2D[TRIANGLE] = &defTriFunc; if( mapArray2D[QUADRILATERAL] == &other.defQuadFunc ) mapArray2D[QUADRILATERAL] = &defQuadFunc; if( mapArray3D[TETRAHEDRON] == &other.defTetFunc ) mapArray3D[TETRAHEDRON] = &defTetFunc; if( mapArray3D[PYRAMID] == &other.defPyrFunc ) mapArray3D[PYRAMID] = &defPyrFunc; if( mapArray3D[PRISM] == &other.defPriFunc ) mapArray3D[PRISM] = &defPriFunc; if( mapArray3D[HEXAHEDRON] == &other.defHexFunc ) mapArray3D[HEXAHEDRON] = &defHexFunc; }
SettingData & MBMesquite::SettingData::operator= | ( | const SettingData & | other | ) |
Definition at line 98 of file Settings.cpp.
References fix_copy(), fixedMode, mapArray, mapArray2D, mapArray3D, slaveMode, and trapFPE.
{ trapFPE = other.trapFPE; fixedMode = other.fixedMode; slaveMode = other.slaveMode; mapArray = other.mapArray; mapArray2D = other.mapArray2D; mapArray3D = other.mapArray3D; fix_copy( other ); return *this; }
Definition at line 67 of file Settings.cpp.
Referenced by fix_copy(), and SettingData().
Definition at line 66 of file Settings.cpp.
Referenced by fix_copy(), and SettingData().
Definition at line 65 of file Settings.cpp.
Referenced by fix_copy(), and SettingData().
Definition at line 63 of file Settings.cpp.
Referenced by fix_copy(), and SettingData().
Definition at line 64 of file Settings.cpp.
Referenced by fix_copy(), and SettingData().
Definition at line 62 of file Settings.cpp.
Referenced by fix_copy(), and SettingData().
Definition at line 56 of file Settings.cpp.
Referenced by MBMesquite::Settings::get_fixed_vertex_mode(), operator=(), and MBMesquite::Settings::set_fixed_vertex_mode().
std::vector< const MappingFunction* > MBMesquite::SettingData::mapArray |
Definition at line 58 of file Settings.cpp.
Referenced by fix_copy(), MBMesquite::Settings::get_mapping_function(), operator=(), MBMesquite::Settings::set_mapping_function(), and SettingData().
std::vector< const MappingFunction2D* > MBMesquite::SettingData::mapArray2D |
Definition at line 59 of file Settings.cpp.
Referenced by fix_copy(), MBMesquite::Settings::get_mapping_function_2D(), operator=(), MBMesquite::Settings::set_mapping_function(), and SettingData().
std::vector< const MappingFunction3D* > MBMesquite::SettingData::mapArray3D |
Definition at line 60 of file Settings.cpp.
Referenced by fix_copy(), MBMesquite::Settings::get_mapping_function_3D(), operator=(), MBMesquite::Settings::set_mapping_function(), and SettingData().
Definition at line 57 of file Settings.cpp.
Referenced by MBMesquite::Settings::get_slaved_ho_node_mode(), operator=(), and MBMesquite::Settings::set_slaved_ho_node_mode().
Definition at line 55 of file Settings.cpp.
Referenced by operator=(), and MBMesquite::Settings::trap_floating_point_exception().