MeshKit  1.0
CAMALTetMesher Class Reference

The wrapper for the CAMAL tet mesher. More...

#include <meshkit/CAMALTetMesher.hpp>

Inheritance diagram for CAMALTetMesher:

List of all members.

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

MeshOpget_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.

Detailed Description

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.


Constructor & Destructor Documentation

CAMALTetMesher ( MKCore mk_core,
const MEntVector me_vec 
)

Constructor.

Parameters:
mk_coreMKCore instance
me_vecModelEnts this mesher will be applied to

Definition at line 27 of file CAMALTetMesher.cpp.

Destructor.

Definition at line 32 of file CAMALTetMesher.cpp.


Member Function Documentation

static bool can_mesh ( iBase_EntityType  dim) [inline, static]

Function returning whether this scheme can mesh entities of t the specified dimension.

Parameters:
dimentity dimension

Definition at line 61 of file CAMALTetMesher.hpp.

static bool can_mesh ( ModelEnt me) [inline, static]

Function returnign whether this scheme can mesh the specified entity.

Used by MeshOpFactory to find scheme for an entity.

Parameters:
meModelEnt being queried
Returns:
If true, this scheme can mesh the specified ModelEnt

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.

Returns:
A MeshOp that can generate tri 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.

Returns:
array terminated with 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.

Returns:
array terminated with 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.


Member Data Documentation

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines