Go to Overview over all GrAL packages.
Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

RegGrid2D::Cell Class Reference

#include <cartesian-grid2d.h>

Inheritance diagram for RegGrid2D::Cell:

Inheritance graph
[legend]
Collaboration diagram for RegGrid2D::Cell:

Collaboration graph
[legend]
List of all members.

Public Types

typedef Cell self
enum  side {
  S = 1, E = 2, N = 3, W = 4,
  invalid_side = 5
}
enum  corner {
  SW = 1, SE = 2, NE = 3, NW = 4,
  invalid_corner = 5
}

Public Methods

 Cell ()
 Cell (const Grid &g, cell_handle c)
 Cell (const vertex_base &b, const Grid *g)
 Cell (const vertex_base &b, const Grid &g)
VertexOnCellIterator FirstVertex () const
VertexOnCellIterator EndVertex () const
EdgeOnCellIterator FirstEdge () const
EdgeOnCellIterator EndEdge () const
EdgeOnCellIterator FirstFacet () const
EdgeOnCellIterator EndFacet () const
CellOnCellIterator FirstCell () const
CellOnCellIterator EndCell () const
CellOnCellIterator FirstNeighbour () const
CellOnCellIterator EndNeighbour () const
int NumOfVertices () const
int NumOfNeighbours () const
int NumOfEdges () const
int NumOfFacets () const
int NumOfBoundaryFacets () const
side opposite (side s) const
corner opposite (corner c) const
bool IsValid (side s) const
bool IsValid (corner c) const
cell_handle GlobalNumber () const
cell_handle handle () const
Vertex V (corner i) const
Vertex V (int i) const
Vertex vertex (corner v) const
 information for these calculations could go into some static tables of RegGrid2D. More...

vertex_base ll () const
Edge edge (side e) const
Cell neighbour (side nb) const
Cell Nb (side nb) const
bool IsOnBoundary (side nb) const
bool IsOnBoundary (int nb) const
void FlipEdge (const Vertex &v, Edge &e) const

Protected Methods

vertex_base get_nb_base (side nb) const

Protected Attributes

vertex_base llv
 DATA. More...


Friends

class RegGrid2D
bool operator== (const self &lhs, const self &rhs)
bool operator!= (const self &lhs, const self &rhs)
bool operator< (const self &lhs, const self &rhs)

Member Typedef Documentation

typedef Cell RegGrid2D::Cell::self
 

Definition at line 366 of file cartesian-grid2d.h.


Member Enumeration Documentation

enum RegGrid2D::Cell::side
 

Enumeration values:
S 
E 
N 
W 
invalid_side 

Definition at line 367 of file cartesian-grid2d.h.

Referenced by edge, get_nb_base, IsOnBoundary, IsValid, Nb, neighbour, and opposite.

enum RegGrid2D::Cell::corner
 

Enumeration values:
SW 
SE 
NE 
NW 
invalid_corner 

Definition at line 368 of file cartesian-grid2d.h.

Referenced by IsValid, opposite, V, and vertex.


Constructor & Destructor Documentation

RegGrid2D::Cell::Cell   [inline]
 

Definition at line 370 of file cartesian-grid2d.h.

References RegGrid2D::elem_base::elem_base.

Referenced by Nb, and neighbour.

RegGrid2D::Cell::Cell const Grid   g,
cell_handle    c
[inline]
 

Definition at line 371 of file cartesian-grid2d.h.

References RegGrid2D::cell.

RegGrid2D::Cell::Cell const vertex_base   b,
const Grid   g
[inline]
 

Definition at line 373 of file cartesian-grid2d.h.

References RegGrid2D::elem_base::elem_base, and llv.

RegGrid2D::Cell::Cell const vertex_base   b,
const Grid   g
[inline]
 

Definition at line 374 of file cartesian-grid2d.h.

References RegGrid2D::elem_base::elem_base, and llv.


Member Function Documentation

RegGrid2D::VertexOnCellIterator RegGrid2D::Cell::FirstVertex   const [inline]
 

