CosmoGRaPH v0.0
Public Member Functions | Public Attributes | List of all members
cosmo::Scalar Class Reference

Class implementing functionality for a scalar field that relies on a BSSN instance. More...

#include <scalar.h>

Collaboration diagram for cosmo::Scalar:
Collaboration graph
[legend]

Public Member Functions

 Scalar ()
 Constructor: initialize fields needed for scalar evolution, set timestep according to global dt.
 
void stepInit ()
 Call RK4Register::stepInit for fields.
 
void K1Finalize ()
 Call RK4Register::K1Finalize for fields.
 
void K2Finalize ()
 
void K3Finalize ()
 
void K4Finalize ()
 
void RKEvolvePt (BSSNData *bd)
 
ScalarData getScalarData (BSSNData *bd)
 
real_t dt_phi (BSSNData *bd, ScalarData *sd)
 
real_t dt_Pi (BSSNData *bd, ScalarData *sd)
 
real_t dt_psi1 (BSSNData *bd, ScalarData *sd)
 
real_t dt_psi2 (BSSNData *bd, ScalarData *sd)
 
real_t dt_psi3 (BSSNData *bd, ScalarData *sd)
 
real_t dV (real_t phi_in)
 
real_t V (real_t phi_in)
 
void addBSSNSource (BSSN *bssn)
 
real_t scalarConstraint (idx_t i, idx_t j, idx_t k, idx_t dir)
 

Public Attributes

register_t phi
 
register_t Pi
 
register_t psi1
 
register_t psi2
 
register_t psi3
 

Detailed Description

Class implementing functionality for a scalar field that relies on a BSSN instance.


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