MeshKit  1.0
AF2DfltTriangleMeshOp Class Reference

#include <AF2DfltTriangleMeshOp.hpp>

Inheritance diagram for AF2DfltTriangleMeshOp:

List of all members.

Public Member Functions

 AF2DfltTriangleMeshOp (MKCore *meshkitCore, const MEntVector &meshEntVec)
 Constructor.
virtual ~AF2DfltTriangleMeshOp ()
 Destructor.
 AF2DfltTriangleMeshOp (const AF2DfltTriangleMeshOp &toCopy)
 Copy constructor.
AF2DfltTriangleMeshOpoperator= (const AF2DfltTriangleMeshOp &rhs)
 Assignment operator (throws exception)
virtual void execute_this ()
 Execute an advancing front algorithm with the default triangle rules.
virtual const moab::EntityType * mesh_types_arr () const
 Get the mesh entity types that this mesh operation might create.
virtual void setup_this ()
 Implement GraphNode::setup_this() to set up edge meshers on any bounding facets that don't have edge meshing set up.

Static Public Member Functions

static bool can_mesh (iBase_EntityType dimension)
 Implement RegisterMeshOp<AF2DfltTriangleMeshOp>::can_mesh(iBase_EntityType)
static bool can_mesh (ModelEnt *me)
 Implement RegisterMeshOp<AF2DfltTriangleMeshOp>::can_mesh(ModelEnt*)
static const char * name ()
 Implement RegisterMeshOp<AF2DfltTriangleMeshOp>::name()
static const moab::EntityType * output_types ()
 Implement RegisterMeshOp<AF2DfltTriangleMeshOp>::output_types()

Private Member Functions

int getSFIndex () const
 Get the index of the sizing function that is expected to be the effective sizing function for the specified ModelEnt if/when this MeshOp is executed.

Static Private Attributes

static moab::EntityType meshTypes []

Detailed Description

Definition at line 25 of file AF2DfltTriangleMeshOp.hpp.


Constructor & Destructor Documentation

AF2DfltTriangleMeshOp ( MKCore meshkitCore,
const MEntVector meshEntVec 
)

Constructor.

Construct an AF2DfltTriangleMeshOp from the MKCore context that it will operate in and the vector of MeshKit entities, which should correspond to geometric surfaces, that it is supposed to mesh.

Parameters:
meshkitCorea pointer to the MKCore instance
meshEntVecthe vector of entities that the AF2DfltTriangleMeshOp should attempt to mesh

Definition at line 51 of file AF2DfltTriangleMeshOp.cpp.

~AF2DfltTriangleMeshOp ( ) [virtual]

Destructor.

Definition at line 58 of file AF2DfltTriangleMeshOp.cpp.

Copy constructor.

Initializes a copy of this using the superclass's copy constructor. In the current implementation (May 2016), this will ultimately create a new graph node and add it to the graph.

Parameters:
toCopythe AF2DfltTriangleMeshOp that should be copied as this AF2DfltTriangleMeshOp is constructed

Definition at line 63 of file AF2DfltTriangleMeshOp.cpp.


Member Function Documentation

bool can_mesh ( iBase_EntityType  dimension) [static]

Implement RegisterMeshOp<AF2DfltTriangleMeshOp>::can_mesh(iBase_EntityType)

Returns:
true if the dimension is iBase_FACE, false otherwise

Definition at line 31 of file AF2DfltTriangleMeshOp.cpp.

bool can_mesh ( ModelEnt me) [static]

Implement RegisterMeshOp<AF2DfltTriangleMeshOp>::can_mesh(ModelEnt*)

Returns:
true if the ModelEnt is a face, i.e., if MeshOp::canmesh_face returns true, false otherwise

Definition at line 36 of file AF2DfltTriangleMeshOp.cpp.

void execute_this ( ) [virtual]

Execute an advancing front algorithm with the default triangle rules.

This method depends on the completed execution of edge meshing for all edges bounding the face. It extracts the meshes of the bounding geometric edges and uses them to initialize the advancing front.

If the algorithm succeeds, the new vertices and triangles are committed to the mesh in MOAB.

Implements GraphNode.

Definition at line 78 of file AF2DfltTriangleMeshOp.cpp.

int getSFIndex ( ) const [private]

Get the index of the sizing function that is expected to be the effective sizing function for the specified ModelEnt if/when this MeshOp is executed.

The sizing function set on the ModelEnt will be used only if the size is greater than zero.

Returns:
const moab::EntityType * mesh_types_arr ( ) const [virtual]

Get the mesh entity types that this mesh operation might create.

Returns:
a pointer to an array containing the elements moab::MBVERTEX moab::MBTRI moab::MBMAXTYPE

Implements MeshOp.

Definition at line 261 of file AF2DfltTriangleMeshOp.cpp.

const char * name ( ) [static]

Implement RegisterMeshOp<AF2DfltTriangleMeshOp>::name()

Returns:
"AF2DfltTriangleMeshOp"

Definition at line 41 of file AF2DfltTriangleMeshOp.cpp.

AF2DfltTriangleMeshOp & operator= ( const AF2DfltTriangleMeshOp rhs)

Assignment operator (throws exception)

The superclasses do not implement an assignment operator. Thus this class does not support an assignment operator, and in order to be explicit about that, it throws an exception if an assignment is attempted.

Parameters:
rhsthe AF2DfltTriangleMeshOp that is to be assigned to this AF2DfltTriangleMeshOp
Returns:
a reference to this AF2DfltTriangleMeshOp after the assignment has occurred

Definition at line 69 of file AF2DfltTriangleMeshOp.cpp.

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

Implement RegisterMeshOp<AF2DfltTriangleMeshOp>::output_types()

Return an appropriately terminated array indicating that this MeshOp can add vertices and triangles to the mesh.

Returns:
a pointer to an array containing the elements moab::MBVERTEX moab::MBTRI moab::MBMAXTYPE

Definition at line 46 of file AF2DfltTriangleMeshOp.cpp.

void setup_this ( ) [virtual]

Implement GraphNode::setup_this() to set up edge meshers on any bounding facets that don't have edge meshing set up.

This method also ensures that the graph dependencies from this node to whatever edge meshing needs to be done are set up.

Implements GraphNode.

Definition at line 266 of file AF2DfltTriangleMeshOp.cpp.


Member Data Documentation

moab::EntityType meshTypes [static, private]
Initial value:
    {moab::MBVERTEX, moab::MBTRI, moab::MBMAXTYPE}

Definition at line 29 of file AF2DfltTriangleMeshOp.hpp.


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