37 #ifndef Mesquite_MeshSet_hpp
38 #define Mesquite_MeshSet_hpp
40 #ifdef MSQ_USE_OLD_C_HEADERS
46 #ifdef MSQ_USE_OLD_STD_HEADERS
92 void get_meshes(msq_std::list<Mesquite::Mesh*> &mesh_list)
const
Iterates through a set of entities. An EntityIterator is typically obtained via Mesh::vertex_iterator...
msq_stdc::size_t elemArraySize
int space_dim() const
Returns the number of coordinates in the Mesh's geometric coordinate system.
Mesquite::MeshDomain * get_domain_constraint()
Returns the domain associated with the MeshSet from which the Patch originates.
Used to hold the error state and return it to the application.
PatchDataParameters & get_all_parameters()
Returns the PatchDataParameters object.
void set_domain_constraint(MeshDomain *domain, MsqError &err)
Sets the geometrical domain for the MeshSet.
msq_stdc::size_t vertArraySize
Mesquite::VertexIterator * vertexIterator
Keeps track of where we are in the current mesh's vertex list.
bool get_next_global_patch(PatchData &, PatchDataParameters &, MsqError &)
Class Mesh is the main class that holds all information to describe the current state of the mesh...
This should be the parent class of all algorithms retrieving information from a MeshSet object...
bool get_next_elem_on_vert_patch(PatchData &, PatchDataParameters &, MsqError &)
void write_vtk(const char *out_filebase, MsqError &err)
msq_stdc::size_t csrOffsetsSize
void update_mesh(const PatchData &pd, MsqError &err)
Updates the coordinates in the underlying mesh with the coordinates stored in PatchData.
msq_std::list< Mesquite::Mesh * >::iterator currentMesh
Keeps track of which Mesh* we're currently working with in get_next_patch().
int spaceDim
The number of coordinates in this mesh (2D or 3D)
msq_stdc::size_t * csrOffsets
These are arrays that we cache so we don't have to reallocate at every patch.
Mesquite::MeshDomain * mDomain
Mesquite::EntityTopology * elemTopologies
A Mesquite::Mesh is a collection of mesh elements which are composed of mesh vertices. Intermediate objects are not accessible through this interface (where intermediate objects include things like the faces of a hex, or an element's edges).
void write_gnuplot(const char *out_filebase, MsqError &err)
void set_flag_to_cull(MsqVertex::FlagMask f_m)
Sets the cullFlag.
msq_std::list< Mesquite::Mesh * > meshSet
Meshes in this MeshSet.
bool clear_all_soft_fixed_flags(MsqError &err)
Mesquite::MsqVertex::FlagMask cullFlag
void get_meshes(msq_std::list< Mesquite::Mesh * > &mesh_list) const
returns the list of mesh pointers previously added.
Mesh * get_current_mesh()
Mesquite::EntityTopology elementType
The topological dimension of the elements in this MeshSet, where Mesquite::TRIANGLE indicates 2D elem...
void add_mesh(Mesquite::Mesh *mesh, MsqError &err)
adds a mesh to the MeshSet.
The MeshSet class stores one or more Mesquite::Mesh pointers and manages access to the mesh informati...
void reset(MsqError &err)
Resets the MeshSet object so that get_next_patch() will restart its iterations at the first vertex...
bool get_next_patch(PatchData &pd, PatchDataUser *pd_user, MsqError &err)
Gets the next PatchData.