This HTML automatically generated with rman for NEMO
Table of Contents

Name

hackforce, hackforce_qp - hierarchical force calculation

Synopsis

hackforce in=in-file [parameter=value] ...

Description

hackforce calculates the forces on particles due to a particle distribution (not necessarely the same) using an an adaptave Eulerian tree to reduce the number of interactions to O(NlogN).

hackforce_qp is similar, but includes quadrupole corrections to body-cell interactions (L. Hernquist, App. J. Suppl., 1987).

Parameters

The following parameters are recognized; they may be given in any order if the keyword is also given.
in=in-file
Input snapshot file, which contain the particles for which the forces need to be calculated [no default].
out=out-file
Output file to which, if given, the results are written to. Wil be in snapshot format.
test=test-file
Test file, which contains the set of particle from which the forces are calculated. If not given, the particle distribution is taken from the in-file [default: not used].
tol=theta-value
Opening-angle tolerence parameter. Default is 1.0.
eps=soft-length
Force softening parameter. Default is 0.05.
rsize=length
Initial guess of size of box which should contain all the particles. This may be of the [default: 4].
rmin=
Lower left corner of the initial corner. May be of the form "num,num,num" [default: -rmin/2, i.e. a centered box].
options=option-string
Miscellaneous control options, specified as a comma-separated list of keywords. Currently recognized keywords are: mass, phase: outputs as extra the mass and phase coordinates. Potential and acceleration data are always output. [default: mass,phase].
fcells=fcells-value
Ratio of cells to bodies, used when allocating cells. Default is 0.75.

See Also

hackcode1(NEMO)

Author

Joshua E. Barnes.

Files

~/src/josh/hackcode/source1/*

History


xx-xxx-87    V0: created    JEB
7-jul-89    V1.1 doc written, keyorder and some defaults changed    PJT
29-mar-04    V1.6 major code cleanup for MacOS 10.3 and prototypes    PJT


Table of Contents