Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

kira_log.C File Reference

#include "hdyn.h"
#include "star/dstar_to_kira.h"

Go to the source code of this file.

Data Structures

struct  count_pair
struct  dt_pair

Defines

#define NTOP   10
#define NBOT   10

Typedefs

typedef * dt_pair_ptr
typedef * count_pair_ptr

Functions

local int compare_dt (const void *pi, const void *pj)
local int compare_steps (const void *pi, const void *pj)
int get_effective_block (real dt)
local void print_timestep_stats (hdyn *b)
void print_dstar_params (dyn *b)
bool print_dstar_stats (dyn *b, bool mass_function, vector center, bool verbose)
void print_statistics (hdyn *b, int long_binary_output)
local int n_bound (hdyn *b, vector &cod_vel)
local real m_bound (hdyn *b, vector &cod_vel)
local void get_n_and_m_bound (hdyn *b, vector &cod_vel, int &nb, real &mb)
void update_cpu_counters (hdyn *b)
void log_output (hdyn *b, real count, real steps, kira_counters *kc_prev, int long_binary_output)
void snap_output (hdyn *b, real steps, int &snaps, bool reg_snap, bool last_snap, char *snap_save_file, xreal t, xreal ttmp, real t_end, real &t_snap, real dt_snap, bool verbose)


Define Documentation

#define NBOT   10
 

Definition at line 78 of file kira_log.C.

#define NTOP   10
 

Definition at line 77 of file kira_log.C.


Typedef Documentation

typedef * count_pair_ptr
 

typedef * dt_pair_ptr
 


Function Documentation

local int compare_dt ( const void * pi,
const void * pj )
 

Definition at line 32 of file kira_log.C.

local int compare_steps ( const void * pi,
const void * pj )
 

Definition at line 47 of file kira_log.C.

int get_effective_block ( real dt )
 

Definition at line 57 of file kira_log.C.

Referenced by print_timestep_stats().

local void get_n_and_m_bound ( hdyn * b,
vector & cod_vel,
int & nb,
real & mb )
 

Definition at line 570 of file kira_log.C.

Referenced by log_output().

void log_output ( hdyn * b,
real count,
real steps,
kira_counters * kc_prev,
int long_binary_output )
 

Definition at line 591 of file kira_log.C.

local real m_bound ( hdyn * b,
vector & cod_vel )
 

Definition at line 561 of file kira_log.C.

local int n_bound ( hdyn * b,
vector & cod_vel )
 

Definition at line 552 of file kira_log.C.

void print_dstar_params ( dyn * b )
 

Definition at line 509 of file kira_log.C.

bool print_dstar_stats ( dyn * b,
bool mass_function,
vector center,
bool verbose )
 

Definition at line 515 of file kira_log.C.

Referenced by sys_stats().

void print_statistics ( hdyn * b,
int long_binary_output )
 

Definition at line 527 of file kira_log.C.

Referenced by check_kira_runtime(), and log_output().

local void print_timestep_stats ( hdyn * b )
 

Definition at line 80 of file kira_log.C.

Referenced by print_statistics().

void snap_output ( hdyn * b,
real steps,
int & snaps,
bool reg_snap,
bool last_snap,
char * snap_save_file,
xreal t,
xreal ttmp,
real t_end,
real & t_snap,
real dt_snap,
bool verbose )
 

Definition at line 665 of file kira_log.C.

void update_cpu_counters ( hdyn * b )
 

Definition at line 583 of file kira_log.C.

Referenced by log_output(), and snap_output().


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