Functions to set initial conditions for the particle class. Functions should be made callable via a config setting in the ParticleSim class. More...
#include "../bssn/bssn.h"
#include "../../IO/IOData.h"
#include "../../utils/Fourier.h"
#include "particles.h"
Go to the source code of this file.
Functions | |
void | cosmo::particle_ic_set_random (BSSN *bssnSim, Particles *particles, Fourier *fourier, IOData *iodata) |
Initialize particles from gaussian random field data. More... | |
void | cosmo::particle_ic_set_sinusoid (BSSN *bssnSim, Particles *particles, IOData *iodata) |
Initialize particles per sinusoidal mode. | |
void | cosmo::particle_ic_set_vectorpert (BSSN *bssnSim, Particles *particles, IOData *iodata) |
Initialize particles per vector mode ID. | |
Functions to set initial conditions for the particle class. Functions should be made callable via a config setting in the ParticleSim class.
void cosmo::particle_ic_set_random | ( | BSSN * | bssnSim, |
Particles * | particles, | ||
Fourier * | fourier, | ||
IOData * | iodata | ||
) |
Initialize particles from gaussian random field data.
Initialize particles from gaussian random field data, so particle masses are that needed to recreate the corresponding density field.