Table of Contents

Name

snapdiagplot - plot diagnostics of an N-body run

Synopsis

snapdiagplot in=snap_file [parameter=value] ...

Description

snapdiagplot plots the diagnostics of an N-body run. As input it needs a snapshot(5NEMO) file. The diagnostics currently displayed, as functions of time, are the total binding energy and the center of mass offset.

Parameters

The following parameters are recognized.
in=snap_file
Input data is read from snap_file. Default: required.
times=time_range
Only plot frames with time values within time_range, which is of the form, eg, "1.0:1.5,2.5,3.0". Default: all.
exactpot=pot_flag
If set, recompute potential energy from particle data. Note this is O(N^2). Default: false.
eps=softening
If exactpot is set, this softening length is used. Default: 0.05.
formal=formal_flag
If set, generate publication-style plot. Default: false.

See Also

snapplot(1NEMO) , snapshot(5NEMO) .

Data Format

snapdiagplot expects a Diagnostics set inside a SnapShot. Here is an example of the current contents. Note not all elements are currently being used.
 set Diagnostics
    double Energy[3] -0.250646 0.252928 -0.503574
    double KETensor[3][3] 0.0895620 -0.000171242 -0.00146190
      -0.000171242 0.0829969 -0.00185623 -0.00146190 -0.00185623
      0.0803691
    double PETensor[3][3] -0.167254 0.00296881 -0.00315221 0.00356183
      -0.165142 0.000637358 -0.00312277 0.000509798 -0.163122
    double AMTensor[3][3] 0.00000 0.00675746 0.00892347 -0.00675746
      0.00000 0.0221447 -0.00892347 -0.0221447 0.00000
    double CMPhaseSpace[2][3] 7.16658e-17 1.24737e-16 3.34476e-17
      1.90820e-17 7.69784e-18 -2.33103e-18
    double cputime 0.000833333
  tes

Author

Joshua E. Barnes

History


dark-ages    0.0 Created    JEB
2-jun-88    1.0 Man Created...       JEB
17-jun-92    1.2 fixed times=; added energy conservation message    PJT


Table of Contents