Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MeshTSTT Class Referenceabstract

The name of the tag (integer) used internally by MeshTSTT to eliminate duplicate vertices. More...

#include <MeshTSTT.hpp>

Inheritance diagram for MeshTSTT:
Collaboration diagram for MeshTSTT:

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 VertexIteratorvertex_iterator (MsqError &err)=0
 Returns a pointer to an iterator that iterates over the set of all vertices in this mesh. More...
 
virtual ElementIteratorelement_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 MeshTSTTcreate (TSTTM::Mesh &mesh, void *meshset, MsqError &err)
 factory method More...
 
static MeshTSTTcreate (TSTTM::Mesh &mesh, MsqError &err)
 factory method More...
 
static MeshTSTTcreate (TSTTM::Mesh &mesh, void *meshset, MsqError &err)
 factory method More...
 
static MeshTSTTcreate (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...
 

Detailed Description

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.
Author
Jason Kraftcheck
Date
2004-10-22

Definition at line 87 of file includeLinks/MeshTSTT.hpp.

Constructor & Destructor Documentation

~MeshTSTT ( )
virtual

Definition at line 711 of file MeshTSTT.cpp.

711 {}
virtual ~MeshTSTT ( )
virtual

Member Function Documentation

MeshTSTT * create ( TSTTM::Mesh &  mesh,
void *  meshset,
MsqError err 
)
static

factory method

Create instance of MeshTSTT. If set_active_set is not called on resulting object, will default to the ENTIRE mesh.

Parameters
meshThe TSTTM mesh instance
meshsetThe mesh to improve (elements).

Definition at line 683 of file MeshTSTT.cpp.

References MSQ_CHKERR, and MeshTSTT::set_active_set().

684 {
685  MeshTSTT* result = new MeshTSTTImpl( mesh, err );
686  if (MSQ_CHKERR(err))
687  {
688  delete result;
689  return 0;
690  }
691  result->set_active_set( meshset, err );
692  if (MSQ_CHKERR(err))
693  {
694  delete result;
695  return 0;
696  }
697  return result;
698 }
#define MSQ_CHKERR(err)
Mesquite&#39;s Error Checking macro.

Here is the call graph for this function:

static MeshTSTT* create ( TSTTM::Mesh &  mesh,
void *  meshset,
MsqError err 
)
static

factory method

Create instance of MeshTSTT. If set_active_set is not called on resulting object, will default to the ENTIRE mesh.

Parameters
meshThe TSTTM mesh instance
meshsetThe mesh to improve (elements).
static MeshTSTT* create ( TSTTM::Mesh &  mesh,
MsqError err 
)
static

factory method

Create an instance of MeshTSTT with no initial mesh.

MeshTSTT * create ( TSTTM::Mesh &  mesh,
MsqError err 
)
static

factory method

Create an instance of MeshTSTT with no initial mesh.

Definition at line 700 of file MeshTSTT.cpp.

References MSQ_CHKERR.

701 {
702  MeshTSTT* result = new MeshTSTTImpl( mesh, err );
703  if (MSQ_CHKERR(err))
704  {
705  delete result;
706  return 0;
707  }
708  return result;
709 }
#define MSQ_CHKERR(err)
Mesquite&#39;s Error Checking macro.
virtual void set_active_set ( void *  element_set,
MsqError  
)
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.)

Parameters
element_setTSTT entity set handle for set containing mesh elementsfor which quality is to be improved.

Implemented in MeshTSTTImpl.

Referenced by MeshTSTT::create().

Here is the caller graph for this function:

virtual void set_active_set ( void *  element_set,
MsqError  
)
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.)

Parameters
element_setTSTT entity set handle for set containing mesh elementsfor which quality is to be improved.

Implemented in MeshTSTTImpl.


The documentation for this class was generated from the following files: