MeshKit  1.0
QuadMesher Class Reference

Triangle to Quad Transformation. More...

#include <QuadMesh.hpp>

Inheritance diagram for QuadMesher:

List of all members.

Public Types

enum  MeshCleanOps { LOCAL_MESH_CLEANUP, GLOBAL_MESH_CLEANUP }

Public Member Functions

 QuadMesher (MKCore *mk_core, const MEntVector &me_vec)
 ~QuadMesher ()
virtual void setup_this ()
 Pure virtual, derived class must define.
virtual void execute_this ()
 Pure virtual, derived class must define.
virtual const moab::EntityType * mesh_types_arr () const
 Return the mesh entity types operated on by this scheme.
void allow_boundary_steiner_points (bool a=0)
 Should we allow boundary modification. By Default: No. When boundary is not allowed to modify and if the number of segments are not even, "All Quads" not possible.
void mesh_cleanup (MeshCleanOps mcleanup=GLOBAL_MESH_CLEANUP)
 Performs mesh clean to reduce the irreguarity of the of the quad mesh.

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.

Detailed Description

Triangle to Quad Transformation.

Examples:
example_jaalquad.cpp.

Definition at line 25 of file QuadMesh.hpp.


Member Enumeration Documentation

Enumerator:
LOCAL_MESH_CLEANUP 
GLOBAL_MESH_CLEANUP 

Definition at line 28 of file QuadMesh.hpp.


Constructor & Destructor Documentation

QuadMesher ( MKCore mk_core,
const MEntVector me_vec 
)

Definition at line 19 of file QuadMesh.cpp.

~QuadMesher ( ) [inline]

Definition at line 33 of file QuadMesh.hpp.


Member Function Documentation

void allow_boundary_steiner_points ( bool  a = 0)

Should we allow boundary modification. By Default: No. When boundary is not allowed to modify and if the number of segments are not even, "All Quads" not possible.

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 48 of file QuadMesh.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 57 of file QuadMesh.hpp.

void execute_this ( ) [virtual]

Pure virtual, derived class must define.

Implements GraphNode.

Definition at line 70 of file QuadMesh.cpp.

Performs mesh clean to reduce the irreguarity of the of the quad mesh.

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 69 of file QuadMesh.hpp.

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

Get class name.

Definition at line 42 of file QuadMesh.hpp.

const moab::EntityType * output_types ( ) [static]

Get list of mesh entity types that can be generated.

Returns:
array terminated with moab::MBMAXTYPE

Definition at line 14 of file QuadMesh.cpp.

void setup_this ( ) [virtual]

Pure virtual, derived class must define.

Implements GraphNode.

Definition at line 26 of file QuadMesh.cpp.


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