CosmoGRaPH v0.0
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
cosmo::BSSNGaugeHandler Class Reference
Collaboration diagram for cosmo::BSSNGaugeHandler:
Collaboration graph
[legend]

Public Member Functions

 BSSNGaugeHandler ()
 Initialize with static, non-evolving gauge.
 
 BSSNGaugeHandler (ConfigParser *config, BSSN *bssnSim)
 Initialize with gauge determined by config file (default to a "static", non-evolving gauge)
 
void setLapseFn (std::string name)
 Set the lapse function.
 
void setShiftFn (std::string name)
 Set the shift function.
 
real_t ev_lapse (BSSNData *bd)
 Lapse evolution function for BSSN class to call.
 
real_t ev_shift1 (BSSNData *bd)
 Shift in x-dir evolution function for BSSN class to call.
 
real_t ev_shift2 (BSSNData *bd)
 Shift in y-dir evolution function for BSSN class to call.
 
real_t ev_shift3 (BSSNData *bd)
 Shift in z-dir evolution function for BSSN class to call.
 

Private Types

typedef real_t(BSSNGaugeHandler::* bssn_gauge_func_t) (BSSNData *bd)
 internal function pointer type
 

Private Member Functions

real_t Static (BSSNData *bd)
 Don't evolve anything. More...
 
real_t HarmonicLapse (BSSNData *bd)
 Hamonic gauge lapse.
 
real_t ConformalFLRWLapse (BSSNData *bd)
 Locally conformal FLRW-type lapse.
 
real_t OnePlusLogLapse (BSSNData *bd)
 1 + log slicing
 
real_t GeneralizedNewton (BSSNData *bd)
 
real_t AnharmonicLapse (BSSNData *bd)
 Generalized Newton, see notes. More...
 
real_t ConformalSyncLapse (BSSNData *bd)
 Untested/experimental gauge choice; conformal synchronous gauge Relies on having reference metric for K_FRW See also ConformalFLRWLapse.
 
real_t GammaDriverShift1 (BSSNData *bd)
 Gamma driver shift in x-dir.
 
real_t GammaDriverShift2 (BSSNData *bd)
 Gamma driver shift in y-dir.
 
real_t GammaDriverShift3 (BSSNData *bd)
 Gamma driver shift in z-dir.
 
real_t DampedWaveLapse (BSSNData *bd)
 Damped wave gauge lapse.
 
real_t DampedWaveShift1 (BSSNData *bd)
 Damped wave gauge shift in x-dir.
 
real_t DampedWaveShift2 (BSSNData *bd)
 Damped wave gauge shift in y-dir.
 
real_t DampedWaveShift3 (BSSNData *bd)
 Damped wave gauge shift in z-dir.
 
real_t AwAGaugeWaveLapse (BSSNData *bd)
 AwA gauge wave test lapse.
 
real_t AwAShiftedWaveLapse (BSSNData *bd)
 AwA shifted gauge wave test lapse.
 
real_t AwAShiftedWaveShift1 (BSSNData *bd)
 AwA shifted gauge wave test shift in x-dir.
 
real_t AwAShiftedWaveShift2 (BSSNData *bd)
 AwA shifted gauge wave test shift in y-dir.
 
real_t AwAShiftedWaveShift3 (BSSNData *bd)
 AwA shifted gauge wave test shift in z-dir.
 
real_t TestKDriverLapse (BSSNData *bd)
 Trial Lapse function in cosmology Assumes reference metric is not used / minkowski.
 
real_t TestAijDriverLapse (BSSNData *bd)
 Trial Lapse function in cosmology.
 
real_t AijDriverShift1 (BSSNData *bd)
 Aij driver test gauge.
 
real_t AijDriverShift2 (BSSNData *bd)
 
real_t AijDriverShift3 (BSSNData *bd)
 
void _initGaugeMaps ()
 
void _initDefaultParameters (ConfigParser *config)
 

Private Attributes

BSSNbssn
 
std::map< std::string, bssn_gauge_func_tlapse_gauge_map
 
std::map< std::string, std::map< std::string, bssn_gauge_func_t > > shift_gauge_map
 
bssn_gauge_func_t lapse_fn
 Lapse evolution function.
 
bssn_gauge_func_t shift_fn1
 Shift evolution function.
 
bssn_gauge_func_t shift_fn2
 Shift evolution function.
 
bssn_gauge_func_t shift_fn3
 Shift evolution function.
 
real_t gd_c
 Tunable gauge parameter.
 
real_t exp_sync_gauge_c
 
real_t GN_eta
 
real_t dw_mu_l
 damped wave "mu_l" parameter
 
real_t dw_mu_s
 damped wave "mu_s" parameter
 
real_t dw_p
 damped wave "p" parameter
 
real_t gauge_wave_dir
 wave direction of prop. ( {1,2,3})
 
real_t k_driver_coeff
 

Member Function Documentation

real_t cosmo::BSSNGaugeHandler::AnharmonicLapse ( BSSNData bd)
private

Generalized Newton, see notes.

Experimental gauge choice, quasi-newtonian

real_t cosmo::BSSNGaugeHandler::Static ( BSSNData bd)
private

Don't evolve anything.

Returns
0

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