MP-Gadget
5.0.1.dev1-76bc7d4726-dirty
|
#include <partmanager.h>
Public Attributes | |
double | Pos [3] |
float | Mass |
struct { | |
unsigned int Type:4 | |
unsigned int IsGarbage:1 | |
unsigned int Swallowed:1 | |
unsigned int spare_1:1 | |
unsigned int BHHeated:1 | |
unsigned char Generation | |
unsigned char TimeBin | |
unsigned char HeIIIionized | |
}; | |
int | PI |
inttime_t | Ti_drift |
MyIDType | ID |
MyFloat | Vel [3] |
MyFloat | GravAccel [3] |
MyFloat | GravPM [3] |
MyFloat | Potential |
union { | |
MyFloat DtHsml | |
int TargetTask | |
}; | |
MyFloat | Hsml |
union { | |
peano_t Key | |
int64_t GrNr | |
}; | |
This structure holds all the information that is stored for each particle of the simulation.
Definition at line 10 of file partmanager.h.
struct { ... } |
union { ... } |
union { ... } |
unsigned int particle_data::BHHeated |
Definition at line 22 of file partmanager.h.
MyFloat particle_data::DtHsml |
Definition at line 52 of file partmanager.h.
Referenced by real_drift_particle().
unsigned char particle_data::Generation |
Definition at line 23 of file partmanager.h.
Referenced by slots_split_particle().
MyFloat particle_data::GravAccel[3] |
Definition at line 41 of file partmanager.h.
MyFloat particle_data::GravPM[3] |
Definition at line 43 of file partmanager.h.
int64_t particle_data::GrNr |
Definition at line 68 of file partmanager.h.
Referenced by fof_try_particle_exchange(), and order_by_type_and_grnr().
unsigned char particle_data::HeIIIionized |
Definition at line 28 of file partmanager.h.
Referenced by GTHeIIIIonized(), and STHeIIIIonized().
MyFloat particle_data::Hsml |
Definition at line 59 of file partmanager.h.
Referenced by real_drift_particle().
MyIDType particle_data::ID |
Definition at line 38 of file partmanager.h.
Referenced by domain_exchange_once(), domain_test_id_uniqueness(), drift_all_particles(), real_drift_particle(), slots_check_id_consistency(), slots_connect_new_slot(), slots_setup_id(), slots_split_particle(), test_exchange(), test_exchange_uneven(), test_exchange_with_garbage(), and test_exchange_zero_slots().
unsigned int particle_data::IsGarbage |
Definition at line 19 of file partmanager.h.
Referenced by domain_build_exchange_list(), domain_exchange_once(), domain_test_id_uniqueness(), order_by_type_and_key(), real_drift_particle(), slots_check_id_consistency(), slots_gc_mark(), slots_mark_garbage(), slots_setup_topology(), and test_exchange_with_garbage().
peano_t particle_data::Key |
Definition at line 66 of file partmanager.h.
Referenced by order_by_type_and_key(), and real_drift_particle().
float particle_data::Mass |
particle mass
Definition at line 13 of file partmanager.h.
Referenced by petaio_read_snapshot(), and slots_split_particle().
int particle_data::PI |
Definition at line 34 of file partmanager.h.
Referenced by domain_exchange_once(), fof_distribute_particles(), GTBlackholeMinPotPos(), GTHeliumIFraction(), GTHeliumIIFraction(), GTHeliumIIIFraction(), GTNeutralHydrogenFraction(), real_drift_particle(), slots_check_id_consistency(), slots_connect_new_slot(), slots_convert(), slots_gc_collect(), slots_gc_mark(), slots_mark_garbage(), slots_setup_id(), slots_setup_topology(), and slots_split_particle().
double particle_data::Pos[3] |
particle position at its current time
Definition at line 12 of file partmanager.h.
Referenced by check_positions(), get_helium_neutral_fraction_sfreff(), get_neutral_fraction_sfreff(), GTPosition(), real_drift_particle(), and STPosition().
MyFloat particle_data::Potential |
Definition at line 45 of file partmanager.h.
unsigned int particle_data::spare_1 |
Definition at line 21 of file partmanager.h.
unsigned int particle_data::Swallowed |
Definition at line 20 of file partmanager.h.
Referenced by GTSwallowed(), real_drift_particle(), and STSwallowed().
int particle_data::TargetTask |
Definition at line 57 of file partmanager.h.
Referenced by fof_sorted_layout(), and fof_try_particle_exchange().
inttime_t particle_data::Ti_drift |
current time of the particle position. The same for all particles.
Definition at line 36 of file partmanager.h.
Referenced by domain_build_exchange_list(), drift_all_particles(), get_helium_neutral_fraction_sfreff(), and get_neutral_fraction_sfreff().
unsigned char particle_data::TimeBin |
Definition at line 26 of file partmanager.h.
Referenced by get_helium_neutral_fraction_sfreff(), and get_neutral_fraction_sfreff().
unsigned int particle_data::Type |
Definition at line 17 of file partmanager.h.
Referenced by domain_build_plan(), domain_exchange_once(), domain_find_iter_space(), order_by_type_and_grnr(), order_by_type_and_key(), petaio_build_buffer(), petaio_build_selection(), petaio_read_snapshot(), petaio_readout_buffer(), real_drift_particle(), slots_check_id_consistency(), slots_convert(), slots_gc_mark(), slots_mark_garbage(), slots_setup_id(), slots_setup_topology(), test_exchange_layout_func_uneven(), test_exchange_uneven(), test_slots_convert(), and test_slots_fork().
MyFloat particle_data::Vel[3] |
Definition at line 40 of file partmanager.h.
Referenced by GTVelocity(), petaio_read_snapshot(), real_drift_particle(), and STVelocity().