Overture
Version 25
|
Base class for regions. More...
#include <smesh.hh>
Public Types | |
typedef std::vector< Curve * > ::iterator | curve_iterator |
Public Member Functions | |
Region (real dx=.1, real dy=.1, std::string nm="") | |
virtual | ~Region () |
void | addCurve (Curve *c) |
add a curve to the region, resetting the reference grid accordingly | |
void | delCurve (Curve *c) |
delete a curve from the region | |
curve_iterator | curve_begin () |
curve_iterator | curve_end () |
int | numberOfCurves () const |
virtual int | numberOfVertices ()=0 |
virtual int | numberOfElements ()=0 |
virtual ArraySimpleFixed< int, 4, 1, 1, 1 > | getElement (int e)=0 |
virtual Mapping & | getMapping ()=0 |
virtual ArraySimple< int > & | getGridIDList ()=0 |
virtual ArraySimple< real > & | getVertices ()=0 |
virtual void | resetIDList () |
const SquareMapping & | getReferenceGrid () const |
get the reference grid used to guide the mesh spacing | |
real | getDx () const |
real | getDy () const |
void | setDx (real d) |
void | setDy (real d) |
std::string | getName () const |
void | setName (std::string nm) |
int | ID () const |
Protected Member Functions | |
void | specifyReferenceGridBounds (real x1, real y1, real x2, real y2) |
void | resetReferenceGrid () |
Protected Attributes | |
real | dxRef |
real | dyRef |
ArraySimple< int > | gridIDList |
Base class for regions.
typedef std::vector<Curve *>::iterator Region::curve_iterator |
|
inlinevirtual |
References curve_begin(), curve_end(), and delCurve().
|
inline |
add a curve to the region, resetting the reference grid accordingly
References Curve::getRangeBound(), SquareMapping::getVertices(), max(), min(), Curve::region_1(), Curve::region_2(), and specifyReferenceGridBounds().
|
inline |
Referenced by ~Region().
|
inline |
Referenced by ~Region().
|
inline |
|
pure virtual |
Implemented in UnstructuredRegion, and TFIRegion.
|
pure virtual |
Implemented in UnstructuredRegion, and TFIRegion.
|
pure virtual |
Implemented in UnstructuredRegion, and TFIRegion.
|
inline |
Referenced by main().
|
inline |
get the reference grid used to guide the mesh spacing
|
pure virtual |
Implemented in UnstructuredRegion, and TFIRegion.
|
inline |
Referenced by main().
|
inline |
|
pure virtual |
Implemented in UnstructuredRegion, and TFIRegion.
|
pure virtual |
Implemented in UnstructuredRegion, and TFIRegion.
|
inlinevirtual |
References gridIDList.
|
inline |
References dxRef, and resetReferenceGrid().
|
inline |
References dyRef, and resetReferenceGrid().
|
inline |
Referenced by main().
Referenced by addCurve().
|
protected |
Referenced by resetIDList().