MFEM  v3.1
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Classes | Public Member Functions | List of all members
mfem::MesquiteMesh Class Reference

#include <mesquite.hpp>

Inheritance diagram for mfem::MesquiteMesh:
[legend]
Collaboration diagram for mfem::MesquiteMesh:
[legend]

Public Member Functions

 MesquiteMesh (mfem::Mesh *mfem_mesh)
 
int get_geometric_dimension (MsqError &err)
 
void get_all_elements (std::vector< ElementHandle > &elements, MsqError &err)
 
void get_all_vertices (std::vector< VertexHandle > &vertices, MsqError &err)
 
void vertices_get_coordinates (const VertexHandle vert_array[], MsqVertex *coordinates, size_t num_vtx, MsqError &err)
 
void vertex_set_coordinates (VertexHandle vertex, const Vector3D &coordinates, MsqError &err)
 
void vertex_set_byte (VertexHandle vertex, unsigned char byte, MsqError &err)
 
void vertices_set_byte (const VertexHandle *vert_array, const unsigned char *byte_array, size_t array_size, MsqError &err)
 
void vertices_get_fixed_flag (const VertexHandle vert_array[], std::vector< bool > &fixed_flag_array, size_t num_vtx, MsqError &err)
 
void vertices_set_fixed_flag (const VertexHandle vert_array[], const std::vector< bool > &fixed_flag_array, size_t num_vtx, MsqError &err)
 
void vertex_get_byte (const VertexHandle vertex, unsigned char *byte, MsqError &err)
 
void vertices_get_byte (const VertexHandle *vertex, unsigned char *byte_array, size_t array_size, MsqError &err)
 
void vertices_get_attached_elements (const VertexHandle *vertex_array, size_t num_vertex, std::vector< ElementHandle > &elements, std::vector< size_t > &offsets, MsqError &err)
 
void elements_get_attached_vertices (const ElementHandle *elem_handles, size_t num_elems, std::vector< VertexHandle > &vert_handles, std::vector< size_t > &offsets, MsqError &err)
 
void elements_get_topologies (const ElementHandle *element_handle_array, EntityTopology *element_topologies, size_t num_elements, MsqError &err)
 
 ~MesquiteMesh ()
 
void tag_attributes ()
 
void vertices_get_slaved_flag (const VertexHandle vert_array[], std::vector< bool > &slaved_flag_array, size_t num_vtx, MsqError &err)
 
TagHandle tag_create (const std::string &tag_name, TagType type, unsigned length, const void *default_value, MsqError &err)
 
void tag_delete (TagHandle handle, MsqError &err)
 
TagHandle tag_get (const std::string &name, MsqError &err)
 
void tag_properties (TagHandle handle, std::string &name_out, TagType &type_out, unsigned &length_out, MsqError &err)
 
void tag_set_element_data (TagHandle handle, size_t num_elems, const ElementHandle *elem_array, const void *tag_data, MsqError &err)
 
void tag_set_vertex_data (TagHandle handle, size_t num_elems, const VertexHandle *node_array, const void *tag_data, MsqError &err)
 
void tag_get_element_data (TagHandle handle, size_t num_elems, const ElementHandle *elem_array, void *tag_data, MsqError &err)
 
void tag_get_vertex_data (TagHandle handle, size_t num_elems, const VertexHandle *node_array, void *tag_data, MsqError &err)
 
void release_entity_handles (const EntityHandle *handle_array, size_t num_handles, MsqError &err)
 
void release ()
 

Detailed Description

Definition at line 27 of file mesquite.hpp.

Constructor & Destructor Documentation

mfem::MesquiteMesh::MesquiteMesh ( mfem::Mesh mfem_mesh)

Definition at line 456 of file mesquite.cpp.

mfem::MesquiteMesh::~MesquiteMesh ( )

Definition at line 716 of file mesquite.cpp.

Member Function Documentation

void mfem::MesquiteMesh::elements_get_attached_vertices ( const ElementHandle *  elem_handles,
size_t  num_elems,
std::vector< VertexHandle > &  vert_handles,
std::vector< size_t > &  offsets,
MsqError &  err 
)

Definition at line 625 of file mesquite.cpp.

void mfem::MesquiteMesh::elements_get_topologies ( const ElementHandle *  element_handle_array,
EntityTopology *  element_topologies,
size_t  num_elements,
MsqError &  err 
)

Definition at line 684 of file mesquite.cpp.

void mfem::MesquiteMesh::get_all_elements ( std::vector< ElementHandle > &  elements,
MsqError &  err 
)

Definition at line 506 of file mesquite.cpp.

void mfem::MesquiteMesh::get_all_vertices ( std::vector< VertexHandle > &  vertices,
MsqError &  err 
)

Definition at line 516 of file mesquite.cpp.

