119 #define SphP ((struct sph_particle_data*) SlotsManager->info[0].ptr)
120 #define StarP ((struct star_particle_data*) SlotsManager->info[4].ptr)
121 #define BhP ((struct bh_particle_data*) SlotsManager->info[5].ptr)
124 #define SPHP(i) SphP[P[i].PI]
125 #define BHP(i) BhP[P[i].PI]
126 #define STARP(i) StarP[P[i].PI]
132 #define BASESLOT_PI(PI, ptype, sman) ((struct particle_data_ext *)(sman->info[ptype].ptr + sman->info[ptype].elsize * (PI)))
void slots_setup_id(const struct part_manager_type *pman, struct slots_manager_type *sman)
size_t slots_reserve(int where, int64_t atleast[6], struct slots_manager_type *sman)
MPI_Datatype MPI_TYPE_SLOT[6]
MPI_Datatype MPI_TYPE_PARTICLE
void slots_set_enabled(int ptype, size_t elsize, struct slots_manager_type *sman)
void slots_mark_garbage(int i, struct part_manager_type *pman, struct slots_manager_type *sman)
void slots_free(struct slots_manager_type *sman)
void slots_setup_topology(struct part_manager_type *pman, int64_t *NLocal, struct slots_manager_type *sman)
int slots_gc(int *compact_slots, struct part_manager_type *pman, struct slots_manager_type *sman)
void slots_check_id_consistency(struct part_manager_type *pman, struct slots_manager_type *sman)
struct slots_manager_type SlotsManager[1]
void slots_gc_sorted(struct part_manager_type *pman, struct slots_manager_type *sman)
void slots_init(double increase, struct slots_manager_type *sman)
int slots_convert(int parent, int ptype, int placement, struct part_manager_type *pman, struct slots_manager_type *sman)
int slots_split_particle(int parent, double childmass, struct part_manager_type *pman)
struct particle_data_ext base
struct particle_data_ext base
MyFloat DhsmlEgyDensityFactor
MyFloat TotalMassReturned
MyFloat LastEnrichmentMyr
struct particle_data_ext base
static enum TransferType ptype