MeshKit  1.0
MeshRefine2D Class Reference

2D Mesh Refinement class. More...

#include <MeshRefine2D.hpp>

Inheritance diagram for MeshRefine2D:

List of all members.


class  RefinedEdgeMap

Public Member Functions

 MeshRefine2D ()
virtual ~MeshRefine2D ()
void setMesh (Mesh *m)
void setBoundarySplitFlag (bool f)
const NodeSequencegetNewNodes () const
const FaceSequencegetNewFaces () const
size_t getNumFacesRefined () const
virtual int execute ()=0
virtual int initialize ()
void setNumOfIterations (int i)
void setAspectRatio (double a)
void setDesiredArea (double a)
void setMinimumAngle (double a)
void setMaximumAngle (double a)
void setFeatureAngle (double a)
void setMaximumCells (size_t a)

Protected Member Functions

int finalize ()
void append_new_node (Vertex *v0)
Faceappend_new_triangle (Vertex *v0, Vertex *v1, Vertex *v2)
Faceappend_new_quad (Vertex *v0, Vertex *v1, Vertex *v2, Vertex *v3)
void remove_it (Face *face)

Protected Attributes

FaceSequence insertedFaces
NodeSequence hangingVertex
NodeSequence insertedNodes
int numIterations
bool boundary_split_flag
size_t numfacesRefined
double desiredAspectRatio
double desiredArea
double desiredMinAngle
double desiredMaxAngle
double featureAngle
size_t maxAllowedCells

Detailed Description

2D Mesh Refinement class.

Definition at line 71 of file MeshRefine2D.hpp.

Constructor & Destructor Documentation

MeshRefine2D ( ) [inline]

Definition at line 75 of file MeshRefine2D.hpp.

virtual ~MeshRefine2D ( ) [inline, virtual]

Definition at line 79 of file MeshRefine2D.hpp.

Member Function Documentation

void append_new_node ( Vertex v0) [protected]

Definition at line 118 of file MeshRefine2D.cpp.

Face * append_new_quad ( Vertex v0,
Vertex v1,
Vertex v2,
Vertex v3 
) [protected]

Definition at line 142 of file MeshRefine2D.cpp.

Face * append_new_triangle ( Vertex v0,
Vertex v1,
Vertex v2 
) [protected]

Definition at line 126 of file MeshRefine2D.cpp.

int finalize ( ) [protected]

Reimplemented in GradeRefine2D, and DelaunayRefinement2D.

Definition at line 16 of file MeshRefine2D.cpp.

const FaceSequence& getNewFaces ( ) const [inline]

Definition at line 88 of file MeshRefine2D.hpp.

const NodeSequence& getNewNodes ( ) const [inline]

Definition at line 87 of file MeshRefine2D.hpp.

size_t getNumFacesRefined ( ) const [inline]

Definition at line 90 of file MeshRefine2D.hpp.

int initialize ( ) [virtual]

Reimplemented in GradeRefine2D, ObtuseRefine2D, DelaunayRefinement2D, and Refine2D14.

Definition at line 7 of file MeshRefine2D.cpp.

void remove_it ( Face face) [inline, protected]

Definition at line 165 of file MeshRefine2D.hpp.

void setAspectRatio ( double  a) [inline]

Definition at line 99 of file MeshRefine2D.hpp.

void setBoundarySplitFlag ( bool  f) [inline]

Definition at line 85 of file MeshRefine2D.hpp.

void setDesiredArea ( double  a) [inline]

Definition at line 100 of file MeshRefine2D.hpp.

void setFeatureAngle ( double  a) [inline]

Definition at line 103 of file MeshRefine2D.hpp.

void setMaximumAngle ( double  a) [inline]

Definition at line 102 of file MeshRefine2D.hpp.

void setMaximumCells ( size_t  a) [inline]

Definition at line 104 of file MeshRefine2D.hpp.

void setMesh ( Mesh m) [inline]

Definition at line 81 of file MeshRefine2D.hpp.

void setMinimumAngle ( double  a) [inline]

Definition at line 101 of file MeshRefine2D.hpp.

void setNumOfIterations ( int  i) [inline]

Definition at line 96 of file MeshRefine2D.hpp.

Member Data Documentation

bool boundary_split_flag [protected]

Definition at line 151 of file MeshRefine2D.hpp.

double desiredArea [protected]

Definition at line 154 of file MeshRefine2D.hpp.

double desiredAspectRatio [protected]

Definition at line 154 of file MeshRefine2D.hpp.

double desiredMaxAngle [protected]

Definition at line 155 of file MeshRefine2D.hpp.

double desiredMinAngle [protected]

Definition at line 155 of file MeshRefine2D.hpp.

RefinedEdgeMap* edgemap [protected]

Definition at line 145 of file MeshRefine2D.hpp.

double featureAngle [protected]

Definition at line 156 of file MeshRefine2D.hpp.

Definition at line 148 of file MeshRefine2D.hpp.

Definition at line 147 of file MeshRefine2D.hpp.

Definition at line 148 of file MeshRefine2D.hpp.

size_t maxAllowedCells [protected]

Definition at line 157 of file MeshRefine2D.hpp.

Mesh* mesh [protected]

Definition at line 107 of file MeshRefine2D.hpp.

size_t numfacesRefined [protected]

Definition at line 152 of file MeshRefine2D.hpp.

int numIterations [protected]

Definition at line 150 of file MeshRefine2D.hpp.

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