Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

sig_helper.C File Reference

#include "sigma.h"
#include "sigma_MPI.h"

Go to the source code of this file.

Defines

#define DEFAULT_TIDAL_TOL_FACTOR   1e-6
#define output_header_1a
#define output_header_1b
#define output_header_2
#define output_header_3
#define output_header_4

Functions

void print_profile (ostream &s, scatter_profile &p, int prec)
void make_standard_profile (scatter_profile &prof)
void sdyn_to_prof (sdyn *b, scatter_profile &prof)
int n_coll (sigma_out out)
void print_sigma_counts (sigma_out &out)
local void print_formatted (real x)
local void print_error (real x)
void print_sigma_array (sigma_out out, real scale_factor, int sqrt_flag)
void print_sigma_nonmergers (sigma_out out, real v2)
void print_sigma_mergers (sigma_out out, real v2)
local void create_temp (char *temp, int length, char *string)
void print_sigma (sigma_out &out, real v2)
real zone_area (sigma_out &out, int i)
real zone_density (sigma_out &out, int i)
real zone_weight (sigma_out &out, scatter_exp *hi, int i)
void counts_to_sigma (sigma_out &out)
local void print_status (real v_inf, sigma_out &out, int debug)
void summarize_scattering_initial (scatter_profile &prof, int n_rand, real dt_snap, real snap_cube_size)
void summarize_scattering_final (scatter_exp exp, int level, real cpu)
void single_scatter_init (sdyn *b, scatter_profile &prof, real rho_sq_min, real rho_sq_max, int &n_rand, int scatter_summary, real dt_snap, real snap_cube_size)
local void pp (sdyn *b, ostream &s, int level=0)
int single_scatter (sdyn *b, scatter_input input, scatter_exp &experiment)
int single_scatter (sdyn *b, scatter_exp &experiment, real eta, real delta_t, real dt_out, real cpu_time_check, real dt_snap, real ttf, real snap_cube_size, int debug)
void single_scatter_stats (scatter_exp *exp, sigma_out &out)
void get_sigma (sigma_input &init, MPI_Datatype inputtype, scatter_exp &experiment, MPI_Datatype scatter_exp_type)

Variables

char dummy_string [20]
real max_t = 0
real max_err = 0


Define Documentation

#define DEFAULT_TIDAL_TOL_FACTOR   1e-6
 

Definition at line 16 of file sig_helper.C.

#define output_header_1a
 

Value:

  "   pres   exch ex_ion  s_ion  n_ion  t_ion coll_b coll_i  tripl n_tupl\n"

Definition at line 127 of file sig_helper.C.

#define output_header_1b
 

Value:

  "   2_coll   n_coll   unknown     error  stopped not_spec\n"

Definition at line 131 of file sig_helper.C.

#define output_header_2
 

Value:

  "   pres   exch   ion  merg_b merg_e merg_3  error   stop\n"

Definition at line 135 of file sig_helper.C.

#define output_header_3
 

Value:

  "   pres   exch ex_ion  s_ion  n_ion  t_ion  tripl n_tupl\n"

Definition at line 138 of file sig_helper.C.

#define output_header_4
 

Value:

  "   coll_bin   coll_ion     s_coll     n_coll\n"

Definition at line 143 of file sig_helper.C.


Function Documentation

void counts_to_sigma ( sigma_out & out )
 

Definition at line 521 of file sig_helper.C.

local void create_temp ( char * temp,
int length,
char * string )
 

Definition at line 411 of file sig_helper.C.

void get_sigma ( sigma_input & input,
MPI_Datatype inputtype,
scatter_exp & experiment,
MPI_Datatype scatter_exp_type )
 

Definition at line 819 of file sig_helper.C.

void make_standard_profile ( scatter_profile & prof )
 

Definition at line 74 of file sig_helper.C.

int n_coll ( sigma_out out )
 

Definition at line 112 of file sig_helper.C.

local void pp ( sdyn * b,
ostream & s,
int level = 0 )
 

Definition at line 677 of file sig_helper.C.

local void print_error ( real x )
 

Definition at line 240 of file sig_helper.C.

local void print_formatted ( real x )
 

Definition at line 215 of file sig_helper.C.

void print_profile ( ostream & s,
scatter_profile & p,
int prec = 6 )
 

Definition at line 20 of file sig_helper.C.

void print_sigma ( sigma_out & out,
real v2 )
 

Definition at line 419 of file sig_helper.C.

void print_sigma_array ( sigma_out out,
real scale_factor,
int sqrt_flag = 0 )
 

Definition at line 257 of file sig_helper.C.

void print_sigma_counts ( sigma_out & out )
 

Definition at line 156 of file sig_helper.C.

void print_sigma_mergers ( sigma_out out,
real v2 )
 

Definition at line 349 of file sig_helper.C.

void print_sigma_nonmergers ( sigma_out out,
real v2 )
 

Definition at line 294 of file sig_helper.C.

local void print_status ( real v_inf,
sigma_out & out,
int debug )
 

Definition at line 565 of file sig_helper.C.

void sdyn_to_prof ( sdyn * b,
scatter_profile & prof )
 

Definition at line 102 of file sig_helper.C.

Referenced by single_scatter_init().

int single_scatter ( sdyn * b,
scatter_exp & experiment,
real eta,
real delta_t,
real dt_out,
real cpu_time_check,
real dt_snap,
real ttf,
real snap_cube_size,
int debug )
 

Definition at line 719 of file sig_helper.C.

int single_scatter ( sdyn * b,
scatter_input input,
scatter_exp & experiment )
 

Definition at line 698 of file sig_helper.C.

void single_scatter_init ( sdyn * b,
scatter_profile & prof,
real rho_sq_min,
real rho_sq_max,
int & n_rand,
int scatter_summary,
real dt_snap,
real snap_cube_size )
 

Definition at line 649 of file sig_helper.C.

void single_scatter_stats ( scatter_exp * exp,
sigma_out & out )
 

Definition at line 760 of file sig_helper.C.

void summarize_scattering_final ( scatter_exp exp,
int level,
real cpu )
 

Definition at line 630 of file sig_helper.C.

void summarize_scattering_initial ( scatter_profile & prof,
int n_rand,
real dt_snap,
real snap_cube_size )
 

Definition at line 590 of file sig_helper.C.

real zone_area ( sigma_out & out,
int i )
 

Definition at line 495 of file sig_helper.C.

real zone_density ( sigma_out & out,
int i )
 

Definition at line 505 of file sig_helper.C.

real zone_weight ( sigma_out & out,
scatter_exp * hi,
int i )
 

Definition at line 510 of file sig_helper.C.


Variable Documentation

char dummy_string[20]
 

Definition at line 154 of file sig_helper.C.

real max_err = 0
 

Definition at line 563 of file sig_helper.C.

real max_t = 0
 

Definition at line 562 of file sig_helper.C.


Generated at Sun Feb 24 09:57:30 2002 for STARLAB by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001