next up previous
Next: Program skeleton Up: Archetype implementation Previous: Parameter definitions

Data declarations

The archetype defines a PROCESS COMMON block (data common to the process -- each process's block is distinct) for data to be used by its subroutines. These variables are available to the application programmer; useful variables include:

See comments in INCLUDE file mesh_common.h for more information.

The application programmer defines all application data, including grid-based data. Dimensions of grid-based arrays should be declared using the archetype-supplied size parameters mentioned above.

Example


Continuing the example of the preceding section, grid data can be declared thus:



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