Next: Provided boundary conditions
Up: The generic boundary interface
Previous: Schedule groups
Contents
Faces
The computational domain is assumed to be in the shape of a
-dimensional `rectangle', which has dimensional faces. (Usually
is three.) Each of these faces is assigned a specific bit in a
word, so that arbitrary subsets can be compactly expressed as a
bitwise-or of these individual bits. Macros defining this mapping of
subsets to bits will be provided.
For the moment there is only
CCTK_ALL_FACES, which corresponds to the set of all faces
of the domain. If you need face specific calls immediately, please
use the old interface for now.
The mapping of bits to faces will likely be the same as that used for
the (optional) BOUNDARY_WIDTH array. Precisely, the rule is as
follows. For a dimensional grid variable, label the elements or
bits by integers from to . Element or bit gets
mapped to face
, where
designates the `floor' function (greatest integer less than
its argument), and represents the ` -direction' on the grid.
Next: Provided boundary conditions
Up: The generic boundary interface
Previous: Schedule groups
Contents
|