4 #include "../../cosmo_types.h" 5 #include "../bssn/bssn.h" 14 real_t phi, Pi, psi1, psi2, psi3;
17 real_t d1phi, d2phi, d3phi;
18 real_t d1Pi, d2Pi, d3Pi;
19 real_t d1psi1, d2psi1, d3psi1;
20 real_t d1psi2, d2psi2, d3psi2;
21 real_t d1psi3, d2psi3, d3psi3;
65 real_t dV(real_t phi_in);
66 real_t V(real_t phi_in);
67 void addBSSNSource(
BSSN * bssn);
69 real_t scalarConstraint(idx_t i, idx_t j, idx_t k, idx_t dir);
void K1Finalize()
Call RK4Register::K1Finalize for fields.
Definition: scalar.cc:49
BSSN Class: evolves BSSN metric fields, computes derived quantities.
Definition: bssn.h:24
Structure containing BSSN metric variables and various derived quantities, such as derivatives of BSS...
Definition: bssn_data.h:18
void stepInit()
Call RK4Register::stepInit for fields.
Definition: scalar.cc:37
Class implementing functionality for a scalar field that relies on a BSSN instance.
Definition: scalar.h:29
Scalar()
Constructor: initialize fields needed for scalar evolution, set timestep according to global dt...
Definition: scalar.cc:13