MeshKit  1.0
NGTetMesher Class Reference

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

#include <meshkit/NGTetMesher.hpp>

Inheritance diagram for NGTetMesher:

List of all members.

Public Member Functions

 NGTetMesher (MKCore *mk_core, const MEntVector &me_vec)
 Constructor.
 ~NGTetMesher ()
 Destructor.
virtual void setup_this ()
 Setup function for this mesher, simply calls setup_boundary.
virtual void execute_this ()
 Execute the mesher (calling Netgen 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 returning 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 bool meshopRegistered
 Static variable for registering this meshop.
static iBase_EntityType geomTps []
 Static list of geometry types treated by this scheme.
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.

Detailed Description

The wrapper for the Netgen tet mesher.

This class calls the Netgen tet mesher and converts mesh to/from the required format for that mesher.

Examples:
example_ngtetmesher.cpp.

Definition at line 27 of file NGTetMesher.hpp.


Constructor & Destructor Documentation

NGTetMesher ( MKCore mk_core,
const MEntVector me_vec 
)

Constructor.

Parameters:
mk_coreMKCore instance
me_vecModelEnts this mesher will be applied to

Definition at line 20 of file NGTetMesher.cpp.

Destructor.

Definition at line 25 of file NGTetMesher.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 69 of file NGTetMesher.hpp.

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

Function returning 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 78 of file NGTetMesher.hpp.

void execute_this ( ) [virtual]

Execute the mesher (calling Netgen mesher on this volume)

Implements GraphNode.

Definition at line 70 of file NGTetMesher.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 29 of file NGTetMesher.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 90 of file NGTetMesher.hpp.

static const char* name ( ) [inline, static]

Get class name.

Definition at line 62 of file NGTetMesher.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 84 of file NGTetMesher.hpp.

void setup_this ( ) [virtual]

Setup function for this mesher, simply calls setup_boundary.

Implements GraphNode.

Definition at line 37 of file NGTetMesher.cpp.


Member Data Documentation

iBase_EntityType geomTps[] [static]

Static list of geometry types treated by this scheme.

Definition at line 54 of file NGTetMesher.hpp.

bool meshopRegistered [static]

Static variable for registering this meshop.

Definition at line 50 of file NGTetMesher.hpp.

moab::EntityType meshTps = {moab::MBVERTEX, moab::MBTET, moab::MBMAXTYPE} [static]

Static list of mesh types treated by this scheme.

Definition at line 58 of file NGTetMesher.hpp.


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