Cluster Class Reference

#include <Cluster.h>

List of all members.

Public Member Functions

 Cluster (void)
 Cluster (vector< Particle > particle)
void calculate_all (double eps2)
void print_all (void)
void sort_by_distance (void)
void sort_by_name (void)
void sort_by_mass (void)
void sort_by_time_step (void)
void put_escapers_last (void)
void find_radius_and_type (double BHlimit)
void initialize (char *file[], double eps2, int N)
void parameters (void)
void find_time_step_firsttime (double Dt_max, double Dt_min, double eta)
void find_time_step (double Dt_max, double Dt_min, double eta)
void create_blocks_firsttime (double Dt_max, double Dt_min)
void create_blocks (double Dt_max, double Dt_min)
void send_all_to_grape_memory (int firsttime)
void calc_accel_and_daccel_with_grape (void)
void calc_E_pot_with_grape (void)
void calculate_accel_and_daccel_with_virtual_grape (void)
void merge_blocks (void)
void print_data (char output[10])
void distribute_particles (int ii)
void print_diagnostics (char diag_output[10])
void predict (double)
void calculate_a_adot_for_block (int)
void send_particles_back_to_cluster (int)
void check_for_encounters (void)
void divide_cluster_into_cells (int N_dv)
void fill_cells_with_particles (void)
void calculate_rc (void)
void calculate_com_and_set_central_BH (int central_BH)
void add_binaries_to_block (int bl)

Public Attributes

int number
int approx_number_of_areas
int number_of_areas
double total_mass
double m_total
double r_virial
double E
double E_average
double E_pot
double E_kin
double E_init
double E_pot_init
double E_kin_init
double E_previous
double E_pot_previous
double E_kin_previous
double L [3]
double L2
double L_total2_init
double cm_pos [3]
double cm_vel [3]
double half_mass_radius_th
double half_mass_radius_real
double half_light_radius_th
double half_light_radius_real
double virial_radius_th
double virial_radius_real
double v_average
double v_escape
double rms_vel_disp_th
double rms_vel_disp_real
double crossing_time_th
double crossing_time_real
double dynamical_time
double t_relax
double t_cc
double temperature
double number_density
double mass_density
double average_number_density
double average_mass_density
int black_holes
int neutron_stars
int white_dwarves
int giants
int stars
int binaries
int close_binaries
int escapers
int active
int mergers
double min_time_step
double max_time_step
double time
vector< Particle > particle
vector< Particle * > temp_particle
vector< Block > block
vector< Area > area
vector< Binary > binary
int real_blocks
int number_of_blocks
double mass
double M_max
double max
double min
vector< double > Dr
double R_max
double Dtheta
double Dphi
double R_cl
double R_cl_real
double Dt_cl
double Dt_cl_real
double Dt_min
double R_sun
double M_sun
double speed_of_light
double Speed_of_light
double r_c
double time_in_create_blocks
int counter
double V_star
double T_star
double Dt_max
double eta


Constructor & Destructor Documentation

Cluster::Cluster ( void   ) 

Cluster::Cluster ( vector< Particle >  particle  ) 


Member Function Documentation

void Cluster::calculate_all ( double  eps2  ) 

Here is the call graph for this function:

void Cluster::print_all ( void   ) 

void Cluster::sort_by_distance ( void   ) 

Here is the call graph for this function:

void Cluster::sort_by_name ( void   ) 

Here is the call graph for this function:

void Cluster::sort_by_mass ( void   ) 

void Cluster::sort_by_time_step ( void   ) 

Here is the call graph for this function:

void Cluster::put_escapers_last ( void   ) 

Here is the call graph for this function:

void Cluster::find_radius_and_type ( double  BHlimit  ) 

void Cluster::initialize ( char *  file[],
double  eps2,
int  N 
)

Here is the call graph for this function:

void Cluster::parameters ( void   ) 

void Cluster::find_time_step_firsttime ( double  Dt_max,
double  Dt_min,
double  eta 
)

void Cluster::find_time_step ( double  Dt_max,
double  Dt_min,
double  eta 
)

void Cluster::create_blocks_firsttime ( double  Dt_max,
double  Dt_min 
)

Here is the call graph for this function:

void Cluster::create_blocks ( double  Dt_max,
double  Dt_min 
)

void Cluster::send_all_to_grape_memory ( int  firsttime  ) 

Here is the call graph for this function:

void Cluster::calc_accel_and_daccel_with_grape ( void   ) 

Here is the call graph for this function:

void Cluster::calc_E_pot_with_grape ( void   ) 

Here is the call graph for this function:

void Cluster::calculate_accel_and_daccel_with_virtual_grape ( void   ) 

void Cluster::merge_blocks ( void   ) 

void Cluster::print_data ( char  output[10]  ) 

void Cluster::distribute_particles ( int  ii  ) 

void Cluster::print_diagnostics ( char  diag_output[10]  ) 

void Cluster::predict ( double  t  ) 

void Cluster::calculate_a_adot_for_block ( int  jj  ) 

void Cluster::send_particles_back_to_cluster ( int  jj  ) 

void Cluster::check_for_encounters ( void   ) 

void Cluster::divide_cluster_into_cells ( int  N_dv  ) 

void Cluster::fill_cells_with_particles ( void   ) 

Here is the call graph for this function:

void Cluster::calculate_rc ( void   ) 

Here is the call graph for this function:

void Cluster::calculate_com_and_set_central_BH ( int  central_BH  ) 

Here is the call graph for this function:

void Cluster::add_binaries_to_block ( int  bl  ) 


Member Data Documentation

double Cluster::E

double Cluster::L[3]

double Cluster::L2

double Cluster::cm_pos[3]

double Cluster::cm_vel[3]

double Cluster::t_cc

double Cluster::time

double Cluster::mass

double Cluster::max

double Cluster::min

vector<double> Cluster::Dr

double Cluster::Dphi

double Cluster::R_cl

double Cluster::r_c

double Cluster::eta


The documentation for this class was generated from the following files:

Generated on Wed Nov 25 00:39:47 2009 for Myriad by  doxygen 1.5.6