sph.init
sph.init is a one-variable namelist that chooses what kind of calculation
to set up. It is read before sph.input:
&INITT
INAME='1es'
&END
INAME is a three-letter code. Each one selects a different routine in
parallel_bleeding_edge/src:
Code |
Routine |
Sets up |
|---|---|---|
|
|
A single polytrope, generated from |
|
|
A single polytrope with a compact core. |
|
|
A corotating binary. |
|
|
A binary plus a single star. |
|
|
A binary plus a black hole. |
|
|
Two relaxed stars on a Keplerian orbit: the usual choice for a collision or fly-by. |
|
|
A binary encountering a single star. |
|
|
A star read from a stellar-evolution profile (MESA, TWIN or Freitag & Benz). |
|
|
A star whose particle-mass scheme varies with position. |
|
|
A rescaling of an existing model. |
|
|
A triple system. |
|
|
An encounter with a supermassive black hole. |
|
|
A general-relativistic SPH setup. |
|
|
A restart from an existing dump. |
|
|
Particles laid out from an ASCII image. |
Note
Which INAME you choose decides which settings in sph.input
actually do anything. vinf2 and e0, for instance, are read only by
the orbit routines, and equalmass only by the routines that build a star
particle by particle.