A FieldVar is a data object, containing domain-decomposed
dependent variables. It has the ability to supply the number of
on-processor Regions and their particulars; the position in the
domain that the Region corresponds to, and the references to the
arrays that store the dependent variables declared in that Region. It
has methods that allow the updating of ghost-cells and the imposition
of boundary conditions. The data is stored in 1D arrays, and the
FieldVar provides methods that translate the 2D
(i, j)
coordinates
(as well as the 3D version) into an index into the 1D array which
stores the variables.
2010-08-11