Overture  Version 25
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
UnstructuredRegion Class Reference

A region generated using a hybrid/unstructured mesh. More...

#include <smesh.hh>

Inheritance diagram for UnstructuredRegion:
Inheritance graph
[legend]
Collaboration diagram for UnstructuredRegion:
Collaboration graph
[legend]

Public Member Functions

 UnstructuredRegion (real dx=.1, real dy=.1)
 
 ~UnstructuredRegion ()
 
virtual MappinggetMapping ()
 
virtual ArraySimple< int > & getGridIDList ()
 
virtual ArraySimple< real > & getVertices ()
 
virtual int numberOfVertices ()
 
virtual int numberOfElements ()
 
void useCutout ()
 
void dontUseCutout ()
 
virtual ArraySimpleFixed< int, 4, 1, 1, 1 > getElement (int e)
 
- Public Member Functions inherited from Region
 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 void resetIDList ()
 
const SquareMappinggetReferenceGrid () 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

bool umapUpToDate () const
 
- Protected Member Functions inherited from Region
void specifyReferenceGridBounds (real x1, real y1, real x2, real y2)
 
void resetReferenceGrid ()
 

Protected Attributes

ArraySimple< realgrid
 
ArraySimple< int > cutoutIDMap
 
- Protected Attributes inherited from Region
real dxRef
 
real dyRef
 
ArraySimple< int > gridIDList
 

Additional Inherited Members

- Public Types inherited from Region
typedef std::vector< Curve * >
::iterator 
curve_iterator
 

Detailed Description

A region generated using a hybrid/unstructured mesh.

Constructor & Destructor Documentation

UnstructuredRegion::UnstructuredRegion ( real  dx = .1,
real  dy = .1 
)
inline

References dx.

UnstructuredRegion::~UnstructuredRegion ( )
inline

Member Function Documentation

void UnstructuredRegion::dontUseCutout ( )
inline
virtual ArraySimpleFixed<int,4,1,1,1> UnstructuredRegion::getElement ( int  e)
virtual

Implements Region.

virtual ArraySimple<int>& UnstructuredRegion::getGridIDList ( )
virtual

Implements Region.

virtual Mapping& UnstructuredRegion::getMapping ( )
virtual

Implements Region.

Referenced by main().

virtual ArraySimple<real>& UnstructuredRegion::getVertices ( )
virtual

Implements Region.

virtual int UnstructuredRegion::numberOfElements ( )
virtual

Implements Region.

virtual int UnstructuredRegion::numberOfVertices ( )
virtual

Implements Region.

bool UnstructuredRegion::umapUpToDate ( ) const
inlineprotected
void UnstructuredRegion::useCutout ( )
inline

Member Data Documentation

ArraySimple<int> UnstructuredRegion::cutoutIDMap
protected
ArraySimple<real> UnstructuredRegion::grid
protected

The documentation for this class was generated from the following file: