Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Patch Data Transfer Operators

These abstract base classes provide interfaces between transfer operators and geometry and the rest of the SAMRAI framework. Specifically, each operator used within the framework inter-patch communication routines is derived from either the spatial coarsening, spatial refining, or time time interpolation operator base class provided here. The transfer geometry class provides a lookup mechanism whereby applications and algorithms may obtain the operators to treat specific variable quantities within the communication routines.

The string identifiers for the coarsening, refining, and time interpolation operators are defined in the patchdata and geometry packages.

The lookup mechanism provided by the transfer geometry class (xfer::Geometry) allows for arguments that bypass standrad operators for coarsening and refining provided by the SAMRAI library. If no coarsening is desired for a specific variable quantity, the string "NO_COARSEN" should be used, and if no refinement is desired, the string "NO_REFINE" should be used. For user-defined coarsening and/or refinement the strings "USER_DEFINED_COARSEN" and "USER_DEFINED_REFINE" are available. If these options are used, coarsening and/or refinement operations can be written in a user-defined class that implements the abstract base classes SAMRAI::xfer::CoarsenPatchStrategy and or SAMRAI::xfer::RefinePatchStrategy. In xfer::CoarsenPatchStrategy, the user-defined coarsen operations can be implemented in preprocessCoarsen() and/or postprocessCoarsen(). In SAMRAI::xfer::RefinePatchStrategy, the user-defined coarsen operations can be implemented in preprocessRefine() and/or postprocessRefine().

See also:
SAMRAI::xfer::CoarsenPatchStrategy

SAMRAI::xfer::RefinePatchStrategy


Generated on Fri Dec 2 11:19:14 2005 for SAMRAI by  doxygen 1.4.2