Particle Class Reference

#include <Particle_old.h>

Collaboration diagram for Particle:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Particle (void)
 Particle (int name, double time, double time_forward, double time_step, double mass, double position[3], double old_position[3], double velocity[3], double old_velocity[3], double accel[3], double old_accel[3], double daccel[3], double old_daccel[3], double a_2[3], double old_a2[3], double a_3[3], double old_a3[3], double E_kin, double E_pot, double E, double L[3], double L2, double hill_radius, double radius, int star, int binary, int binary_name, int escape, double q1, double q2, double q3, double eps2)
void print_particle (void)
void print_to_file (char output[])
void print_to_file_less (char less_output[])
void find_time_step_firsttime (double Dt_max, double Dt_min, double eta)
int find_time_step_for_binary_member (double time_rest, double Dt_min, double eta, int evolved)
int find_time_step (int N, double Dt_max, double Dt_min, double eta)
void predict (int in_binary)
void predict_back (int in_binary)
void predict_for_no_grape (double)
void correct (double param, int n, int in_binary)
void convert_to_spherical ()
void place_particle_into_cell (vector< double > Dr, double Dtheta, double Dphi, double R_cl)
void check_for_encounters (double R_cl, double Dt_min, double a, int tries)
void calculate_pair_parameters (int j)
void find_actual_neibours (void)
void correct_accel_daccel_from_perturbers (void)
void find_radius_and_type (double R_sun, double M_sun, double BHlimit, double speed_of_light)
void check_for_fifth (void)
Particle * operator-> (void)
 Particle (void)
 Particle (int name, double time, double time_forward, double time_step, double mass, double position[3], double old_position[3], double velocity[3], double old_velocity[3], double accel[3], double old_accel[3], double daccel[3], double old_daccel[3], double a_2[3], double old_a2[3], double a_3[3], double old_a3[3], double E_kin, double E_pot, double E, double L[3], double L2, double hill_radius, double radius, int star, int binary, int binary_name, int escape, double q1, double q2, double q3, double eps2)
void print_particle (void)
void print_to_file (char output[])
void print_to_file_less (char less_output[])
void find_time_step_firsttime (double Dt_max, double Dt_min, double eta)
int find_time_step_for_binary_member (double time_rest, double Dt_min, double eta, int evolved)
int find_time_step (int N, double Dt_max, double Dt_min, double eta)
void predict (int in_binary)
void predict_back (int in_binary)
void predict_for_no_grape (double)
void correct (double param, int n, int in_binary)
void convert_to_spherical ()
void place_particle_into_cell (vector< double > Dr, double Dtheta, double Dphi, double R_cl)
void check_for_encounters (double R_cl, double Dt_min, double a)
void calculate_pair_parameters (int j)
void find_actual_neibours (void)
void correct_accel_daccel_from_perturbers (void)
void find_radius_and_type (double R_sun, double M_sun, double BHlimit, double speed_of_light)
void check_for_fifth (void)
Particle * operator-> (void)

Public Attributes

