next up previous
Next: Data declarations Up: Archetype implementation Previous: Archetype implementation

Parameter definitions

The application programmer supplies PARAMETER definitions for the following:

This is done by modifying the archetype-supplied INCLUDE file mesh_uparms.h; see comments in the file for additional information.

The archetype uses these definitions to declare additional PARAMETERs:

These PARAMETERs should be used to work with grid-based data -- for declarations, loop bounds, etc. See comments in the INCLUDE file mesh_parms.h for more information.

Example


For example, to distribute a grid of dimensions 1000 by 1000 by 1000 over a process grid of dimensions 2 by 2 by 2 (8 grid processes in all), for a computation in which new values for grid variables require values at nearest-neighbor points only, the application programmer would define:



Berna L Massingill
Mon Jun 8 19:35:58 PDT 1998