Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

particle_data Struct Reference

#include <allvars.h>


Data Fields

float Pos [3]
float Mass
float Vel [3]
float GravAccel [3]
float GravPM [3]
float GravAccelDirect [3]
float Potential
float OldAcc
unsigned int ID
int Type
int Ti_endstep
int Ti_begstep
float GravCost


Detailed Description

This structure holds all the information that is stored for each particle of the simulation.

Definition at line 492 of file allvars.h.


Field Documentation

float particle_data::GravAccel[3]
 

particle acceleration due to gravity

Definition at line 497 of file allvars.h.

Referenced by advance_and_find_timesteps(), compute_global_quantities_of_system(), fill_write_buffer(), force_treeevaluate_ewald_correction(), get_timestep(), gravity_forcetest(), gravity_tree(), init(), and move_particles().

float particle_data::GravAccelDirect[3]
 

particle acceleration when computed with direct summation

Definition at line 502 of file allvars.h.

Referenced by gravity_forcetest().

float particle_data::GravCost
 

weight factor used for balancing the work-load

Definition at line 518 of file allvars.h.

Referenced by domain_sumCost(), force_treebuild_single(), force_treeevaluate_ewald_correction(), gravity_tree(), and init().

float particle_data::GravPM[3]
 

particle acceleration due to long-range PM gravity force

Definition at line 499 of file allvars.h.

Referenced by advance_and_find_timesteps(), compute_global_quantities_of_system(), fill_write_buffer(), get_timestep(), gravity_forcetest(), gravity_tree(), init(), long_range_force(), move_particles(), and pmforce_periodic().

unsigned int particle_data::ID
 

particle identifier

Definition at line 507 of file allvars.h.

Referenced by density(), empty_read_buffer(), fill_write_buffer(), and hydro_force().

float particle_data::Mass
 

particle mass

Definition at line 495 of file allvars.h.

Referenced by advance_and_find_timesteps(), compute_global_quantities_of_system(), compute_potential(), density_evaluate(), empty_read_buffer(), fill_write_buffer(), force_treeevaluate_ewald_correction(), force_update_node_recursive(), hydro_evaluate(), hydro_force(), pmforce_periodic(), pmpotential_periodic(), read_ic(), and setup_smoothinglengths().

float particle_data::OldAcc
 

magnitude of old gravitational force. Used in relative opening criterion

Definition at line 505 of file allvars.h.

Referenced by compute_potential(), force_treeevaluate(), force_treeevaluate_potential(), force_treeevaluate_potential_shortrange(), force_treeevaluate_shortrange(), gravity_forcetest(), gravity_tree(), and init().

float particle_data::Pos[3]
 

particle position at its current time

Definition at line 494 of file allvars.h.

Referenced by advance_and_find_timesteps(), compute_global_quantities_of_system(), compute_potential(), density(), density_evaluate(), do_box_wrapping(), domain_findExtent(), empty_read_buffer(), fill_write_buffer(), force_treebuild_single(), force_treeevaluate(), force_treeevaluate_direct(), force_treeevaluate_ewald_correction(), force_treeevaluate_potential(), force_treeevaluate_potential_shortrange(), force_treeevaluate_shortrange(), force_update_node_len_local(), force_update_node_recursive(), gravity_forcetest(), gravity_tree(), hydro_evaluate(), hydro_force(), long_range_force(), move_particles(), ngb_clear_buf(), ngb_treefind_pairs(), ngb_treefind_variable(), pmforce_periodic(), and pmpotential_periodic().

float particle_data::Potential
 

gravitational potential

Definition at line 504 of file allvars.h.

Referenced by compute_global_quantities_of_system(), compute_potential(), fill_write_buffer(), init(), and pmpotential_periodic().

int particle_data::Ti_begstep
 

marks end of current timestep of particle on integer timeline

Definition at line 514 of file allvars.h.

Referenced by advance_and_find_timesteps(), compute_global_quantities_of_system(), density(), domain_sumCost(), fill_write_buffer(), hydro_evaluate(), hydro_force(), init(), move_particles(), and readjust_timebase().

int particle_data::Ti_endstep
 

marks start of current timestep of particle on integer timeline

Definition at line 513 of file allvars.h.

Referenced by advance_and_find_timesteps(), compute_global_quantities_of_system(), density(), domain_sumCost(), fill_write_buffer(), gravity_forcetest(), gravity_tree(), hydro_evaluate(), hydro_force(), init(), move_particles(), and readjust_timebase().

int particle_data::Type
 

flags particle type. 0=gas, 1=halo, 2=disk, 3=bulge, 4=stars, 5=bndry

Definition at line 512 of file allvars.h.

Referenced by advance_and_find_timesteps(), compute_global_quantities_of_system(), compute_potential(), density(), domain_countToGo(), domain_decompose(), domain_exchangeParticles(), domain_sumCost(), empty_read_buffer(), fill_write_buffer(), force_treebuild_single(), force_treeevaluate(), force_treeevaluate_direct(), force_treeevaluate_potential(), force_treeevaluate_potential_shortrange(), force_treeevaluate_shortrange(), force_update_node_recursive(), get_timestep(), gravity_forcetest(), gravity_tree(), move_particles(), ngb_treefind_pairs(), ngb_treefind_variable(), read_ic(), and savepositions().

float particle_data::Vel[3]
 

particle velocity at its current time

Definition at line 496 of file allvars.h.

Referenced by advance_and_find_timesteps(), compute_global_quantities_of_system(), empty_read_buffer(), fill_write_buffer(), force_update_node_recursive(), init(), and move_particles().


The documentation for this struct was generated from the following file:
Generated on Sat Apr 22 15:29:43 2006 for GADGET-2 by  doxygen 1.3.9.1