MP-Gadget
5.0.1.dev1-76bc7d4726-dirty
|
Go to the source code of this file.
Classes | |
struct | DriftData |
Functions | |
void | drift_all_particles (inttime_t ti0, inttime_t ti1, Cosmology *CP, const double random_shift[3]) |
void | real_drift_particle (struct particle_data *pp, struct slots_manager_type *sman, const double ddrift, const double BoxSize, const double random_shift[3]) |
void drift_all_particles | ( | inttime_t | ti0, |
inttime_t | ti1, | ||
Cosmology * | CP, | ||
const double | random_shift[3] | ||
) |
Definition at line 91 of file drift.c.
References part_manager_type::Base, part_manager_type::BoxSize, CP, endrun(), get_exact_drift_factor(), particle_data::ID, part_manager_type::NumPart, PartManager, real_drift_particle(), SlotsManager, particle_data::Ti_drift, and walltime_measure.
Referenced by run().
void real_drift_particle | ( | struct particle_data * | pp, |
struct slots_manager_type * | sman, | ||
const double | ddrift, | ||
const double | BoxSize, | ||
const double | random_shift[3] | ||
) |
Definition at line 22 of file drift.c.
References BHGetRepositionEnabled(), particle_data::DtHsml, endrun(), particle_data::Hsml, particle_data::ID, slots_manager_type::info, particle_data::IsGarbage, bh_particle_data::JumpToMinPot, particle_data::Key, bh_particle_data::MinPotPos, bh_particle_data::MinPotVel, NEAREST, PEANO(), particle_data::PI, particle_data::Pos, slot_info::ptr, particle_data::Swallowed, particle_data::Type, and particle_data::Vel.
Referenced by domain_build_exchange_list(), and drift_all_particles().