MeshKit
1.0
|
The wrapper for the CAMAL tet mesher. More...
#include <meshkit/CAMALTetMesher.hpp>
Public Member Functions | |
CAMALTetMesher (MKCore *mk_core, const MEntVector &me_vec) | |
Constructor. | |
~CAMALTetMesher () | |
Destructor. | |
virtual void | setup_this () |
Setup function for this mesher, simply calls setup_boundary. | |
virtual void | execute_this () |
Execute the mesher (calling CAMAL mesher on this volume) | |
virtual const moab::EntityType * | mesh_types_arr () const |
Return the mesh entity types operated on by this scheme. | |
Static Public Member Functions | |
static const char * | name () |
Get class name. | |
static bool | can_mesh (iBase_EntityType dim) |
Function returning whether this scheme can mesh entities of t the specified dimension. | |
static bool | can_mesh (ModelEnt *me) |
Function returnign whether this scheme can mesh the specified entity. | |
static const moab::EntityType * | output_types () |
Get list of mesh entity types that can be generated. | |
Static Public Attributes | |
static moab::EntityType | meshTps [] = {moab::MBVERTEX, moab::MBTET, moab::MBMAXTYPE} |
Static list of mesh types treated by this scheme. | |
Private Member Functions | |
MeshOp * | get_tri_mesher () |
Construct a MeshOp that can generate triangle elements. | |
void | print_debug (ModelEnt *me, std::vector< double > &coords, moab::Range &bdy_vrange, std::vector< moab::EntityHandle > &bdy, std::vector< int > &group_sizes, std::vector< int > &bdy_ids) |
print debug information and save input boundary mesh for CAMAL library | |
Private Attributes | |
CMLTetMesher * | cmlTetMesher |
CAMAL mesher object called by this mesher. |
The wrapper for the CAMAL tet mesher.
This class calls the CAMAL tet mesher and converts mesh to/from the required format for that mesher.
Definition at line 27 of file CAMALTetMesher.hpp.
CAMALTetMesher | ( | MKCore * | mk_core, |
const MEntVector & | me_vec | ||
) |
Constructor.
mk_core | MKCore instance |
me_vec | ModelEnts this mesher will be applied to |
Definition at line 27 of file CAMALTetMesher.cpp.
~CAMALTetMesher | ( | ) |
Destructor.
Definition at line 32 of file CAMALTetMesher.cpp.
static bool can_mesh | ( | iBase_EntityType | dim | ) | [inline, static] |
Function returning whether this scheme can mesh entities of t the specified dimension.
dim | entity dimension |
Definition at line 61 of file CAMALTetMesher.hpp.
Function returnign whether this scheme can mesh the specified entity.
Used by MeshOpFactory to find scheme for an entity.
me | ModelEnt being queried |
Definition at line 70 of file CAMALTetMesher.hpp.
void execute_this | ( | ) | [virtual] |
Execute the mesher (calling CAMAL mesher on this volume)
Implements GraphNode.
Definition at line 76 of file CAMALTetMesher.cpp.
MeshOp * get_tri_mesher | ( | ) | [private] |
Construct a MeshOp that can generate triangle elements.
Definition at line 36 of file CAMALTetMesher.cpp.
virtual const moab::EntityType* mesh_types_arr | ( | ) | const [inline, virtual] |
Return the mesh entity types operated on by this scheme.
moab::MBMAXTYPE
Implements MeshOp.
Definition at line 82 of file CAMALTetMesher.hpp.
static const char* name | ( | ) | [inline, static] |
Get class name.
Definition at line 54 of file CAMALTetMesher.hpp.
static const moab::EntityType* output_types | ( | ) | [inline, static] |
Get list of mesh entity types that can be generated.
moab::MBMAXTYPE
Definition at line 76 of file CAMALTetMesher.hpp.
void print_debug | ( | ModelEnt * | me, |
std::vector< double > & | coords, | ||
moab::Range & | bdy_vrange, | ||
std::vector< moab::EntityHandle > & | bdy, | ||
std::vector< int > & | group_sizes, | ||
std::vector< int > & | bdy_ids | ||
) | [private] |
print debug information and save input boundary mesh for CAMAL library
Definition at line 156 of file CAMALTetMesher.cpp.
void setup_this | ( | ) | [virtual] |
Setup function for this mesher, simply calls setup_boundary.
Implements GraphNode.
Definition at line 42 of file CAMALTetMesher.cpp.
CMLTetMesher* cmlTetMesher [private] |
CAMAL mesher object called by this mesher.
Definition at line 102 of file CAMALTetMesher.hpp.
moab::EntityType meshTps = {moab::MBVERTEX, moab::MBTET, moab::MBMAXTYPE} [static] |
Static list of mesh types treated by this scheme.
Definition at line 50 of file CAMALTetMesher.hpp.