MeshKit
1.0
|
#include <ParallelMesher.hpp>
Public Member Functions | |
ParallelMesher (MKCore *mkcore, const MEntVector &me_vec) | |
virtual | ~ParallelMesher () |
virtual const moab::EntityType * | mesh_types_arr () const |
Return the mesh entity types operated on by this scheme. | |
virtual void | setup_this () |
Setup is a no-op, but must be provided since it's pure virtual. | |
virtual void | execute_this () |
void | set_mesh_size (double size, int interval) |
set mesh size | |
void | print_mesh () |
void | print_geom_info (ModelEnt *me, const int dim, const bool local) |
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 Member Functions | |
MeshOp * | get_mesher (PARALLEL_OP_TYPE type) |
Construct a MeshOp that can generate input type elements. | |
void | add_parallel_mesh_op (PARALLEL_OP_TYPE type, bool after=false) |
insert mesh operation for parallel meshing | |
void | check_partition (TDParallel *td_par, ModelEnt *me, int dim) |
Private Attributes | |
ParallelComm * | m_mpcomm |
unsigned int | m_rank |
iBase_TagHandle | m_mPuniqueIDTag |
std::vector< MEntSet > | m_sEntity |
Definition at line 36 of file ParallelMesher.hpp.
ParallelMesher | ( | MKCore * | mkcore, |
const MEntVector & | me_vec | ||
) |
Definition at line 29 of file ParallelMesher.cpp.
~ParallelMesher | ( | ) | [virtual] |
Definition at line 46 of file ParallelMesher.cpp.
void add_parallel_mesh_op | ( | PARALLEL_OP_TYPE | type, |
bool | after = false |
||
) | [private] |
insert mesh operation for parallel meshing
type | type of parallel operation |
after | if insert after this mesh operation |
Definition at line 221 of file ParallelMesher.cpp.
static bool can_mesh | ( | iBase_EntityType | dim | ) | [inline, static] |
Function returning whether this scheme can mesh entities of t the specified dimension.
dim | entity dimension |
Definition at line 52 of file ParallelMesher.hpp.
Function returning whether this scheme can mesh the specified entity.
Used by MeshOpFactory to find scheme for an entity.
me | ModelEnt being queried |
Definition at line 61 of file ParallelMesher.hpp.
void check_partition | ( | TDParallel * | td_par, |
ModelEnt * | me, | ||
int | dim | ||
) | [private] |
Definition at line 155 of file ParallelMesher.cpp.
void execute_this | ( | ) | [virtual] |
\ The only setup/execute function we need, since meshing vertices is trivial
Implements GraphNode.
Definition at line 257 of file ParallelMesher.cpp.
MeshOp * get_mesher | ( | PARALLEL_OP_TYPE | type | ) | [private] |
Construct a MeshOp that can generate input type elements.
type | type of parallel operation |
Definition at line 51 of file ParallelMesher.cpp.
virtual const moab::EntityType* mesh_types_arr | ( | ) | const [inline, virtual] |
Return the mesh entity types operated on by this scheme.
moab::MBMAXTYPE
Implements MeshOp.
Definition at line 72 of file ParallelMesher.hpp.
static const char* name | ( | ) | [inline, static] |
Get class name.
Definition at line 45 of file ParallelMesher.hpp.
const moab::EntityType * output_types | ( | ) | [static] |
Get list of mesh entity types that can be generated.
moab::MBMAXTYPE
Definition at line 26 of file ParallelMesher.cpp.
void print_geom_info | ( | ModelEnt * | me, |
const int | dim, | ||
const bool | local | ||
) |
Definition at line 205 of file ParallelMesher.cpp.
void print_mesh | ( | ) |
Definition at line 261 of file ParallelMesher.cpp.
void set_mesh_size | ( | double | size, |
int | interval | ||
) |
set mesh size
size | mesh size |
interval | # of interval |
void setup_this | ( | ) | [virtual] |
Setup is a no-op, but must be provided since it's pure virtual.
Implements GraphNode.
Definition at line 88 of file ParallelMesher.cpp.
ParallelComm* m_mpcomm [private] |
Definition at line 113 of file ParallelMesher.hpp.
iBase_TagHandle m_mPuniqueIDTag [private] |
Definition at line 117 of file ParallelMesher.hpp.
unsigned int m_rank [private] |
Definition at line 115 of file ParallelMesher.hpp.
Definition at line 119 of file ParallelMesher.hpp.