4 #include "utilitaires.h" 9 #include "param_elliptic.h" 12 #include "excision_surf.h" 41 lapse2.std_spectral_base();
45 for (
int k=0; k<np; k++)
46 for (
int j=0; j<nt; j++) {
53 lapse2.std_spectral_base();
62 Scalar ff = lapse2*(c_theta_lap*thetaplus.
lapang() + c_theta_fin*(thetaplus - expa_fin));
72 Scalar ff_int = lapse2*(c_theta_lap*theta_int.
lapang() + c_theta_fin*(theta_int - expa_fin));
79 Scalar bound_theta = thetaplus + k_2;
115 lapse2.std_spectral_base();
119 for (
int k=0; k<np; k++)
120 for (
int j=0; j<nt; j++) {
124 lapse2.std_spectral_base();
137 Scalar K_1 = beta0*d_thetaplus + alpha0*d_thetaplus.
lapang() + gamma0*thetaplus ;
144 Scalar K_2 = beta0*d_thetaplus + alpha0*d_thetaplus.
lapang() + gamma0*thetaplus;
151 Scalar K_3 = beta0*d_thetaplus + alpha0*d_thetaplus.
lapang() + gamma0*thetaplus;
158 Scalar K_4 = beta0*d_thetaplus + alpha0*d_thetaplus.
lapang() + gamma0*thetaplus;
162 thetaplus =
expa + (1./6.)*
delta_t*(k_1 + 2.*k_2 + 2.*k_3 + k_4);
163 d_thetaplus =
dt_expa + (1./6.)*
delta_t*(K_1 + 2.*K_2 + 2.*K_3 + K_4);
void set_expa_hyperb(double alph0, double beta0, double gamma0)
Sets a new value for expansion rescaled over lapse (and its derivative), obtained by hyperbolic evolu...
double delta_t
The time step for evolution in parabolic drivers.
Scalar expa
The 2d expansion, directly evolved from the initial excision with Einstein Equations.
const Scalar & lapang() const
Returns the angular Laplacian of *this , where .
void ylm()
Computes the coefficients of *this.
const Mg3d * get_mg() const
Gives the Mg3d on which the mapping is defined.
Scalar & set_expa()
Sets the expansion function on the surface at time t (considering to protect this function) ...
Tensor field of valence 0 (or component of a tensorial field).
virtual void std_spectral_base()
Sets the spectral bases of the Valeur va to the standard ones for a scalar field. ...
Scalar & set_dt_expa()
Sets the time derivative of the expansion function on the surface at time t (considering to protect t...
double val_grid_point(int l, int k, int j, int i) const
Returns the value of the field at a specified grid point.
void annule_hard()
Sets the Scalar to zero in a hard way.
Scalar lapse
The lapse defined on the 3 slice.
int get_etat() const
Returns the logical state.
void set_expa_parab(double c_theta_lap, double c_theta_fin, Scalar &expa_fin)
Sets a new value for expansion rescaled over lapse (and its derivative), obtained by parabolic evolut...
Scalar dt_expa
The time derivative of the expansion, derived from Einstein equations and arbitrary evolution...
Valeur & set_spectral_va()
Returns va (read/write version)
const Map & get_mp() const
Returns the mapping.
const Valeur & get_spectral_va() const
Returns va (read only version)