This HTML automatically generated with rman for NEMO
Table of Contents

Name

mk2body - make a 2 body system

Synopsis

mk2body [parameter=value]

Description

Creates initial conditions for a 2-body problem but where the main body is initially at the origin with unit mass. Only the mass and phase space coordinates of the 2nd body can given.

Parameters

The following parameters are recognized in any order if the keyword is also given:
out=
output file name. No default.
m=
mass of 2nd particle [0.1]
x=
X position of 2nd particle [1]
y=
Y position of 2nd particle [0]
z=
Z position of 2nd particle [0]
vx=
VX velocity of 2nd particle [0]
vy=
VY velocity of 2nd particle [1]
vz=
VY velocity of 2nd particle [0]
mass=
Mass of central particle [1.0]
zerocm=
if true, zero the center of mass [true]
headline=
verbiage for output []

See Also

mkconfig(1NEMO) , mktt72(1NEMO) , snapbinary(1NEMO) , snapshot(5NEMO)

Author

Peter Teuben

Update History


29-Jul-09    V1.0 Created    PJT
7-jun-10    V2.0 added mass=    PJT


Table of Contents