CosmoGRaPH v0.0
Functions
scalar_ic.h File Reference

Functions to set initial conditions for the Scalar class. Functions should be made callable via a config setting in ScalarSim class. More...

#include "../bssn/bssn.h"
#include "scalar.h"
#include "../../IO/io.h"
Include dependency graph for scalar_ic.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void cosmo::scalar_ic_set_wave (BSSN *bssn, Scalar *scalar)
 Initialize a small-amplitude wave on a flat metric (use a stationary Gaussian wave packet for now) NB: nonzero constraint violation.
 
void cosmo::scalar_ic_set_Lambda (BSSN *bssn, Scalar *scalar)
 Initialize scalar field to zero: assumes potential with a minimum, constant value here, so a cosmological constant.
 
void cosmo::scalar_ic_set_semianalytic_test (BSSN *bssn, Scalar *scalar, IOData *iodata)
 semi-analytic test initial conditions: a sinusoidal fluctuation in a particular direction & corresponding metric
 

Detailed Description

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