GfsBox

From Gerris

Revision as of 16:39, 24 July 2012; view current revision
←Older revision | Newer revision→
Jump to: navigation, search

GfsBoxes are the square or cubes (in two or three dimensions, respectively) of which the domain (for a GfsSimulation, etc) is built. They are also the basic element of domain decomposition for running Gerris in parallel.

The syntax in parameter input files is:

 GfsBox { 
    pid = 0 
    left = [ GfsBoundary ]
    right = [ GfsBoundary ]
    top = [ GfsBoundary ]
    bottom = [ GfsBoundary ]
  }

The pid is the unsigned integer (starting from zero) that identifies the processor to which the box is assigned in a parallel run.

In parameter files produced by GfsOutputSimulation, it may also contain:

id
an unsigned integer identifier
size
number of cells
x, y, z
the Cartesian coordinates of the centre
Personal tools
communication