int mfem::MesquiteMesh::get_geometric_dimension ( MsqError &  err)

Definition at line 501 of file mesquite.cpp.

void mfem::MesquiteMesh::release ( )
inline

Definition at line 350 of file mesquite.hpp.

void mfem::MesquiteMesh::release_entity_handles ( const EntityHandle *  handle_array,
size_t  num_handles,
MsqError &  err 
)
inline

Definition at line 347 of file mesquite.hpp.

void mfem::MesquiteMesh::tag_attributes ( )

Definition at line 725 of file mesquite.cpp.

TagHandle mfem::MesquiteMesh::tag_create ( const std::string &  tag_name,
TagType  type,
unsigned  length,
const void *  default_value,
MsqError &  err 
)

Definition at line 750 of file mesquite.cpp.

void mfem::MesquiteMesh::tag_delete ( TagHandle  handle,
MsqError &  err 
)

Definition at line 763 of file mesquite.cpp.

TagHandle mfem::MesquiteMesh::tag_get ( const std::string &  name,
MsqError &  err 
)

Definition at line 768 of file mesquite.cpp.

void mfem::MesquiteMesh::tag_get_element_data ( TagHandle  handle,
size_t  num_elems,
const ElementHandle *  elem_array,
void *  tag_data,
MsqError &  err 
)

Definition at line 807 of file mesquite.cpp.

void mfem::MesquiteMesh::tag_get_vertex_data ( TagHandle  handle,
size_t  num_elems,
const VertexHandle *  node_array,
void *  tag_data,
MsqError &  err 
)

Definition at line 833 of file mesquite.cpp.

void mfem::MesquiteMesh::tag_properties ( TagHandle  handle,
std::string &  name_out,
TagType &  type_out,
unsigned &  length_out,
MsqError &  err 
)

Definition at line 779 of file mesquite.cpp.

void mfem::MesquiteMesh::tag_set_element_data ( TagHandle  handle,
size_t  num_elems,
const ElementHandle *  elem_array,
const void *  tag_data,
MsqError &  err 
)

Definition at line 794 of file mesquite.cpp.

void mfem::MesquiteMesh::tag_set_vertex_data ( TagHandle  handle,
size_t  num_elems,
const VertexHandle *  node_array,
const void *  tag_data,
MsqError &  err 
)

Definition at line 820 of file mesquite.cpp.

void mfem::MesquiteMesh::vertex_get_byte ( const VertexHandle  vertex,
unsigned char *  byte,
MsqError &  err 
)

Definition at line 581 of file mesquite.cpp.

void mfem::MesquiteMesh::vertex_set_byte ( VertexHandle  vertex,
unsigned char  byte,
MsqError &  err 
)

Definition at line 561 of file mesquite.cpp.

void mfem::MesquiteMesh::vertex_set_coordinates ( VertexHandle  vertex,
const Vector3D &  coordinates,
MsqError &  err 
)

Definition at line 550 of file mesquite.cpp.

void mfem::MesquiteMesh::vertices_get_attached_elements ( const VertexHandle *  vertex_array,
size_t  num_vertex,
std::vector< ElementHandle > &  elements,
std::vector< size_t > &  offsets,
MsqError &  err 
)

Definition at line 661 of file mesquite.cpp.

void mfem::MesquiteMesh::vertices_get_byte ( const VertexHandle *  vertex,
unsigned char *  byte_array,
size_t  array_size,
MsqError &  err 
)

Definition at line 588 of file mesquite.cpp.

void mfem::MesquiteMesh::vertices_get_coordinates ( const VertexHandle  vert_array[],
MsqVertex *  coordinates,
size_t  num_vtx,
MsqError &  err 
)

Definition at line 526 of file mesquite.cpp.

void mfem::MesquiteMesh::vertices_get_fixed_flag ( const VertexHandle  vert_array[],
std::vector< bool > &  fixed_flag_array,
size_t  num_vtx,
MsqError &  err 
)

Definition at line 600 of file mesquite.cpp.

void mfem::MesquiteMesh::vertices_get_slaved_flag ( const VertexHandle  vert_array[],
std::vector< bool > &  slaved_flag_array,
size_t  num_vtx,
MsqError &  err 
)
inline

Definition at line 302 of file mesquite.hpp.

void mfem::MesquiteMesh::vertices_set_byte ( const VertexHandle *  vert_array,
const unsigned char *  byte_array,
size_t  array_size,
MsqError &  err 
)

Definition at line 569 of file mesquite.cpp.

void mfem::MesquiteMesh::vertices_set_fixed_flag ( const VertexHandle  vert_array[],
const std::vector< bool > &  fixed_flag_array,
size_t  num_vtx,
MsqError &  err 
)

Definition at line 613 of file mesquite.cpp.


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