double mass
double position [3]
double saved_position [3]
double saved_position_for_resend [3]
double old_position [3]
double velocity [3]
double saved_velocity [3]
double saved_velocity_for_resend [3]
double old_velocity [3]
double accel [3]
double old_accel [3]
double saved_accel [3]
double daccel [3]
double old_daccel [3]
double saved_daccel [3]
double saved_accel1 [3]
double saved_daccel1 [3]
double saved_old_accel1 [3]
double saved_old_daccel1 [3]
double tidal_accel [3]
double saved_mass
double a_2 [3]
double old_a_2 [3]
double a_3 [3]
double old_a_3 [3]
double time
double real_mass
double mass_of_inner_binary
double b_position [3]
double b_saved_position [3]
double b_old_position [3]
double b_velocity [3]
double b_saved_velocity [3]
double b_old_velocity [3]
double b_accel [3]
double b_saved_accel [3]
double b_old_accel [3]
double b_daccel [3]
double b_saved_daccel [3]
double b_old_daccel [3]
double b_saved_old_accel [3]
double b_saved_old_daccel [3]
double b_a_2 [3]
double b_old_a_2 [3]
double b_a_3 [3]
double b_old_a_3 [3]
double b_accel_from_pert [3]
double b_daccel_from_pert [3]
double b_total_accel_from_pert [3]
double b_total_daccel_from_pert [3]
double b_time_step
double b_old_time_step
double b_saved_time_step
double b_time
double b_time_forward
double previous_b_dirty_dt
double b_parameter
double b_gamma
double b_distance
double b_initial_distance
int b_number_of_stars
double x_offside
double y_offside
double z_offside
int to_go
int go
int force_find_time_step
int b_evolved
double grape_gamma
double b_future_bin_cm [3]
double b_future_bin_cm_v [3]
double p_position [3]
double p_saved_position [3]
double p_old_position [3]
double p_velocity [3]
double p_saved_velocity [3]
double p_old_velocity [3]
double p_accel [3]
double p_saved_accel [3]
double p_old_accel [3]
double p_daccel [3]
double p_saved_daccel [3]
double p_old_daccel [3]
double p_a_2 [3]
double p_old_a_2 [3]
double p_a_3 [3]
double p_old_a_3 [3]
double p_accel_as_pert [3]
double p_daccel_as_pert [3]
double p_total_accel_as_pert [3]
double p_total_daccel_as_pert [3]
double p_time_step
double p_old_time_step
double p_saved_time_step
double p_time
double p_time_forward
double distance
double spherical_position [3]
double distance_from_cm2
double E_kin
double E_pot
double E
double L [3]
double L2
double hill_radius
double binary_size
double binary_size1
double eps2
int name
int id
double time_step
double helping_time_step
double old_time_step
double time_forward
double radius
int escape
int do_not_update
int predicted
int search_for_encounters
int to_go_to_bin
int do_not_check_for_encounters
int binary
int was_binary
int collide
int binary_name
vector< int > binary_index
int evolved_as_binary
int remove_from_binary
int star
double e_total
double impact_parameter
double impact_parameter_cr
double pericentre
double semimajor
double period
double eccentricity
int ghost
int member_of_soft_binary
int member_of_hard_binary
int new_ghost
int new_phantom
int phantom
int perturber
double mass_to_add
int black_hole
double spin
int white_dwarf
int neutron_star
double q1
double q2
double q3
double angle [3]
int belongs_to_block
int belongs_to_helping_block
int smaller_time_step
int updated_in_helping_block
int belongs_to_binary
int perturbs_ghost
int perturbs_binary
int updates_with_block
int shrink_time_step
int wait_list
int move_imidiatelly
int area
int area_index
int neighbourhood
int rr_index
int theta_index
int phi_index
double rr_rest
double theta_rest
double phi_rest
int location_in_area
int binary_overflow
double r5
double r6
double dR
vector< double > Dr
double rho
vector< int > neighbouring_areas
vector< int > neighbou_areas
vector< Particle > neighbours
vector< Particle * > neighbou
vector< Particle * > all_other_particles
vector< int > names_of_g6neighbours
vector< Particle * > perturbers
Particle * pointer
vector< Particle * > ghost_to_perturb
vector< Particle >::iterator neigh
double rel_position [3]
double saved_rel_position [3]
double saved_perturber_pos [3]
double saved_perturber_vel [3]
double saved_perturber_time_step
double rel_velocity [3]
double saved_rel_velocity [3]
double rel_accel [3]
double rel_daccel [3]
double accel_from_pert [3]
double daccel_from_pert [3]
double total_accel_from_pert [3]
double total_daccel_from_pert [3]
double accel_as_pert [3]
double daccel_as_pert [3]
double total_accel_as_pert [3]
double total_daccel_as_pert [3]
double rel_a_2 [3]
double rel_a_3 [3]


Constructor & Destructor Documentation

Particle::Particle ( void   ) 

Particle::Particle ( int  name,
double  time,
double  time_forward,
double  time_step,
double  mass,
double  position[3],
double  old_position[3],
double  velocity[3],
double  old_velocity[3],
double  accel[3],
double  old_accel[3],
double  daccel[3],
double  old_daccel[3],
double  a_2[3],
double  old_a2[3],
double  a_3[3],
double  old_a3[3],
double  E_kin,
double  E_pot,
double  E,
double  L[3],
double  L2,
double  hill_radius,
double  radius,
int  star,
int  binary,
int  binary_name,
int  escape,
double  q1,
double  q2,
double  q3,
double  eps2 
)

Particle::Particle ( void   ) 

