Zeno Programs


These programs may be organized thematically into broad categories performing different tasks: construct initial conditions, run simulations, analyze and visuialize simulation results, etc. In practice the categories below are somewhat narrower, reflecting the fact that two different data structures are widely used in these programs. A snapshot is used to represent a configuration of bodies in phase-space; in addition to positions and velocities, snapshots may also contain other information. A general spherical profile is used to represent a spherical density profile.

With a few exceptions, the name of a program indicates the kind of data it operates on. The simulation programs all have names ending in the word code; suffixes may be appended to indicate variations. Routines which create general spherical profiles have names ending with the initials gsp, while those which operate on general spherical profiles have names starting with gsp. Likewise, routines which create snapshots usually have names ending with the word snap, while those which operate on snapshots have names starting with snap. (By this logic, routines which construct snapshots from general spherical profiles should have names starting with gsp and ending in snap, but this seemed too wordy; the ending snap is omitted.) Finally, a handfull of programs which operate on any structured file of data have three-letter names ending with the initials sf.

N-Body Simulation
  treecode  Hierarchical N-body code
  treecode_x  Hierarchical N-body code (+ ext grav)
  treepeek  Peek at contents of state file
SPH Simulation
  sphcode_e  SPH/N-body simulation code.
  sphcode_ea  SPH/N-body simulation code.
  sphcode_u  SPH/N-body simulation code.
  sphcode_ui  SPH/N-body simulation code.
  sphcode_ux  SPH/N-body simulation code.
  sphcode_ur  SPH/N-body simulation code.
  sphcode_uo  SPH/N-body simulation code.
  sphcode_ud  SPH/N-body simulation code.
  sphcode_uc  SPH/N-body simulation code.
  sphcode_us  SPH/N-body simulation code.
  sphcode_uis  SPH/N-body simulation code.
  sphcode_uir  SPH/N-body simulation code.
Snapshot Construction
  kepsnap  Compute initial data for 2-body orbit
  makesnap  Make a configuration of bodies
  plumsnap  Construct Plummer model
  polysnap  Construct generalized polytrope
  snaptestdisk  Make test disk in spherical system
  snapcons  Construct compound N-body system
  snapstack  Stack two N-body systems
General Spherical Profile Generation
  expdgsp  Generate "spherical" exp. disk
  gammagsp  Generate profile for gamma model
  halogsp  Generate profile for halo model
  isothgsp  Generate isothermal halo profile
  plumgsp  Generate profile for Plummer model
  polygsp  Generate profile for polytropic sphere
  snapgsp  Construct GSP from N-body snapshot
  tablegsp  Convert profile table to GSP
General Spherical Profile Utilities
  gspadd  Add several density profiles
  gspeval  Evaluate GSP at particle positions
  gsplist  List general spherical profile
  gspsmooth  Smooth mass distribution of GSP
  gspsmoothfit  Fit smoothed gsp to gravitational field
  gsptrun  Truncate mass distribution of GSP
General Spherical Profile Realization
  gspdisk  Make exponential disk in a gsp model
  gspmodel  Make N-body model of GSP
  gsprealize  Construct N-body realization of GSP.
  gspsphere  Make SPH gas sphere from GSP
  gsptestdisk  Make test disk in a gsp halo
Snapshot Assignment
  snapaux  Set aux variable in snapshot
  snapkey  Set key variable in snapshot
  snapset  Set body variables in snapshot
  buildmap  Invoke buildmap routine
Snapshot Transformation
  snapavg  Calculate averages over time
  snapcenter  Center snapshot on weighted bodies
  snapcollect  Collect info from several frames
  snapforce  Compute forces by direct-sum
  snapobject  Identify objects using percolation
  snaprect  Diagonalize weight tensor
  snaprotate  Rotate N-body configuration
  snapsift  Select bodies obeying predicate
  snapsort  Sort bodies by value
  snapsplit  Split snapshot into samples
  snapstream  Emit stream of snapshots
  snaptrak  Track centroids of specified groups
  snapturn  Produce stream of rotated snapshots
Snapshot Analysis
  snapcm  Calculate center-of-mass coords
  snaphist  Make histogram of particle data
  snapshape  Estimate ellipticity & r.m.s. radius
  snapstat  Analyze statistics of SnapShot data.
  snaprholist  List spherical density profile
Snapshot Output
  snapascii  Convert binary N-body file to ascii
  snaplist  List contents of snapshot file
  snaptipsy  Convert binary N-body file to tipsy
Snapshot Visuialization
  snapppm  Render snapshot as ppm images
  snapsmooth  Smooth N-body/SPH values onto grid
  snapview  Interactively view SnapShot data.
  viewfile  Construct view file
Structured File Utilities
  csf  Copy a structured binary file.
  dsf  Dress binary data as structured file.
  gsf  Grab structured binary files.
  rsf  Read ascii form of structured file.
  ssf  Strip a structured binary file.
  tsf  Type out a structured binary file.

Joshua E. Barnes      (barnes at ifa.hawaii.edu)
Created: 14 June 2012
http://www.ifa.hawaii.edu/~barnes/zeno/Programs.html
Valid HTML 4.01!