SMILE
v2.5
Schwarzschild Modelling Interactive expLoratory Environment

Tool: Measure the shape (axis ratio) of an Nbody snapshot as a function of radius. More...
#include <math.h>
#include <stdlib.h>
#include <stdinc.h>
#include <getparam.h>
#include <io_nemo.h>
#include <snapshot/snapshot.h>
#include <vector>
#include <algorithm>
#include <iostream>
#include <gsl/gsl_math.h>
#include <gsl/gsl_eigen.h>
#include <gsl/gsl_roots.h>
#include <gsl/gsl_errno.h>
#include "utils.h"
Functions  
int  main (int argc, char *argv[]) 
Tool: Measure the shape (axis ratio) of an Nbody snapshot as a function of radius.
Two methods for shape determination are available:
The program processes input snapshots in NEMO format (a file may contain snapshots at multiple times), which should be centered but not necessarily rotated to match principal planes.
The axis ratios are computed for several bins in radius, either using all particles inside the radius of this bin (i.e. including those in all previous bins), or in the current bin only. Output may be presented either in the short or the long forms:
string defv[] 