Definition at line 1133 of file cartesian-grid2d.h.

References RegGrid2D::VertexOnCellIterator.

Referenced by FlipEdge.

RegGrid2D::VertexOnCellIterator RegGrid2D::Cell::EndVertex   const [inline]
 

Definition at line 1138 of file cartesian-grid2d.h.

References RegGrid2D::invalid_corner, and RegGrid2D::VertexOnCellIterator.

RegGrid2D::EdgeOnCellIterator RegGrid2D::Cell::FirstEdge   const [inline]
 

Definition at line 1143 of file cartesian-grid2d.h.

References RegGrid2D::EdgeOnCellIterator.

RegGrid2D::EdgeOnCellIterator RegGrid2D::Cell::EndEdge   const [inline]
 

Definition at line 1148 of file cartesian-grid2d.h.

References RegGrid2D::EdgeOnCellIterator, and RegGrid2D::invalid_side.

RegGrid2D::EdgeOnCellIterator RegGrid2D::Cell::FirstFacet   const [inline]
 

Definition at line 1153 of file cartesian-grid2d.h.

References RegGrid2D::EdgeOnCellIterator.

RegGrid2D::EdgeOnCellIterator RegGrid2D::Cell::EndFacet   const [inline]
 

Definition at line 1158 of file cartesian-grid2d.h.

References RegGrid2D::EdgeOnCellIterator, and RegGrid2D::invalid_side.

RegGrid2D::CellOnCellIterator RegGrid2D::Cell::FirstCell   const [inline]
 

Definition at line 1174 of file cartesian-grid2d.h.

References FirstNeighbour.

RegGrid2D::CellOnCellIterator RegGrid2D::Cell::EndCell   const [inline]
 

Definition at line 1179 of file cartesian-grid2d.h.

References EndNeighbour.

RegGrid2D::CellOnCellIterator RegGrid2D::Cell::FirstNeighbour   const [inline]
 

Definition at line 1163 of file cartesian-grid2d.h.

References RegGrid2D::elem_base::_g, RegGrid2D::CellOnCellIterator, and S.

Referenced by FirstCell.

RegGrid2D::CellOnCellIterator RegGrid2D::Cell::EndNeighbour   const [inline]
 

Definition at line 1168 of file cartesian-grid2d.h.

References RegGrid2D::elem_base::_g, RegGrid2D::CellOnCellIterator, and invalid_side.

Referenced by EndCell.

int RegGrid2D::Cell::NumOfVertices   const [inline]
 

Definition at line 388 of file cartesian-grid2d.h.

int RegGrid2D::Cell::NumOfNeighbours   const [inline]
 

Definition at line 389 of file cartesian-grid2d.h.

References NumOfBoundaryFacets.

int RegGrid2D::Cell::NumOfEdges   const [inline]
 

Definition at line 390 of file cartesian-grid2d.h.

int RegGrid2D::Cell::NumOfFacets   const [inline]
 

Definition at line 391 of file cartesian-grid2d.h.

int RegGrid2D::Cell::NumOfBoundaryFacets   const [inline]
 

Definition at line 392 of file cartesian-grid2d.h.

References llv, and RegGrid2D::elem_base::TheGrid.

Referenced by NumOfNeighbours.

side RegGrid2D::Cell::opposite side    s const [inline]
 

Definition at line 409 of file cartesian-grid2d.h.

References side.

corner RegGrid2D::Cell::opposite corner    c const [inline]
 

Definition at line 410 of file cartesian-grid2d.h.

References corner.

bool RegGrid2D::Cell::IsValid side    s const [inline]
 

Definition at line 411 of file cartesian-grid2d.h.

References S, side, and W.

bool RegGrid2D::Cell::IsValid corner    c const [inline]
 

Definition at line 412 of file cartesian-grid2d.h.

References corner, NW, and SW.

cell_handle RegGrid2D::Cell::GlobalNumber   const [inline]
 

Definition at line 414 of file cartesian-grid2d.h.

References llv, and RegGrid2D::elem_base::TheGrid.

