GfsBox

From Gerris

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 (the rank in MPI terms).

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
Views
Navigation
communication