Table of Contents

Name

gravsim0 - NEMO frontend for the GRAVSIM family of programs

Synopsis

gravsim0 [parameter=value]

Description

gravsim0 is a NEMO frontend to run any of the GRAVSIM family of programs, such that NEMO datafile are given, converted on the fly to GRAVSIM format, the specified GRAVSIM integrator is run, and output files in GRAVSIM format are converted back to NEMO format.

This program works by writing a C-shell script gravsimpid, 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, 205-to-gdff, gdff-editor, gravsim*, gdff-to-205 and atos.

Parameters

The following parameters are recognized in any order if the keyword is also given:
in=
Snapshot input filename. No default.
out=
Snapshot output filename. No default.
prog=
GRAVSIM Program to run. [Default: gravsim].
clean=
Clean up temp files? [Default: t].
title=
Title for the run [Default: not used].
processors=
Number of processors that can be used [Default: 1].
cells=
Number of cells to be allocated
split-number=
start-time=
Start time for run [Default: 0.0].
end-time=
Stop time for run [Default: 2.0].
eps=
Softening length [Default: 0.025].
tol=
Tolerance [Default: 1.0]
data-step=
Major Output of data [Default: 0.25].
report-step=
Minor Output of energy etc. [Default: 0.03125].
g-value=
Gravitational constant [Default: 1.0].
time-step=
Integration time step [Default: 0.03125].

See Also

gravsim(8GRAVSIM)

Author

Peter Teuben, Mark Bellon

Bugs

This program has not been tested extensively, it also serves as another example to bind existing N-body integrators into NEMO. The Aarseth NBODY family of N-body integrators shows another method of doing the same job.

Files


usr/mbellon/gravsim/    Source tree for GRAVSIM package (env.var. GRAVSIM)
usr/pjt/nbody          gravsim0.c 

Update History


16-Jul-91    V0.0 document Created NEMO


Table of Contents