// Header Lorene: #include "nbr_spx.h" #include "utilitaires.h" #include "graphique.h" #include "math.h" #include "metric.h" #include "param.h" #include "param_elliptic.h" #include "tensor.h" #include "unites.h" #include "excision_surf.h" namespace Lorene { //gives a new value for expansion rescaled with lapse (and its time derivative) obtained by parabolic evolution. //All manipulated quantities are 2-dimensional. void Excision_surf::set_expa_parab(double c_theta_lap, double c_theta_fin, Scalar& expa_fin){ // Definition of ff // ================ // Start Mapping interpolation if (expa.get_spectral_va().get_etat() == 0) { // Scalar theta = sph.theta_plus(); Scalar theta (lapse.get_mp()); theta = 3.; theta.std_spectral_base(); set_expa() = theta;} Scalar thetaplus = expa; // Interpolation for the lapse (to get a 2d quantity); Scalar lapse2(thetaplus.get_mp()); lapse2.annule_hard(); lapse2.std_spectral_base(); int nt = (*lapse.get_mp().get_mg()).get_nt(1); int np = (*lapse.get_mp().get_mg()).get_np(1); for (int k=0; k