TimeBinData Struct Reference

#include <timestep.h>

Public Member Functions

void timebins_init (const char *name, int *MaxPart)
void timebins_allocate (void)
void timebins_free (void)
void timebins_reallocate (void)
void timebin_move_particle (int p, int timeBin_old, int timeBin_new)
void timebin_add_particle (int i_new, int i_old, int timeBin, int addToListOfActiveParticles)
void timebin_remove_particle (int idx, int bin)
void timebin_cleanup_list_of_active_particles (void)
void timebin_move_sfr (int p, int timeBin_old, int timeBin_new)
void timebin_move_bh (int p, int timeBin_old, int timeBin_new)
void timebin_make_list_of_active_particles_up_to_timebin (int timebin)
void timebin_add_particles_of_timebin_to_list_of_active_particles (int timebin)

Public Attributes

int NActiveParticles
long long GlobalNActiveParticles
int * ActiveParticleList
int TimeBinCount [TIMEBINS]
int FirstInTimeBin [TIMEBINS]
int LastInTimeBin [TIMEBINS]
int * NextInTimeBin
int * PrevInTimeBin
char Name [100]
int * MaxPart

Detailed Description

Definition at line 15 of file timestep.h.

Member Function Documentation

◆ timebin_add_particle()

void timebin_add_particle ( int  i_new,
int  i_old,
int  timeBin,
int  addToListOfActiveParticles 

Definition at line 599 of file

◆ timebin_add_particles_of_timebin_to_list_of_active_particles()

void timebin_add_particles_of_timebin_to_list_of_active_particles ( int  timebin)

Definition at line 671 of file

◆ timebin_cleanup_list_of_active_particles()

void timebin_cleanup_list_of_active_particles ( void  )

◆ timebin_make_list_of_active_particles_up_to_timebin()

void timebin_make_list_of_active_particles_up_to_timebin ( int  timebin)

Definition at line 664 of file

◆ timebin_move_bh()

void timebin_move_bh ( int  p,
int  timeBin_old,
int  timeBin_new 

◆ timebin_move_particle()

void timebin_move_particle ( int  p,
int  timeBin_old,
int  timeBin_new 

Definition at line 539 of file

◆ timebin_move_sfr()

void timebin_move_sfr ( int  p,
int  timeBin_old,
int  timeBin_new 

◆ timebin_remove_particle()

void timebin_remove_particle ( int  idx,
int  bin 

Definition at line 574 of file

◆ timebins_allocate()

void timebins_allocate ( void  )

Definition at line 458 of file

◆ timebins_free()

void timebins_free ( void  )

Definition at line 473 of file

◆ timebins_init()

void timebins_init ( const char *  name,
int *  MaxPart 

Definition at line 439 of file

◆ timebins_reallocate()

void timebins_reallocate ( void  )

Definition at line 484 of file

Member Data Documentation

◆ ActiveParticleList

int* ActiveParticleList

Definition at line 20 of file timestep.h.

◆ FirstInTimeBin

int FirstInTimeBin[TIMEBINS]

Definition at line 23 of file timestep.h.

◆ GlobalNActiveParticles

long long GlobalNActiveParticles

Definition at line 19 of file timestep.h.

◆ LastInTimeBin

int LastInTimeBin[TIMEBINS]

Definition at line 24 of file timestep.h.

◆ MaxPart

int* MaxPart

Definition at line 28 of file timestep.h.

◆ NActiveParticles

int NActiveParticles

Definition at line 18 of file timestep.h.

◆ Name

char Name[100]

Definition at line 27 of file timestep.h.

◆ NextInTimeBin

int* NextInTimeBin

Definition at line 25 of file timestep.h.

◆ PrevInTimeBin

int* PrevInTimeBin

Definition at line 26 of file timestep.h.

◆ TimeBinCount

int TimeBinCount[TIMEBINS]

Definition at line 21 of file timestep.h.

The documentation for this struct was generated from the following files: