MeshKit  1.0
MeshOpTemplate Class Reference

#include <MeshOpTemplate.hpp>

Inheritance diagram for MeshOpTemplate:

List of all members.

Public Member Functions

 MeshOpTemplate (MKCore *mkcore, const MEntVector &me_vec)
virtual ~MeshOpTemplate ()
virtual const moab::EntityType * mesh_types_arr () const
 Return the mesh entity types operated on by this scheme.
virtual bool add_modelent (ModelEnt *model_ent)
 Re-implemented here so we can check topological dimension of model_ent.
virtual void setup_this ()
 Setup is a no-op, but must be provided since it's pure virtual.
virtual void execute_this ()
 The only setup/execute function we need, since meshing vertices is trivial.
void set_size (const Vector< 3 > &dx)
void tag_copied_sets (const char **tag_names, const char **tag_vals, const int num_tags)

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.

Private Attributes

iGeomigeomImpl
Vector< 3 > s_x

Detailed Description

Examples:
example_basic.cpp, and example_meshoptemplate.cpp.

Definition at line 25 of file MeshOpTemplate.hpp.


Constructor & Destructor Documentation

MeshOpTemplate ( MKCore mkcore,
const MEntVector me_vec 
)

Definition at line 24 of file MeshOpTemplate.cpp.

~MeshOpTemplate ( ) [virtual]

Definition at line 34 of file MeshOpTemplate.cpp.


Member Function Documentation

bool add_modelent ( ModelEnt model_ent) [virtual]

Re-implemented here so we can check topological dimension of model_ent.

Parameters:
model_entModelEnt being added

Reimplemented from MeshOp.

Definition at line 37 of file MeshOpTemplate.cpp.

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 95 of file MeshOpTemplate.hpp.

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 102 of file MeshOpTemplate.hpp.

void execute_this ( ) [virtual]

The only setup/execute function we need, since meshing vertices is trivial.

Implements GraphNode.

Definition at line 46 of file MeshOpTemplate.cpp.

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 107 of file MeshOpTemplate.hpp.

const char * name ( ) [inline, static]

Get class name.

Definition at line 90 of file MeshOpTemplate.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 21 of file MeshOpTemplate.cpp.

void set_size ( const Vector< 3 > &  dx)

Definition at line 81 of file MeshOpTemplate.cpp.

void setup_this ( ) [virtual]

Setup is a no-op, but must be provided since it's pure virtual.

Implements GraphNode.

Definition at line 42 of file MeshOpTemplate.cpp.

void tag_copied_sets ( const char **  tag_names,
const char **  tag_vals,
const int  num_tags 
)

Definition at line 86 of file MeshOpTemplate.cpp.


Member Data Documentation

iGeom* igeomImpl [private]

Definition at line 86 of file MeshOpTemplate.hpp.

Vector<3> s_x [private]

Definition at line 87 of file MeshOpTemplate.hpp.


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