cell_handle RegGrid2D::Cell::handle   const [inline]
 

Definition at line 415 of file cartesian-grid2d.h.

References llv, and RegGrid2D::elem_base::TheGrid.

Vertex RegGrid2D::Cell::V corner    i const [inline]
 

Definition at line 416 of file cartesian-grid2d.h.

References corner, and vertex.

Vertex RegGrid2D::Cell::V int    i const [inline]
 

Definition at line 417 of file cartesian-grid2d.h.

References corner, and vertex.

Vertex RegGrid2D::Cell::vertex corner    v const [inline]
 

information for these calculations could go into some static tables of RegGrid2D.

Definition at line 421 of file cartesian-grid2d.h.

References corner, RegGrid2D::corner_offset, llv, RegGrid2D::elem_base::TheGrid, RegGrid2D::Vertex, and RegGrid2D::vertex_base.

Referenced by V.

vertex_base RegGrid2D::Cell::ll   const [inline]
 

Definition at line 429 of file cartesian-grid2d.h.

References llv.

Referenced by RegGrid2D::IsInside.

Edge RegGrid2D::Cell::edge side    e const [inline]
 

Definition at line 431 of file cartesian-grid2d.h.

References E, RegGrid2D::Edge, llv, N, S, side, RegGrid2D::elem_base::TheGrid, RegGrid2D::vertex_base, and W.

Referenced by IsOnBoundary.

Cell RegGrid2D::Cell::neighbour side    nb const [inline]
 

Definition at line 440 of file cartesian-grid2d.h.

References Cell, get_nb_base, RegGrid2D::IsValidCellBase, llv, S, side, RegGrid2D::elem_base::TheGrid, and W.

Referenced by Nb.

Cell RegGrid2D::Cell::Nb side    nb const [inline]
 

Definition at line 448 of file cartesian-grid2d.h.

References Cell, neighbour, and side.

bool RegGrid2D::Cell::IsOnBoundary side    nb const [inline]
 

Definition at line 450 of file cartesian-grid2d.h.

References edge, side, and RegGrid2D::elem_base::TheGrid.

Referenced by IsOnBoundary.

bool RegGrid2D::Cell::IsOnBoundary int    nb const [inline]
 

Definition at line 451 of file cartesian-grid2d.h.

References IsOnBoundary, and side.

void RegGrid2D::Cell::FlipEdge const Vertex   v,
Edge   e
const [inline]
 

Definition at line 1183 of file cartesian-grid2d.h.

References RegGrid2D::Edge, FirstVertex, and RegGrid2D::Vertex.

vertex_base RegGrid2D::Cell::get_nb_base side    nb const [inline, protected]
 

Definition at line 456 of file cartesian-grid2d.h.

References llv, side, RegGrid2D::side_offset, RegGrid2D::elem_base::TheGrid, and RegGrid2D::vertex_base.

Referenced by RegGrid2D::IsOnBoundary, and neighbour.


Friends And Related Function Documentation

friend class RegGrid2D [friend]
 

Definition at line 365 of file cartesian-grid2d.h.

bool operator== const self   lhs,
const self   rhs
[friend]
 

Definition at line 402 of file cartesian-grid2d.h.

bool operator!= const self   lhs,
const self   rhs
[friend]
 

Definition at line 404 of file cartesian-grid2d.h.

bool operator< const self   lhs,
const self   rhs
[friend]
 

Definition at line 406 of file cartesian-grid2d.h.


Member Data Documentation

vertex_base RegGrid2D::Cell::llv [protected]
 

DATA.

Definition at line 462 of file cartesian-grid2d.h.

Referenced by Cell, edge, get_nb_base, GlobalNumber, handle, ll, neighbour, NumOfBoundaryFacets, and vertex.


The documentation for this class was generated from the following file:
Copyright (c) Guntram Berti 1997-2002. See the GrAL Homepage for up-to-date information.

Generated at Tue Feb 26 16:08:20 2002 for GrAL Cartesian2D by doxygen 1.2.11-20011104 written by Dimitri van Heesch, © 1997-2000