MOAB: Mesh Oriented datABase
(version 5.4.1)
|
Public Types | |
typedef std::map < Mesh::VertexHandle, bool > | SMap |
Public Member Functions | |
HoSlavedMesh (Mesh *real_mesh, SMap &slaved) | |
virtual void | vertices_get_slaved_flag (const VertexHandle vert_array[], std::vector< bool > &slaved_flag_array, size_t num_vtx, MsqError &err) |
Private Attributes | |
SMap | slavedVerts |
create a wrapper around the real mesh that returns what we want from vertices_get_slaved_flag.
Definition at line 1081 of file PatchDataTest.cpp.
typedef std::map< Mesh::VertexHandle, bool > HoSlavedMesh::SMap |
Definition at line 1084 of file PatchDataTest.cpp.
HoSlavedMesh::HoSlavedMesh | ( | Mesh * | real_mesh, |
SMap & | slaved | ||
) | [inline] |
Definition at line 1085 of file PatchDataTest.cpp.
: MeshDecorator( real_mesh ), slavedVerts( slaved ) {}
void HoSlavedMesh::vertices_get_slaved_flag | ( | const VertexHandle | vert_array[], |
std::vector< bool > & | slaved_flag_array, | ||
size_t | num_vtx, | ||
MsqError & | err | ||
) | [virtual] |
Returns true or false, indicating whether the vertex is a higher-order node that should be slaved to the logical mid-point of the element side it lies on or not, respectively.
Note: This function will never be called unless this behavior is requested by calling: InstructionQueue::set_slaved_ho_node_mode( Settings::SLAVE_FLAG )
Reimplemented from MBMesquite::MeshDecorator.
Definition at line 1095 of file PatchDataTest.cpp.
{ slaved_flag_array.resize( num_vtx ); for( size_t i = 0; i < num_vtx; ++i ) { SMap::iterator j = slavedVerts.find( vert_array[i] ); slaved_flag_array[i] = ( j != slavedVerts.end() ) && j->second; } }
SMap HoSlavedMesh::slavedVerts [private] |
Definition at line 1093 of file PatchDataTest.cpp.