GALAXY(6) GALAXY(6) NAME galaxy - representations of n-body simulations DESCRIPTION Files of this format are interpreted by galaxy(1) as describing the inital condition of n-body simulations or the saved state of simulation in progress. A galaxy file is a UTF stream of instruction lines. The instruction is given by the first space delimited word. The following instructions are accepted. MKBODY The rest of the line must contain 5 white space delim- ited double-precision floating point numbers. They rep- resent a body's x coordinate, y coordinate, x velocity component, y velocity component, and size respectively. ORIG The rest of the line must contain 2 white space delim- ited double-precision floating point numbers. They rep- resent the current location of the origin with respect to the view window of galaxy(1). DT The rest of the line must contain a double-precision floating point number which determines the time-scale of the simulation. SCALE The rest of the line must contain a double-precision floating point number which determines the scale of the view of the simulation. GRAV The rest of the line must contain a double-precision floating point number which determines the gravita- tional constant of the simulation. SEE ALSO galaxy(1) Page 1 Plan 9 (printed 7/25/21)