MeshKit
1.0
|
2D Mesh Refinement class. More...
#include <iMeshRefine2D.hpp>
Public Member Functions | |
MeshRefine2D () | |
virtual | ~MeshRefine2D () |
void | setMesh (iMesh_Instance &m) |
void | setGeometry (const iGeom_Instance &g) |
void | setBoundarySplitFlag (bool f) |
vector< iBase_EntityHandle > | getNewNodes () const |
vector< iBase_EntityHandle > | getNewFaces () const |
size_t | getNumFacesRefined () const |
virtual int | execute ()=0 |
virtual int | initialize () |
Protected Types | |
typedef iBase_EntityHandle | EHandle |
Protected Member Functions | |
int | finalize () |
int | setVertexOnEdge (EHandle v1, EHandle v2, EHandle &vmid) |
int | getVertexOnEdge (EHandle v1, EHandle v2, EHandle &vmid) const |
bool | searchEdge (EHandle v1, EHandle v2, EHandle &edgehandle) const |
bool | allow_edge_refinement (EHandle &edgehandle) const |
double | edge_length (EHandle v1, EHandle v2) const |
Point3D | edge_centroid (EHandle v1, EHandle v2) const |
double | face_aspect_ratio (EHandle v1) const |
Point3D | face_centroid (EHandle f) const |
int | getVertexCoords (EHandle vHandle, Point3D &p3d) const |
void | setVertexCoords (EHandle f, const Point3D &p) |
EHandle | create_new_edge (EHandle v1, EHandle v2) |
int | prune_mesh () |
Protected Attributes | |
int | numIterations |
iBase_TagHandle | remove_tag |
iBase_TagHandle | vertex_on_edge_tag |
iBase_TagHandle | boundary_tag |
iBase_TagHandle | globalID_tag |
iBase_EntitySetHandle | rootSet |
iBase_EntitySetHandle | currSet |
vector< iBase_EntitySetHandle > | entitySets |
iMesh_Instance | mesh |
iGeom_Instance | geom |
vector< EHandle > | hangingVertex |
vector< EHandle > | insertedNodes |
vector< EHandle > | insertedFaces |
bool | boundary_split_flag |
size_t | numfacesRefined |
2D Mesh Refinement class.
Definition at line 78 of file iMeshRefine2D.hpp.
typedef iBase_EntityHandle EHandle [protected] |
Reimplemented in ConsistencyRefine2D.
Definition at line 104 of file iMeshRefine2D.hpp.
MeshRefine2D | ( | ) | [inline] |
Definition at line 82 of file iMeshRefine2D.hpp.
virtual ~MeshRefine2D | ( | ) | [inline, virtual] |
Definition at line 85 of file iMeshRefine2D.hpp.
bool allow_edge_refinement | ( | EHandle & | edgehandle | ) | const [protected] |
Definition at line 89 of file iMeshRefine2D.cpp.
iBase_EntityHandle create_new_edge | ( | EHandle | v1, |
EHandle | v2 | ||
) | [protected] |
Definition at line 103 of file iMeshRefine2D.cpp.
Point3D edge_centroid | ( | EHandle | v1, |
EHandle | v2 | ||
) | const [protected] |
Definition at line 119 of file iMeshRefine2D.cpp.
double edge_length | ( | EHandle | v1, |
EHandle | v2 | ||
) | const [protected] |
Definition at line 145 of file iMeshRefine2D.cpp.
virtual int execute | ( | ) | [pure virtual] |
Implemented in GradeRefine2D, ObtuseRefine2D, DelaunayRefinement2D, Refine2D14, LongestEdgeRefine2D, ConsistencyRefine2D, CentroidRefine2D, and Sqrt3Refine2D.
double face_aspect_ratio | ( | EHandle | v1 | ) | const [protected] |
Definition at line 197 of file iMeshRefine2D.cpp.
Point3D face_centroid | ( | EHandle | f | ) | const [protected] |
Definition at line 167 of file iMeshRefine2D.cpp.
int finalize | ( | ) | [protected] |
Reimplemented in GradeRefine2D, and DelaunayRefinement2D.
Definition at line 34 of file iMeshRefine2D.cpp.
vector<iBase_EntityHandle> getNewFaces | ( | ) | const [inline] |
Definition at line 93 of file iMeshRefine2D.hpp.
vector<iBase_EntityHandle> getNewNodes | ( | ) | const [inline] |
Definition at line 92 of file iMeshRefine2D.hpp.
size_t getNumFacesRefined | ( | ) | const [inline] |
Definition at line 95 of file iMeshRefine2D.hpp.
int getVertexCoords | ( | EHandle | vHandle, |
Point3D & | p3d | ||
) | const [inline, protected] |
Definition at line 134 of file iMeshRefine2D.hpp.
int getVertexOnEdge | ( | EHandle | v1, |
EHandle | v2, | ||
EHandle & | vmid | ||
) | const [protected] |
Definition at line 262 of file iMeshRefine2D.cpp.
int initialize | ( | ) | [virtual] |
Reimplemented in GradeRefine2D, ObtuseRefine2D, DelaunayRefinement2D, Refine2D14, LongestEdgeRefine2D, ConsistencyRefine2D, and CentroidRefine2D.
Definition at line 5 of file iMeshRefine2D.cpp.
int prune_mesh | ( | ) | [protected] |
bool searchEdge | ( | EHandle | v1, |
EHandle | v2, | ||
EHandle & | edgehandle | ||
) | const [protected] |
Definition at line 65 of file iMeshRefine2D.cpp.
void setBoundarySplitFlag | ( | bool | f | ) | [inline] |
Definition at line 90 of file iMeshRefine2D.hpp.
void setGeometry | ( | const iGeom_Instance & | g | ) | [inline] |
Definition at line 88 of file iMeshRefine2D.hpp.
void setMesh | ( | iMesh_Instance & | m | ) | [inline] |
Definition at line 87 of file iMeshRefine2D.hpp.
void setVertexCoords | ( | EHandle | f, |
const Point3D & | p | ||
) | [protected] |
int setVertexOnEdge | ( | EHandle | v1, |
EHandle | v2, | ||
EHandle & | vmid | ||
) | [protected] |
Definition at line 225 of file iMeshRefine2D.cpp.
bool boundary_split_flag [protected] |
Definition at line 119 of file iMeshRefine2D.hpp.
iBase_TagHandle boundary_tag [protected] |
Definition at line 107 of file iMeshRefine2D.hpp.
iBase_EntitySetHandle currSet [protected] |
Definition at line 109 of file iMeshRefine2D.hpp.
vector<iBase_EntitySetHandle> entitySets [protected] |
Definition at line 110 of file iMeshRefine2D.hpp.
iGeom_Instance geom [protected] |
Definition at line 113 of file iMeshRefine2D.hpp.
iBase_TagHandle globalID_tag [protected] |
Definition at line 107 of file iMeshRefine2D.hpp.
vector<EHandle> hangingVertex [protected] |
Definition at line 115 of file iMeshRefine2D.hpp.
vector<EHandle> insertedFaces [protected] |
Definition at line 117 of file iMeshRefine2D.hpp.
vector<EHandle> insertedNodes [protected] |
Definition at line 116 of file iMeshRefine2D.hpp.
iMesh_Instance mesh [protected] |
Definition at line 112 of file iMeshRefine2D.hpp.
size_t numfacesRefined [protected] |
Definition at line 120 of file iMeshRefine2D.hpp.
int numIterations [protected] |
Definition at line 105 of file iMeshRefine2D.hpp.
iBase_TagHandle remove_tag [protected] |
Definition at line 107 of file iMeshRefine2D.hpp.
iBase_EntitySetHandle rootSet [protected] |
Definition at line 109 of file iMeshRefine2D.hpp.
iBase_TagHandle vertex_on_edge_tag [protected] |
Definition at line 107 of file iMeshRefine2D.hpp.