Implementation of MeshTSTT. More...
Public Member Functions | |
MeshTSTTImpl (TSTTM::Mesh &tstt_mesh, MsqError &err) | |
virtual | ~MeshTSTTImpl () |
virtual void | set_active_set (void *element_set, MsqError &) |
set mesh to be smoothed. More... | |
virtual int | get_geometric_dimension (Mesquite::MsqError &) |
Get dimension of vertex coordinates (2D vs. More... | |
virtual void | get_all_sizes (size_t &vertex_count, size_t &element_count, size_t &vertex_use_count, MsqError &err) |
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) |
Get entities and connectivity. More... | |
virtual VertexIterator * | vertex_iterator (MsqError &err) |
Create iterator for vertices in active set. More... | |
virtual ElementIterator * | element_iterator (MsqError &err) |
Create iterator for elements in active set. More... | |
virtual bool | vertex_is_fixed (VertexHandle vertex, MsqError &err) |
Query "fixed" flag for a vertex. More... | |
virtual void | vertices_are_on_boundary (VertexHandle vert_array[], bool on_bnd[], size_t num_vtx, MsqError &err) |
Query "boundary" flag for an array of vertices. More... | |
virtual void | vertices_get_coordinates (const VertexHandle vert_array[], MsqVertex *coordinates, size_t num_vtx, MsqError &err) |
Get vertex coordinates. More... | |
virtual void | vertex_set_coordinates (VertexHandle vertex, const Vector3D &coordinates, MsqError &err) |
Set vertex coordinates. More... | |
virtual void | vertex_set_byte (VertexHandle vertex, unsigned char byte, MsqError &err) |
Set vertex mark. More... | |
virtual void | vertices_set_byte (VertexHandle *vert_array, unsigned char *byte_array, size_t array_size, MsqError &err) |
Set vertex mark. More... | |
virtual void | vertex_get_byte (VertexHandle vertex, unsigned char *byte, MsqError &err) |
Get vertex mark. More... | |
virtual void | vertices_get_byte (VertexHandle *vert_array, unsigned char *byte_array, size_t array_size, MsqError &err) |
Get vertex mark. More... | |
virtual size_t | vertex_get_attached_element_count (VertexHandle vertex, MsqError &err) |
Get vertex adjacencies. More... | |
virtual void | vertex_get_attached_elements (VertexHandle vertex, ElementHandle *elem_array, size_t sizeof_elem_array, MsqError &err) |
Get vertex adjacencies. More... | |
virtual size_t | element_get_attached_vertex_count (ElementHandle elem, MsqError &err) |
Get length of connectivity list More... | |
virtual size_t | get_vertex_use_count (ElementHandle *array, size_t length, MsqError &err) |
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) |
Get element connectivity in overly-complex CSR rep. More... | |
virtual EntityTopology | element_get_topology (ElementHandle entity_handle, MsqError &err) |
Return topology type enum for specified element. More... | |
virtual void | elements_get_topologies (ElementHandle *element_handle_array, EntityTopology *element_topologies, size_t num_elements, MsqError &err) |
Return topology type enum for an array of elements. More... | |
virtual void | release_entity_handles (EntityHandle *handle_array, size_t num_handles, MsqError &err) |
no-op More... | |
virtual void | release () |
Instead of deleting a Mesh when you think you are done, call release(). More... | |
virtual TagHandle | tag_create (const msq_std::string &tag_name, TagType type, unsigned length, const void *default_value, MsqError &err) |
Create a tag. More... | |
virtual void | tag_delete (TagHandle handle, MsqError &err) |
Remove a tag and all corresponding data. More... | |
virtual TagHandle | tag_get (const msq_std::string &name, MsqError &err) |
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) |
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) |
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) |
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) |
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) |
Get tag values on vertices. More... | |
Public Member Functions inherited from MeshTSTT | |
virtual | ~MeshTSTT () |
virtual | ~MeshTSTT () |
Protected Member Functions | |
void | set_int_tag (void *tag, void *meshset, int value, MsqError &err) |
void | popupate_input_elements () throw ( TSTTB::Error ) |
Populate inputElements from elemetnSet. More... | |
Protected Member Functions inherited from Mesh | |
virtual | ~Mesh () |
Don't allow a Mesh to be deleted directly. More... | |
Private Member Functions | |
void | tag_set_data (TagHandle handle, size_t num_elems, const EntityHandle *handle_array, const void *tag_data, MsqError &err) |
Set tag values. More... | |
void | tag_get_data (TagHandle handle, size_t num_elems, const EntityHandle *handle_array, void *tag_data, MsqError &err) |
Get tag values. More... | |
void | cache_adjacent_elements (void *vertex_handle, MsqError &err) |
Get elements adjacent to vertex and store in vertexAdjElements. More... | |
Private Attributes | |
TSTTM::Mesh | meshIFace |
TSTT basic mesh interface instance. More... | |
TSTTM::Entity | entIFace |
TSTT interface for per-entity queries. More... | |
TSTTB::EntTag | tagIFace |
TSTTM::Arr | arrIFace |
TSTT interface for multi-entity (array) queries. More... | |
TSTTB::ArrTag | arrTagIFace |
TSTTM::Modify | modIFace |
TSTT interface for modifying mesh. More... | |
TSTTB::EntSet | setIFace |
TSTT interface for entity set operations. More... | |
bool | haveMesh |
Have mesh. More... | |
void * | elementSet |
TSTTM entity set handle for elements to improve. More... | |
void * | nodeSet |
TSTTM entity set handle for nodes to move. More... | |
msq_std::set< void * > | inputElements |
std::set containing elements in elementSet, used to constrain vertex->element adjaceny queries to only those elements that are in the input element set. More... | |
TSTTM::EntityType | inputSetType |
The type of elements contained in the input element set. More... | |
TagHandle | byteTag |
Handle for tag used to hold vertex byte. More... | |
bool | createdByteTag |
Tag was created in constructor. More... | |
TagHandle | fixedTag |
Handle for tag used to hold vertex-fixed flag. More... | |
bool | createdFixedTag |
Fixed tag was created in constructor. More... | |
EntityTopology | topologyMap [TSTTM::EntityTopology_ALL_TOPOLOGIES+1] |
Handle for the tag used internally to remove duplicates from lists. More... | |
sidl::array< void * > | vertexAdjElements |
Cached result for vertex->element query. More... | |
int | vertexAdjElementSize |
Number of valid entries vertexAdjElements. More... | |
void * | cachedAdjVertex |
Vertex for which vertexAdjElements is cached. 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 |
Static Public Member Functions inherited from MeshTSTT | |
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... | |
Implementation of MeshTSTT.
Definition at line 307 of file MeshTSTT.cpp.
MeshTSTTImpl | ( | TSTTM::Mesh & | tstt_mesh, |
Mesquite::MsqError & | err | ||
) |
Definition at line 714 of file MeshTSTT.cpp.
References MeshTSTTImpl::arrIFace, MeshTSTTImpl::arrTagIFace, MeshTSTTImpl::byteTag, MeshTSTTImpl::createdByteTag, MeshTSTTImpl::createdFixedTag, MeshTSTTImpl::entIFace, MeshTSTTImpl::fixedTag, Mesquite::HEXAHEDRON, i, MsqError::INTERNAL_ERROR, MsqError::INVALID_STATE, Mesquite::MIXED, MeshTSTTImpl::modIFace, MSQ_SETERR, MeshTSTTImpl::nodeSet, Mesquite::PRISM, Mesquite::process_tstt_error(), Mesquite::PYRAMID, Mesquite::QUADRILATERAL, MeshTSTTImpl::set_int_tag(), MeshTSTTImpl::setIFace, MeshTSTTImpl::tagIFace, Mesquite::TETRAHEDRON, MeshTSTTImpl::topologyMap, Mesquite::TRIANGLE, Mesquite::VERTEX_BYTE_TAG_NAME, and Mesquite::VERTEX_FIXED_TAG_NAME.
|
virtual |
Definition at line 872 of file MeshTSTT.cpp.
References Mesquite::process_tstt_error().
|
private |
Get elements adjacent to vertex and store in vertexAdjElements.
Definition at line 1362 of file MeshTSTT.cpp.
References MeshTSTTImpl::cachedAdjVertex, Mesquite::convert_from_sidl_vector(), MeshTSTTImpl::entIFace, MeshTSTTImpl::inputElements, MeshTSTTImpl::inputSetType, MsqError::INTERNAL_ERROR, MSQ_SETERR, MeshTSTTImpl::popupate_input_elements(), Mesquite::process_tstt_error(), MeshTSTTImpl::vertexAdjElements, and MeshTSTTImpl::vertexAdjElementSize.
Referenced by MeshTSTTImpl::vertex_get_attached_element_count(), and MeshTSTTImpl::vertex_get_attached_elements().
|
virtual |
Get length of connectivity list
Implements Mesh.
Definition at line 1453 of file MeshTSTT.cpp.
References MeshTSTTImpl::entIFace, MsqError::INTERNAL_ERROR, MSQ_SETERR, and Mesquite::process_tstt_error().
|
virtual |
Return topology type enum for specified element.
Implements Mesh.
Definition at line 1668 of file MeshTSTT.cpp.
References MeshTSTTImpl::entIFace, MsqError::INTERNAL_ERROR, Mesquite::MIXED, MSQ_SETERR, Mesquite::process_tstt_error(), and MeshTSTTImpl::topologyMap.
|
virtual |
Create iterator for elements in active set.
Implements Mesh.
Definition at line 1108 of file MeshTSTT.cpp.
References MeshTSTTImpl::arrIFace, MeshTSTTImpl::elementSet, MsqError::INTERNAL_ERROR, MSQ_SETERR, and Mesquite::process_tstt_error().
|
virtual |
Get element connectivity in overly-complex CSR rep.
Get connectivity.
Returns the vertices that are part of the topological definition of each element in the "elem_handles" array. When this function is called, the following must be true: a) "elem_handles" points at an array of "num_elems" element handles. b) "vert_handles" points at an array of size "sizeof_vert_handles" c) "csr_data" points at an array of size "sizeof_csr_data" d) "csr_offsets" points at an array of size "num_elems+1"
When this function returns, adjacency information will be stored in csr format: a) "vert_handles" stores handles to all vertices found in one or more of the elements. Each vertex appears only once in "vert_handles", even if it is in multiple elements. b) "sizeof_vert_handles" is set to the number of vertex handles placed into "vert_handles". c) "sizeof_csr_data" is set to the total number of vertex uses (for example, sizeof_csr_data = 6 in the case of 2 TRIANGLES, even if the two triangles share some vertices). c) "csr_offsets" is filled such that csr_offset[i] indicates the location of entity i's first adjacency in "csr_data". The number of vertices in element i is equal to csr_offsets[i+1] - csr_offsets[i]. For this reason, csr_offsets[num_elems] is set to the new value of "sizeof_csr_data". d) "csr_data" stores integer offsets which give the location of each adjacency in the "vert_handles" array.
As an example of how to use this data, you can get the handle of the first vertex in element #3 like this: VertexHandle vh = vert_handles[ csr_data[ csr_offsets[3] ] ]
and the second vertex of element #3 like this: VertexHandle vh = vert_handles[ csr_data[ csr_offsets[3]+1 ] ]
elements | - Array of length num_elems containing elements handles of elements for which connectivity is to be queried. |
vertices | - Array of vertex handles in connectivity list. |
offsets | - Indices into indices array, one per element. |
indices | - Indices into vertex_handles |
Implements Mesh.
Definition at line 1495 of file MeshTSTT.cpp.
References MeshTSTTImpl::arrIFace, Mesquite::convert_to_sidl_vector(), Mesquite::copy_from_sidl(), MsqError::INTERNAL_ERROR, MSQ_SETERR, and Mesquite::process_tstt_error().
Referenced by MeshTSTTImpl::get_all_mesh().
|
virtual |
Return topology type enum for an array of elements.
Implements Mesh.
Definition at line 1683 of file MeshTSTT.cpp.
References MeshTSTTImpl::arrIFace, Mesquite::convert_to_sidl_vector(), i, MsqError::INTERNAL_ERROR, MSQ_SETERR, Mesquite::process_tstt_error(), and MeshTSTTImpl::topologyMap.
|
virtual |
Get entities and connectivity.
Get vertex handles, element handles, and connectivty for active mesh. Use get_all_sizes to determine required array sizes.
vert_array | Array to store vertex handles in |
vert_len | Length of vert_array |
elem_array | Array to store element handles in |
elem_len | Length of elem_array |
elem_conn_offsets | Offsets into elem_conn_indices at which the connectivity data for each element begins. |
offset_len | Length of elem_conn_offsets. Should be elem_len + 1. |
elem_conn_indices | Indices into vert_array |
index_len | Length of elem_conn_indices. |
Implements Mesh.
Definition at line 1629 of file MeshTSTT.cpp.
References Mesquite::convert_to_sidl_vector(), MeshTSTTImpl::elements_get_attached_vertices(), MeshTSTTImpl::elementSet, MsqError::INTERNAL_ERROR, MeshTSTTImpl::meshIFace, MSQ_SETERR, MsqError::OUT_OF_MEMORY, and Mesquite::process_tstt_error().
|
virtual |
get sizes for calling get_all_mesh
Get counts of entities in mesh.
vertex_count | - Number of vertices connected to active mesh |
element_count | - Number of elements in active mesh |
vertex_use_count | - Number of vertex uses (sum of the length of the connectivity list for all elements in active.) |
Implements Mesh.
Definition at line 1586 of file MeshTSTT.cpp.
References MeshTSTTImpl::elementSet, MsqError::INTERNAL_ERROR, MeshTSTTImpl::meshIFace, MSQ_SETERR, MeshTSTTImpl::nodeSet, and Mesquite::process_tstt_error().
|
virtual |
Get dimension of vertex coordinates (2D vs.
3D).
Implements Mesh.
Definition at line 1072 of file MeshTSTT.cpp.
References MsqError::INTERNAL_ERROR, MeshTSTTImpl::meshIFace, MSQ_SETERR, and Mesquite::process_tstt_error().
|
virtual |
Implements Mesh.
Definition at line 1469 of file MeshTSTT.cpp.
References MeshTSTTImpl::arrIFace, Mesquite::convert_to_sidl_vector(), MsqError::INTERNAL_ERROR, MSQ_SETERR, and Mesquite::process_tstt_error().
|
protected |
Populate inputElements from elemetnSet.
Definition at line 1037 of file MeshTSTT.cpp.
References MeshTSTTImpl::arrIFace, Mesquite::convert_to_sidl_vector(), MeshTSTTImpl::elementSet, MeshTSTTImpl::inputElements, and MeshTSTTImpl::setIFace.
Referenced by MeshTSTTImpl::cache_adjacent_elements().
|
virtual |
Instead of deleting a Mesh when you think you are done, call release().
In simple cases, the implementation could just call the destructor. More sophisticated implementations may want to keep the Mesh object to live longer than Mesquite is using it.
Implements Mesh.
Definition at line 1722 of file MeshTSTT.cpp.
|
virtual |
|
virtual |
set mesh to be smoothed.
Set the mesh which Mesquite is to smooth. Optionally specify fixed vertices. 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 elements and vertices for which quality is to be improved. |
Implements MeshTSTT.
Definition at line 931 of file MeshTSTT.cpp.
References MeshTSTTImpl::arrIFace, MeshTSTTImpl::cachedAdjVertex, MeshTSTTImpl::elementSet, i, MeshTSTTImpl::inputElements, MeshTSTTImpl::inputSetType, MsqError::INTERNAL_ERROR, MSQ_SETERR, MeshTSTTImpl::nodeSet, num_nodes, Mesquite::process_tstt_error(), MeshTSTTImpl::setIFace, and MeshTSTTImpl::vertexAdjElementSize.
|
protected |
Definition at line 894 of file MeshTSTT.cpp.
References MeshTSTTImpl::arrIFace, MeshTSTTImpl::arrTagIFace, MsqError::INTERNAL_ERROR, MSQ_SETERR, and Mesquite::process_tstt_error().
Referenced by MeshTSTTImpl::MeshTSTTImpl().
|
virtual |
Create a tag.
Create a user-defined data type that can be attached to any element or vertex in the mesh. For an opaque or undefined type, use type=BYTE and length=sizeof(..).
tag_name | A unique name for the data object |
type | The type of the data |
length | Number of values per entity (1->scalar, >1 ->vector) |
default_value | Default value to assign to all entities - may be NULL |
Implements Mesh.
Definition at line 1727 of file MeshTSTT.cpp.
References Mesh::BYTE, Mesh::DOUBLE, Mesh::HANDLE, Mesh::INT, MsqError::INTERNAL_ERROR, MsqError::INVALID_ARG, Mesquite::length(), MSQ_SETERR, Mesquite::process_tstt_error(), and MeshTSTTImpl::tagIFace.
Remove a tag and all corresponding data.
Delete a tag.
Implements Mesh.
Definition at line 1756 of file MeshTSTT.cpp.
References MsqError::INTERNAL_ERROR, MSQ_SETERR, Mesquite::process_tstt_error(), and MeshTSTTImpl::tagIFace.
Get handle for existing tag, by name.
Implements Mesh.
Definition at line 1766 of file MeshTSTT.cpp.
References MsqError::INTERNAL_ERROR, MSQ_SETERR, Mesquite::process_tstt_error(), and MeshTSTTImpl::tagIFace.
|
private |
Get tag values.
Definition at line 1922 of file MeshTSTT.cpp.
References Mesquite::alloc_sidl_vector(), MeshTSTTImpl::arrTagIFace, Mesquite::convert_to_sidl_vector(), i, MsqError::INTERNAL_ERROR, MSQ_SETERR, Mesquite::process_tstt_error(), and MeshTSTTImpl::tagIFace.
Referenced by MeshTSTTImpl::tag_get_element_data(), and MeshTSTTImpl::tag_get_vertex_data().
|
virtual |
Get tag values on elements.
Get the value of a tag for a list of mesh elements.
handle | The tag |
num_elems | Length of elem_array |
elem_array | Array of elements for which to get the tag value. |
tag_data | Return buffer in which to copy tag data, contiguous in memory. This data is expected to be num_elems*tag_length*sizeof(tag_type) bytes. |
Implements Mesh.
Definition at line 1904 of file MeshTSTT.cpp.
References MeshTSTTImpl::tag_get_data().
|
virtual |
Get tag values on vertices.
Get the value of a tag for a list of mesh vertices.
handle | The tag |
num_elems | Length of elem_array |
elem_array | Array of vertices for which to get the tag value. |
tag_data | Return buffer in which to copy tag data, contiguous in memory. This data is expected to be num_elems*tag_length*sizeof(tag_type) bytes. |
Implements Mesh.
Definition at line 1913 of file MeshTSTT.cpp.
References MeshTSTTImpl::tag_get_data().
|
virtual |
Get properites of tag.
Get data type and number of values per entity for tag.
handle | Tag to get properties of. |
name_out | Passed back tag name. |
type_out | Passed back tag type. |
length_out | Passed back number of values per entity. |
Implements Mesh.
Definition at line 1779 of file MeshTSTT.cpp.
References Mesh::BYTE, Mesh::DOUBLE, Mesh::HANDLE, Mesh::INT, MsqError::INTERNAL_ERROR, MSQ_SETERR, MsqError::NOT_IMPLEMENTED, Mesquite::process_tstt_error(), and MeshTSTTImpl::tagIFace.
|
private |
Set tag values.
Definition at line 1835 of file MeshTSTT.cpp.
References Mesquite::alloc_sidl_vector(), MeshTSTTImpl::arrTagIFace, Mesquite::convert_to_sidl_vector(), i, MsqError::INTERNAL_ERROR, MSQ_SETERR, Mesquite::process_tstt_error(), and MeshTSTTImpl::tagIFace.
Referenced by MeshTSTTImpl::tag_set_element_data(), and MeshTSTTImpl::tag_set_vertex_data().
|
virtual |
Set tag values on elements.
Set the value of a tag for a list of mesh elements.
handle | The tag |
num_elems | Length of elem_array |
elem_array | Array of elements for which to set the tag value. |
tag_data | Tag data for each element, contiguous in memory. This data is expected to be num_elems*tag_length*sizeof(tag_type) bytes. |
Implements Mesh.
Definition at line 1817 of file MeshTSTT.cpp.
References MeshTSTTImpl::tag_set_data().
|
virtual |
Set tag values on vertices.
Set the value of a tag for a list of mesh vertices.
handle | The tag |
num_elems | Length of node_array |
node_array | Array of vertices for which to set the tag value. |
tag_data | Tag data for each element, contiguous in memory. This data is expected to be num_elems*tag_length*sizeof(tag_type) bytes. |
Implements Mesh.
Definition at line 1826 of file MeshTSTT.cpp.
References MeshTSTTImpl::tag_set_data().
|
virtual |
Get vertex adjacencies.
Implements Mesh.
Definition at line 1424 of file MeshTSTT.cpp.
References MeshTSTTImpl::cache_adjacent_elements(), MSQ_ERRZERO, and MeshTSTTImpl::vertexAdjElementSize.
|
virtual |
Get vertex adjacencies.
Implements Mesh.
Definition at line 1432 of file MeshTSTT.cpp.
References MeshTSTTImpl::cache_adjacent_elements(), Mesquite::convert_from_sidl_vector(), MsqError::INVALID_ARG, MSQ_ERRRTN, MSQ_SETERR, MeshTSTTImpl::vertexAdjElements, and MeshTSTTImpl::vertexAdjElementSize.
|
virtual |
Get vertex mark.
Implements Mesh.
Definition at line 1323 of file MeshTSTT.cpp.
References MeshTSTTImpl::byteTag, MsqError::INTERNAL_ERROR, MSQ_SETERR, Mesquite::process_tstt_error(), and MeshTSTTImpl::tagIFace.
|
virtual |
Query "fixed" flag for a vertex.
Implements Mesh.
Definition at line 1128 of file MeshTSTT.cpp.
References MeshTSTTImpl::fixedTag, MsqError::INTERNAL_ERROR, MSQ_SETERR, Mesquite::process_tstt_error(), and MeshTSTTImpl::tagIFace.
|
virtual |
Create iterator for vertices in active set.
Implements Mesh.
Definition at line 1089 of file MeshTSTT.cpp.
References MeshTSTTImpl::arrIFace, MsqError::INTERNAL_ERROR, MSQ_SETERR, MeshTSTTImpl::nodeSet, and Mesquite::process_tstt_error().
|
virtual |
Set vertex mark.
Implements Mesh.
Definition at line 1285 of file MeshTSTT.cpp.
References MeshTSTTImpl::byteTag, MsqError::INTERNAL_ERROR, MSQ_SETERR, Mesquite::process_tstt_error(), and MeshTSTTImpl::tagIFace.
|
virtual |
Set vertex coordinates.
Implements Mesh.
Definition at line 1267 of file MeshTSTT.cpp.
References Mesquite::convert_to_sidl_vector(), MsqError::INTERNAL_ERROR, MeshTSTTImpl::modIFace, MSQ_SETERR, Mesquite::process_tstt_error(), and Vector3D::to_array().
|
virtual |
Query "boundary" flag for an array of vertices.
Implements Mesh.
Definition at line 1149 of file MeshTSTT.cpp.
References MeshTSTTImpl::arrTagIFace, Mesquite::convert_to_sidl_vector(), MeshTSTTImpl::fixedTag, i, MsqError::INTERNAL_ERROR, MSQ_SETERR, and Mesquite::process_tstt_error().
|
virtual |
Get vertex mark.
Implements Mesh.
Definition at line 1335 of file MeshTSTT.cpp.
References MeshTSTTImpl::arrTagIFace, MeshTSTTImpl::byteTag, Mesquite::convert_to_sidl_vector(), i, MsqError::INTERNAL_ERROR, MSQ_SETERR, and Mesquite::process_tstt_error().
|
virtual |
Get vertex coordinates.
Implements Mesh.
Definition at line 1179 of file MeshTSTT.cpp.
References Mesquite::convert_to_sidl_vector(), i, MsqError::INTERNAL_ERROR, MsqError::INVALID_STATE, MeshTSTTImpl::meshIFace, MSQ_SETERR, Mesquite::process_tstt_error(), Vector3D::set(), Vector3D::x(), Vector3D::y(), and Vector3D::z().
|
virtual |
Set vertex mark.
Implements Mesh.
Definition at line 1298 of file MeshTSTT.cpp.
References MeshTSTTImpl::arrTagIFace, MeshTSTTImpl::byteTag, Mesquite::convert_to_sidl_vector(), i, MsqError::INTERNAL_ERROR, MSQ_SETERR, and Mesquite::process_tstt_error().
|
private |
TSTT interface for multi-entity (array) queries.
Definition at line 626 of file MeshTSTT.cpp.
Referenced by MeshTSTTImpl::element_iterator(), MeshTSTTImpl::elements_get_attached_vertices(), MeshTSTTImpl::elements_get_topologies(), MeshTSTTImpl::get_vertex_use_count(), MeshTSTTImpl::MeshTSTTImpl(), MeshTSTTImpl::popupate_input_elements(), MeshTSTTImpl::set_active_set(), MeshTSTTImpl::set_int_tag(), and MeshTSTTImpl::vertex_iterator().
|
private |
Definition at line 627 of file MeshTSTT.cpp.
Referenced by MeshTSTTImpl::MeshTSTTImpl(), MeshTSTTImpl::set_int_tag(), MeshTSTTImpl::tag_get_data(), MeshTSTTImpl::tag_set_data(), MeshTSTTImpl::vertices_are_on_boundary(), MeshTSTTImpl::vertices_get_byte(), and MeshTSTTImpl::vertices_set_byte().
|
private |
Handle for tag used to hold vertex byte.
Definition at line 654 of file MeshTSTT.cpp.
Referenced by MeshTSTTImpl::MeshTSTTImpl(), MeshTSTTImpl::vertex_get_byte(), MeshTSTTImpl::vertex_set_byte(), MeshTSTTImpl::vertices_get_byte(), and MeshTSTTImpl::vertices_set_byte().
|
private |
Vertex for which vertexAdjElements is cached.
Definition at line 674 of file MeshTSTT.cpp.
Referenced by MeshTSTTImpl::cache_adjacent_elements(), and MeshTSTTImpl::set_active_set().
|
private |
Tag was created in constructor.
Definition at line 656 of file MeshTSTT.cpp.
Referenced by MeshTSTTImpl::MeshTSTTImpl().
|
private |
Fixed tag was created in constructor.
Definition at line 660 of file MeshTSTT.cpp.
Referenced by MeshTSTTImpl::MeshTSTTImpl().
|
private |
TSTTM entity set handle for elements to improve.
Definition at line 636 of file MeshTSTT.cpp.
Referenced by MeshTSTTImpl::element_iterator(), MeshTSTTImpl::get_all_mesh(), MeshTSTTImpl::get_all_sizes(), MeshTSTTImpl::popupate_input_elements(), and MeshTSTTImpl::set_active_set().
|
private |
TSTT interface for per-entity queries.
Definition at line 623 of file MeshTSTT.cpp.
Referenced by MeshTSTTImpl::cache_adjacent_elements(), MeshTSTTImpl::element_get_attached_vertex_count(), MeshTSTTImpl::element_get_topology(), and MeshTSTTImpl::MeshTSTTImpl().
|
private |
Handle for tag used to hold vertex-fixed flag.
Definition at line 658 of file MeshTSTT.cpp.
Referenced by MeshTSTTImpl::MeshTSTTImpl(), MeshTSTTImpl::vertex_is_fixed(), and MeshTSTTImpl::vertices_are_on_boundary().
|
private |
Have mesh.
Definition at line 634 of file MeshTSTT.cpp.
|
private |
std::set containing elements in elementSet, used to constrain vertex->element adjaceny queries to only those elements that are in the input element set.
Definition at line 643 of file MeshTSTT.cpp.
Referenced by MeshTSTTImpl::cache_adjacent_elements(), MeshTSTTImpl::popupate_input_elements(), and MeshTSTTImpl::set_active_set().
|
private |
The type of elements contained in the input element set.
Should be one of:
Definition at line 651 of file MeshTSTT.cpp.
Referenced by MeshTSTTImpl::cache_adjacent_elements(), and MeshTSTTImpl::set_active_set().
|
private |
TSTT basic mesh interface instance.
Definition at line 621 of file MeshTSTT.cpp.
Referenced by MeshTSTTImpl::get_all_mesh(), MeshTSTTImpl::get_all_sizes(), MeshTSTTImpl::get_geometric_dimension(), and MeshTSTTImpl::vertices_get_coordinates().
|
private |
TSTT interface for modifying mesh.
Definition at line 629 of file MeshTSTT.cpp.
Referenced by MeshTSTTImpl::MeshTSTTImpl(), and MeshTSTTImpl::vertex_set_coordinates().
|
private |
TSTTM entity set handle for nodes to move.
Definition at line 638 of file MeshTSTT.cpp.
Referenced by MeshTSTTImpl::get_all_sizes(), MeshTSTTImpl::MeshTSTTImpl(), MeshTSTTImpl::set_active_set(), and MeshTSTTImpl::vertex_iterator().
|
private |
TSTT interface for entity set operations.
Definition at line 631 of file MeshTSTT.cpp.
Referenced by MeshTSTTImpl::MeshTSTTImpl(), MeshTSTTImpl::popupate_input_elements(), and MeshTSTTImpl::set_active_set().
|
private |
Definition at line 624 of file MeshTSTT.cpp.
Referenced by MeshTSTTImpl::MeshTSTTImpl(), MeshTSTTImpl::tag_create(), MeshTSTTImpl::tag_delete(), MeshTSTTImpl::tag_get(), MeshTSTTImpl::tag_get_data(), MeshTSTTImpl::tag_properties(), MeshTSTTImpl::tag_set_data(), MeshTSTTImpl::vertex_get_byte(), MeshTSTTImpl::vertex_is_fixed(), and MeshTSTTImpl::vertex_set_byte().
|
private |
Handle for the tag used internally to remove duplicates from lists.
vertexIndexTag was created in constructor Map TSTTM::EntityTopology to Mesquite::EntityTopology
Definition at line 667 of file MeshTSTT.cpp.
Referenced by MeshTSTTImpl::element_get_topology(), MeshTSTTImpl::elements_get_topologies(), and MeshTSTTImpl::MeshTSTTImpl().
|
private |
Cached result for vertex->element query.
Definition at line 670 of file MeshTSTT.cpp.
Referenced by MeshTSTTImpl::cache_adjacent_elements(), and MeshTSTTImpl::vertex_get_attached_elements().
|
private |
Number of valid entries vertexAdjElements.
Definition at line 672 of file MeshTSTT.cpp.
Referenced by MeshTSTTImpl::cache_adjacent_elements(), MeshTSTTImpl::set_active_set(), MeshTSTTImpl::vertex_get_attached_element_count(), and MeshTSTTImpl::vertex_get_attached_elements().