This HTML automatically generated with rman for NEMO
Table of Contents

Name

treecode0 - NEMO frontend for the TREECODE family of programs

Synopsis

treecode0 [parameter=value]

Description

treecode0 is a NEMO frontend to run any of the TREECODE family of programs. Standard NEMO datafiles are given, converted on the fly to "205" format, the specified TREECODE integrator is run, and output files in "205" format are converted back to NEMO’s snapshot(5NEMO) format.

This program works by writing a C-shell script tmpscript.pid, where pid is the process ID (see getpid(3) ). This script is then executed via execl(3) , and kept in the current working directory.

Since this program uses the following NEMO programs, they need to have been installed: stoa, treecode*, and atos.

Parameters

The following parameters are recognized in any order if the keyword is also given:
prog=progname
Name of the TREECODE program to be run. [Default: treecode2].
in=insnap
Snapshot input filename. This snapshot is converted to TREEBI by stoa(1NEMO) . No default.
out=outsnap
Snapshot output filename. This is the ascii output TREEBOA converted back to snapshot by atos(1NEMO) . No default. Note that the working directory for TREECODE will be outsnap_dir.
log=logfile
Output logfile. This is the TREELOG file. No default.
clean=t|f
Clean up temp files? [Default: t].
exec=t|f
Execute the script? [Default: t].
...................... The remaining parameters are for the TREECODE ................
text=
Title for the run. Maximum string length is limited by the declared string lenght in the called fortran program. treecode2 has a maximum of 50 characters.
nsteps=
Total number of steps for this run [64].
noutbod=
Number of steps before major output of mass,phase,phi [8].
noutlog
Number of steps before output in logfile [1].
dt=
Integration timestep [0.03125].
tol=
Tolerance, the accuracy of the treecode, also called the opening angle [1.0].
eps=
Softening length [0.05].
usequad=t|f
Use quadrupole moments? [f].

See Also

treecode2(1NEMO)

Author

Peter Teuben

Files


~/src/nbody/evolve/treecode2/    

Update History


26-Jul-91    V0.0 document created for NEMO    PJT
23-oct-91       V1.1 added exec=, extra tr to delete , in script    PJT


Table of Contents