Next: Gravity Grid Parallelization
Up: The Gravity Solver: an
Previous: FFT Convolution
  Contents
Built-in Gravity Grid Options
We have several built-in options for the code, to cover a variety of
situations. They are defined in the input files by the
parameter ``NGR'', as well as the parameters ``XGRMAX,
XGRMIN, XGRLIM, etc.'' They work as follows:
: No self-gravity at all
: Fixed gravity grid, running from
,
, and
.
: The gravity grid will be adjusted every timestep to
cover all of the particles, no
matter how far from the origin or each other.
: Initially like
, but after a certain time
``TGR'' has passed, switch to
, with
,
, and
.
-
: Like
at first, with
,
, and
. Sets the grid boundaries to contain
of the total mass of the matter in a given dimension once a particle leaves
the range
, etc.
-
: Like
until any particle
leaves the box defined by
,
, and
. From that point onwards, NGR is changed to a new value
.
: Like
, but the grid cannot expand
indefinitely. The boundaries are constrained such that
,
, etc.
Next: Gravity Grid Parallelization
Up: The Gravity Solver: an
Previous: FFT Convolution
  Contents
Joshua Faber
2003-06-28