CosmoGRaPH v0.0
Functions
particle_ic.h File Reference

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"
Include dependency graph for particle_ic.h:
This graph shows which files directly or indirectly include this file:

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.
 

Detailed Description

Functions to set initial conditions for the particle class. Functions should be made callable via a config setting in the ParticleSim class.

Function Documentation

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.