next up previous
Next: Embedded Boundary Index Space Up: Basic Data Structures Previous: Basic Data Structures

Nodes and Edges

The class Node is an abstract index into cell-centered locations. It corresponds to a combination of a CellLib CellFrag and a BoxLib IntVect. The class Edge is an abstract index into edge-centered locations. It is characterized by the pair of Nodes that are connected by the Edge. The possible range of values that can be taken on by a Node or an Edge is determined by the index space containing the Node. For that reason, access to the internal state of Node and Edge is read-only, except by the index space to which they belong. Furthermore, The index space to which a Node or Edge belongs is part of that internal state.



David L. Modiano
Fri Dec 12 17:29:58 PST 1997