Particle::Particle ( int  name,
double  time,
double  time_forward,
double  time_step,
double  mass,
double  position[3],
double  old_position[3],
double  velocity[3],
double  old_velocity[3],
double  accel[3],
double  old_accel[3],
double  daccel[3],
double  old_daccel[3],
double  a_2[3],
double  old_a2[3],
double  a_3[3],
double  old_a3[3],
double  E_kin,
double  E_pot,
double  E,
double  L[3],
double  L2,
double  hill_radius,
double  radius,
int  star,
int  binary,
int  binary_name,
int  escape,
double  q1,
double  q2,
double  q3,
double  eps2 
)


Member Function Documentation

void Particle::print_particle ( void   ) 

void Particle::print_to_file ( char  output[]  ) 

void Particle::print_to_file_less ( char  less_output[]  ) 

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

int Particle::find_time_step_for_binary_member ( double  time_rest,
double  Dt_min,
double  eta,
int  evolved 
)

int Particle::find_time_step ( int  N,
double  Dt_max,
double  Dt_min,
double  eta 
)

cout << " Belongs to block: " << belongs_to_block << " Updates with block: " << updates_with_block << " wait: " << wait_list << " move " << move_imidiatelly << endl;

void Particle::predict ( int  in_binary  ) 

void Particle::predict_back ( int  in_binary  ) 

void Particle::predict_for_no_grape ( double  t  ) 

void Particle::correct ( double  param,
int  n,
int  in_binary 
)

void Particle::convert_to_spherical (  ) 

void Particle::place_particle_into_cell ( vector< double >  Dr,
double  Dtheta,
double  Dphi,
double  R_cl 
)

void Particle::check_for_encounters ( double  R_cl,
double  Dt_min,
double  a,
int  tries 
)

Here is the call graph for this function:

void Particle::calculate_pair_parameters ( int  j  ) 

void Particle::find_actual_neibours ( void   ) 

void Particle::correct_accel_daccel_from_perturbers ( void   ) 

void Particle::find_radius_and_type ( double  R_sun,
double  M_sun,
double  BHlimit,
double  speed_of_light 
)

void Particle::check_for_fifth ( void   ) 

Particle* Particle::operator-> ( void   )  [inline]

void Particle::print_particle ( void   ) 

void Particle::print_to_file ( char  output[]  ) 

void Particle::print_to_file_less ( char  less_output[]  ) 

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

int Particle::find_time_step_for_binary_member ( double  time_rest,
double  Dt_min,
double  eta,
int  evolved 
)

int Particle::find_time_step ( int  N,
double  Dt_max,
double  Dt_min,
double  eta 
)

void Particle::predict ( int  in_binary  ) 

void Particle::predict_back ( int  in_binary  ) 

void Particle::predict_for_no_grape ( double   ) 

void Particle::correct ( double  param,
int  n,
int  in_binary 
)

void Particle::convert_to_spherical (  ) 

void Particle::place_particle_into_cell ( vector< double >  Dr,
double  Dtheta,
double  Dphi,
double  R_cl 
)

void Particle::check_for_encounters ( double  R_cl,
double  Dt_min,
double  a 
)

void Particle::calculate_pair_parameters ( int  j  ) 

void Particle::find_actual_neibours ( void   ) 

void Particle::correct_accel_daccel_from_perturbers ( void   ) 

void Particle::find_radius_and_type ( double  R_sun,
double  M_sun,
double  BHlimit,
double  speed_of_light 
)

void Particle::check_for_fifth ( void   ) 

Particle* Particle::operator-> ( void   )  [inline]


Member Data Documentation

double Particle::a_2

double Particle::a_3

double Particle::b_accel[3]

double Particle::b_daccel[3]

double Particle::b_a_2[3]

double Particle::b_a_3[3]

double Particle::p_accel[3]

double Particle::p_daccel[3]

double Particle::p_a_2[3]

double Particle::p_a_3[3]

double Particle::E

double Particle::L

double Particle::L2

vector< int > Particle::binary_index

double Particle::q1

double Particle::q2

double Particle::q3

double Particle::r5

double Particle::r6

double Particle::dR

vector< double > Particle::Dr

double Particle::rho

vector< int > Particle::neighbou_areas

vector< Particle >::iterator Particle::neigh

double Particle::rel_a_2[3]

double Particle::rel_a_3[3]


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