From Gerris

(Difference between revisions)
Jump to: navigation, search

Revision as of 16:39, 24 July 2012

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:

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