CELL Class Reference

#include <CELL.h>


Detailed Description

Basic cell data structure of the quadtree.


Public Member Functions

 CELL (float north, float east, float south, float west, CELL *parent=NULL, int depth=0)
 normal cell constructor
 CELL (int depth=0)
 ghost cell constructor
 ~CELL ()
 destructor
void refine ()
 subdivide the cell
CELLnorthNeighbor ()
 lookup northern neighbor
CELLsouthNeighbor ()
 lookup southern neighbor
CELLwestNeighbor ()
 lookup western neighbor
CELLeastNeighbor ()
 lookup eastern neighbor

Data Fields

CELLchildren [4]
 The children of the node in the quadtree.
float bounds [4]
 The physical bounds of the current grid cell.
CELLneighbors [8]
 The neighbors in the balanced quadtree.
float stencil [9]
 Poisson stencil coefficients.
float center [2]
 center of the cell
int depth
 current tree depth
bool candidate
 already a member of candidate list?
CELLparent
 parent node in the quadtree
CELL_STATE state
 DBM state of the cell.
bool boundary
 boundary node to include in the solver?
float potential
 current electric potential
float b
 rhs of the linear system
float residual
 residual in the linear solver
int index
 lexicographic index for the solver


The documentation for this class was generated from the following files:
Generated on Wed Oct 25 03:19:42 2006 for Lumos by  doxygen 1.4.6