MP-Gadget  5.0.1.dev1-76bc7d4726-dirty
drift.h
Go to the documentation of this file.
1 #ifndef __DRIFT_H
2 #define __DRIFT_H
3 #include "cosmology.h"
4 #include "types.h"
5 #include "partmanager.h"
6 #include "slotsmanager.h"
7 
8 /* Updates all particles to the current drift time*/
9 void drift_all_particles(inttime_t ti0, inttime_t ti1, Cosmology * CP, const double random_shift[3]);
10 
11 void real_drift_particle(struct particle_data * pp, struct slots_manager_type * sman, const double ddrift, const double BoxSize, const double random_shift[3]);
12 
13 struct DriftData
14 {
18 };
19 
20 #endif
void drift_all_particles(inttime_t ti0, inttime_t ti1, Cosmology *CP, const double random_shift[3])
Definition: drift.c:91
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: drift.c:22
static Cosmology * CP
Definition: power.c:27
inttime_t ti0
Definition: drift.h:15
Cosmology * CP
Definition: drift.h:17
inttime_t ti1
Definition: drift.h:16
int32_t inttime_t
Definition: types.h:8