The name of the tag (integer) used internally by MeshTSTT to eliminate duplicate vertices. More...
#include <MeshTSTT.hpp>
Public Member Functions | |
virtual | ~MeshTSTT () |
virtual void | set_active_set (void *element_set, MsqError &)=0 |
set mesh to be smoothed. More... | |
virtual | ~MeshTSTT () |
virtual void | set_active_set (void *element_set, MsqError &)=0 |
set mesh to be smoothed. More... | |
Public Member Functions inherited from Mesh | |
virtual int | get_geometric_dimension (MsqError &err)=0 |
Returns whether this mesh lies in a 2D or 3D coordinate system. More... | |
virtual void | get_all_sizes (size_t &vertex_count, size_t &element_count, size_t &vertex_use_count, MsqError &err)=0 |
get sizes for calling get_all_mesh More... | |
virtual void | get_all_mesh (VertexHandle *vert_array, size_t vert_len, ElementHandle *elem_array, size_t elem_len, size_t *elem_conn_offsets, size_t offset_len, size_t *elem_conn_indices, size_t index_len, MsqError &err)=0 |
Get entities and connectivity. More... | |
virtual VertexIterator * | vertex_iterator (MsqError &err)=0 |
Returns a pointer to an iterator that iterates over the set of all vertices in this mesh. More... | |
virtual ElementIterator * | element_iterator (MsqError &err)=0 |
Returns a pointer to an iterator that iterates over the set of all top-level elements in this mesh. More... | |
virtual bool | vertex_is_fixed (VertexHandle vertex, MsqError &err)=0 |
Returns true or false, indicating whether the vertex is allowed to be repositioned. More... | |
virtual void | vertices_are_on_boundary (VertexHandle vert_array[], bool on_bnd[], size_t num_vtx, MsqError &err)=0 |
Returns true or false, indicating whether the vertex is on the boundary. More... | |
virtual void | vertices_get_coordinates (const VertexHandle vert_array[], MsqVertex *coordinates, size_t num_vtx, MsqError &err)=0 |
Get/set location of a vertex. More... | |
virtual void | vertex_set_coordinates (VertexHandle vertex, const Vector3D &coordinates, MsqError &err)=0 |
virtual void | vertex_set_byte (VertexHandle vertex, unsigned char byte, MsqError &err)=0 |
Each vertex has a byte-sized flag that can be used to store flags. More... | |
virtual void | vertices_set_byte (VertexHandle *vert_array, unsigned char *byte_array, size_t array_size, MsqError &err)=0 |
virtual void | vertex_get_byte (VertexHandle vertex, unsigned char *byte, MsqError &err)=0 |
Retrieve the byte value for the specified vertex or vertices. More... | |
virtual void | vertices_get_byte (VertexHandle *vertex, unsigned char *byte_array, size_t array_size, MsqError &err)=0 |
virtual size_t | vertex_get_attached_element_count (VertexHandle vertex, MsqError &err)=0 |
Gets the number of elements attached to this vertex. More... | |
virtual void | vertex_get_attached_elements (VertexHandle vertex, ElementHandle *elem_array, size_t sizeof_elem_array, MsqError &err)=0 |
Gets the elements attached to this vertex. More... | |
virtual size_t | element_get_attached_vertex_count (ElementHandle elem, MsqError &err)=0 |
Gets the number of vertices in this element. More... | |
virtual size_t | get_vertex_use_count (ElementHandle *handle_array, size_t num_handles, MsqError &err)=0 |
virtual void | elements_get_attached_vertices (ElementHandle *elem_handles, size_t num_elems, VertexHandle *vert_handles, size_t &sizeof_vert_handles, size_t *csr_data, size_t &sizeof_csr_data, size_t *csr_offsets, MsqError &err)=0 |
Returns the vertices that are part of the topological definition of each element in the "elem_handles" array. More... | |
virtual EntityTopology | element_get_topology (ElementHandle entity_handle, MsqError &err)=0 |
Returns the topology of the given entity. More... | |
virtual void | elements_get_topologies (ElementHandle *element_handle_array, EntityTopology *element_topologies, size_t num_elements, MsqError &err)=0 |
Returns the topologies of the given entities. More... | |
virtual TagHandle | tag_create (const msq_std::string &tag_name, TagType type, unsigned length, const void *default_value, MsqError &err)=0 |
Create a tag. More... | |
virtual void | tag_delete (TagHandle handle, MsqError &err)=0 |
Remove a tag and all corresponding data. More... | |
virtual TagHandle | tag_get (const msq_std::string &name, MsqError &err)=0 |
Get handle for existing tag, by name. More... | |
virtual void | tag_properties (TagHandle handle, msq_std::string &name_out, TagType &type_out, unsigned &length_out, MsqError &err)=0 |
Get properites of tag. More... | |
virtual void | tag_set_element_data (TagHandle handle, size_t num_elems, const ElementHandle *elem_array, const void *tag_data, MsqError &err)=0 |
Set tag values on elements. More... | |
virtual void | tag_set_vertex_data (TagHandle handle, size_t num_elems, const VertexHandle *node_array, const void *tag_data, MsqError &err)=0 |
Set tag values on vertices. More... | |
virtual void | tag_get_element_data (TagHandle handle, size_t num_elems, const ElementHandle *elem_array, void *tag_data, MsqError &err)=0 |
Get tag values on elements. More... | |
virtual void | tag_get_vertex_data (TagHandle handle, size_t num_elems, const VertexHandle *node_array, void *tag_data, MsqError &err)=0 |
Get tag values on vertices. More... | |
virtual void | release_entity_handles (EntityHandle *handle_array, size_t num_handles, MsqError &err)=0 |
Tells the mesh that the client is finished with a given entity handle. More... | |
virtual void | release ()=0 |
Instead of deleting a Mesh when you think you are done, call release(). More... | |
Static Public Member Functions | |
static MeshTSTT * | create (TSTTM::Mesh &mesh, void *meshset, MsqError &err) |
factory method More... | |
static MeshTSTT * | create (TSTTM::Mesh &mesh, MsqError &err) |
factory method More... | |
static MeshTSTT * | create (TSTTM::Mesh &mesh, void *meshset, MsqError &err) |
factory method More... | |
static MeshTSTT * | create (TSTTM::Mesh &mesh, MsqError &err) |
factory method More... | |
Additional Inherited Members | |
Public Types inherited from Mesh | |
enum | TagType { BYTE, BOOL, INT, DOUBLE, HANDLE } |
The type of a tag. More... | |
typedef void * | EntityHandle |
Opaque EntityHandle type and tag type. More... | |
typedef EntityHandle | VertexHandle |
typedef EntityHandle | ElementHandle |
Protected Member Functions inherited from Mesh | |
virtual | ~Mesh () |
Don't allow a Mesh to be deleted directly. More... | |
The name of the tag (integer) used internally by MeshTSTT to eliminate duplicate vertices.
Provide interface to TSTT mesh database
Provide interface to TSTT mesh database and iterators for a subset of the database's mesh.
Definition at line 87 of file includeLinks/MeshTSTT.hpp.
|
virtual |
Definition at line 711 of file MeshTSTT.cpp.
|
virtual |
factory method
Create instance of MeshTSTT. If set_active_set is not called on resulting object, will default to the ENTIRE mesh.
mesh | The TSTTM mesh instance |
meshset | The mesh to improve (elements). |
Definition at line 683 of file MeshTSTT.cpp.
References MSQ_CHKERR, and MeshTSTT::set_active_set().
factory method
Create instance of MeshTSTT. If set_active_set is not called on resulting object, will default to the ENTIRE mesh.
mesh | The TSTTM mesh instance |
meshset | The mesh to improve (elements). |
factory method
Create an instance of MeshTSTT with no initial mesh.
factory method
Create an instance of MeshTSTT with no initial mesh.
Definition at line 700 of file MeshTSTT.cpp.
References MSQ_CHKERR.
|
pure virtual |
set mesh to be smoothed.
Set the mesh which Mesquite is to smooth. NOTE: If an active set is not specified, the default is to use the global set (the ENTIRE mesh.)
element_set | TSTT entity set handle for set containing mesh elementsfor which quality is to be improved. |
Implemented in MeshTSTTImpl.
Referenced by MeshTSTT::create().
|
pure virtual |
set mesh to be smoothed.
Set the mesh which Mesquite is to smooth. NOTE: If an active set is not specified, the default is to use the global set (the ENTIRE mesh.)
element_set | TSTT entity set handle for set containing mesh elementsfor which quality is to be improved. |
Implemented in MeshTSTTImpl.