Spacelike time slice of a 3+1 spacetime with conformal decomposition. More...
#include <time_slice.h>
Public Member Functions | |
| Time_slice_conf (const Scalar &lapse_in, const Vector &shift_in, const Metric_flat &ff_in, const Scalar &psi_in, const Sym_tensor &hh_in, const Sym_tensor &hata_in, const Scalar &trk_in, int depth_in=3) | |
| Constructor from conformal decomposition. | |
| Time_slice_conf (const Scalar &lapse_in, const Vector &shift_in, const Sym_tensor &gamma_in, const Sym_tensor &kk_in, const Metric_flat &ff_in, int depth_in=3) | |
| Constructor from physical metric. | |
| Time_slice_conf (const Map &mp, const Base_vect &triad, const Metric_flat &ff_in, int depth_in=3) | |
| Constructor as standard time slice of flat spacetime (Minkowski). | |
| Time_slice_conf (const Map &mp, const Base_vect &triad, const Metric_flat &ff_in, FILE *fich, bool partial_read, int depth_in=3) | |
| Constructor from binary file. | |
| Time_slice_conf (const Time_slice_conf &) | |
| Copy constructor. | |
| virtual | ~Time_slice_conf () |
| Destructor. | |
| void | operator= (const Time_slice_conf &) |
Assignment to another Time_slice_conf. | |
| void | operator= (const Time_slice &) |
Assignment to a Time_slice. | |
| virtual void | set_psi_del_npsi (const Scalar &psi_in) |
Sets the conformal factor relating the physical metric to the conformal one: . | |
| virtual void | set_psi_del_n (const Scalar &psi_in) |
Sets the conformal factor relating the physical metric to the conformal one: . | |
| virtual void | set_npsi_del_psi (const Scalar &npsi_in) |
Sets the factor at the current time step (jtime ) and deletes the value of . | |
| virtual void | set_npsi_del_n (const Scalar &npsi_in) |
Sets the factor at the current time step (jtime ) and deletes the value of N. | |
| virtual void | set_hh (const Sym_tensor &hh_in) |
Sets the deviation of the conformal metric from the flat metric : . | |
| virtual void | set_hata (const Sym_tensor &hata_in) |
Sets the conformal representation of the traceless part of the extrinsic curvature: . | |
| virtual void | set_hata_TT (const Sym_tensor_tt &hata_tt) |
Sets the TT part of (see member hata_evol ). | |
| virtual void | set_hata_from_XAB (Param *par_bc=0x0, Param *par_mat=0x0) |
Sets the conformal representation of the traceless part of the extrinsic curvature from its potentials A, and . | |
| virtual const Scalar & | nn () const |
Lapse function N at the current time step (jtime ). | |
| virtual const Sym_tensor & | gam_dd () const |
Induced metric (covariant components ) at the current time step (jtime ). | |
| virtual const Sym_tensor & | gam_uu () const |
Induced metric (contravariant components ) at the current time step (jtime ). | |
| virtual const Sym_tensor & | k_dd () const |
Extrinsic curvature tensor (covariant components ) at the current time step (jtime ). | |
| virtual const Sym_tensor & | k_uu () const |
Extrinsic curvature tensor (contravariant components ) at the current time step (jtime ). | |
| virtual const Scalar & | A_hata () const |
Returns the potential A of . | |
| virtual const Scalar & | B_hata () const |
Returns the potential of . | |
| virtual const Scalar & | psi () const |
Conformal factor relating the physical metric to the conformal one: . | |
| const Scalar & | psi4 () const |
Factor at the current time step (jtime ). | |
| const Scalar & | ln_psi () const |
Logarithm of at the current time step (jtime ). | |
| virtual const Scalar & | npsi () const |
Factor at the current time step (jtime ). | |
| virtual const Metric & | tgam () const |
Conformal metric Returns the value at the current time step (jtime ). | |
| virtual const Sym_tensor & | hh (Param *=0x0, Param *=0x0) const |
Deviation of the conformal metric from the flat metric : . | |
| virtual const Sym_tensor & | hata () const |
Conformal representation of the traceless part of the extrinsic curvature: . | |
| virtual Sym_tensor | aa () const |
Conformal representation of the traceless part of the extrinsic curvature: . | |
| virtual const Scalar & | trk () const |
Trace K of the extrinsic curvature at the current time step (jtime ). | |
| virtual const Vector & | hdirac () const |
Vector which vanishes in Dirac gauge. | |
| virtual const Vector & | vec_X (int method_poisson=6) const |
Vector representing the longitudinal part of . | |
| void | compute_X_from_momentum_constraint (const Vector &hat_S, const Sym_tensor_tt &hata_tt, int iter_max=200, double precis=1.e-12, double relax=0.8, int methode_poisson=6) |
Computes the vector from the conformally-rescaled momentum , using the momentum constraint. | |
| void | set_scheme_order (int ord) |
| Sets the order of the finite-differences scheme. | |
| int | get_scheme_order () const |
| Gets the order of the finite-differences scheme. | |
| int | get_latest_j () const |
| Gets the latest value of time step index. | |
| const Evolution_std< double > & | get_time () const |
| Gets the time coordinate t at successive time steps. | |
| virtual const Vector & | beta () const |
shift vector at the current time step (jtime ) | |
| const Metric & | gam () const |
Induced metric at the current time step (jtime ). | |
| Tbl | check_hamiltonian_constraint (const Scalar *energy_density=0x0, ostream &ost=cout, bool verb=true) const |
| Checks the level at which the hamiltonian constraint is verified. | |
| Tbl | check_momentum_constraint (const Vector *momentum_density=0x0, ostream &ost=cout, bool verb=true) const |
| Checks the level at which the momentum constraints are verified. | |
| Tbl | check_dynamical_equations (const Sym_tensor *strain_tensor=0x0, const Scalar *energy_density=0x0, ostream &ost=cout, bool verb=true) const |
| Checks the level at which the dynamical equations are verified. | |
| virtual double | adm_mass () const |
| Returns the ADM mass (geometrical units) at the current step. | |
| void | save (const char *rootname) const |
| Saves in a binary file. | |
Protected Member Functions | |
| virtual void | del_deriv () const |
| Deletes all the derived quantities. | |
| void | set_der_0x0 () const |
Sets to 0x0 all the pointers on derived quantities. | |
| virtual ostream & | operator>> (ostream &) const |
| Operator >> (virtual function called by the operator<<). | |
| virtual void | sauve (FILE *fich, bool partial_save) const |
| Total or partial saves in a binary file. | |
Protected Attributes | |
| const Metric_flat & | ff |
Pointer on the flat metric with respect to which the conformal decomposition is performed. | |
| Evolution_std< Scalar > | psi_evol |
Values at successive time steps of the conformal factor relating the physical metric to the conformal one: . | |
| Evolution_std< Scalar > | npsi_evol |
Values at successive time steps of the factor . | |
| Evolution_std< Sym_tensor > | hh_evol |
Values at successive time steps of the components . | |
| Evolution_std< Sym_tensor > | hata_evol |
Values at successive time steps of the components . | |
| Evolution_std< Scalar > | A_hata_evol |
Potential A associated with the symmetric tensor . | |
| Evolution_std< Scalar > | B_hata_evol |
Potential associated with the symmetric tensor . | |
| Metric * | p_tgamma |
Pointer on the conformal metric at the current time step (jtime). | |
| Scalar * | p_psi4 |
Pointer on the factor at the current time step (jtime). | |
| Scalar * | p_ln_psi |
Pointer on the logarithm of at the current time step (jtime). | |
| Vector * | p_hdirac |
Pointer on the vector (which vanishes in Dirac gauge), at the current time step (jtime). | |
| Vector * | p_vec_X |
Pointer on the vector representing the longitudinal part of . | |
| int | depth |
| Number of stored time slices. | |
| int | scheme_order |
| Order of the finite-differences scheme for the computation of time derivatives. | |
| int | jtime |
| Time step index of the latest slice. | |
| Evolution_std< double > | the_time |
| Time label of each slice. | |
| Evolution_std< Sym_tensor > | gam_dd_evol |
Values at successive time steps of the covariant components of the induced metric . | |
| Evolution_std< Sym_tensor > | gam_uu_evol |
Values at successive time steps of the contravariant components of the induced metric . | |
| Evolution_std< Sym_tensor > | k_dd_evol |
Values at successive time steps of the covariant components of the extrinsic curvature tensor . | |
| Evolution_std< Sym_tensor > | k_uu_evol |
Values at successive time steps of the contravariant components of the extrinsic curvature tensor . | |
| Evolution_std< Scalar > | n_evol |
| Values at successive time steps of the lapse function N. | |
| Evolution_std< Vector > | beta_evol |
Values at successive time steps of the shift vector . | |
| Evolution_std< Scalar > | trk_evol |
| Values at successive time steps of the trace K of the extrinsic curvature. | |
| Evolution_full< Tbl > | adm_mass_evol |
| ADM mass at each time step, since the creation of the slice. | |
| Metric * | p_gamma |
Pointer on the induced metric at the current time step (jtime). | |
Friends | |
| ostream & | operator<< (ostream &, const Time_slice &) |
| Display. | |
Spacelike time slice of a 3+1 spacetime with conformal decomposition.
()
Definition at line 494 of file time_slice.h.
| Time_slice_conf::Time_slice_conf | ( | const Scalar & | lapse_in, | |
| const Vector & | shift_in, | |||
| const Metric_flat & | ff_in, | |||
| const Scalar & | psi_in, | |||
| const Sym_tensor & | hh_in, | |||
| const Sym_tensor & | hata_in, | |||
| const Scalar & | trk_in, | |||
| int | depth_in = 3 | |||
| ) |
Constructor from conformal decomposition.
| lapse_in | lapse function N | |
| shift_in | shift vector | |
| ff_in | reference flat metric with respect to which the conformal decomposition is performed | |
| psi_in | conformal factor relating the physical metric to the conformal one: | |
| hh_in | deviation of the conformal metric from the flat metric : . must be such that . | |
| hata_in | conformal representation of the traceless part of the extrinsic curvature: | |
| trk_in | trace K of the extrinsic curvature | |
| depth_in | number of stored time slices; this parameter is used to set the scheme_order member with scheme_order = depth_in - 1. scheme_order can be changed afterwards by the method set_scheme_order(int). |
Definition at line 114 of file time_slice_conf.C.
References A_hata(), B_hata(), Time_slice::beta_evol, Metric_flat::con(), Metric_flat::determinant(), ff, Tensor::get_index_type(), Time_slice::jtime, max(), maxabs(), Time_slice::n_evol, set_der_0x0(), Time_slice::the_time, Time_slice::trk_evol, and Evolution_std< TyT >::update().
| Time_slice_conf::Time_slice_conf | ( | const Scalar & | lapse_in, | |
| const Vector & | shift_in, | |||
| const Sym_tensor & | gamma_in, | |||
| const Sym_tensor & | kk_in, | |||
| const Metric_flat & | ff_in, | |||
| int | depth_in = 3 | |||
| ) |
Constructor from physical metric.
The conformal decomposition is performed by the constructor.
| lapse_in | lapse function N | |
| shift_in | shift vector | |
| gamma_in | induced metric (covariant or contravariant components) | |
| kk_in | extrinsic curvature (covariant or contravariant components) | |
| ff_in | reference flat metric with respect to which the conformal decomposition is performed | |
| depth_in | number of stored time slices; this parameter is used to set the scheme_order member with scheme_order = depth_in - 1. scheme_order can be changed afterwards by the method set_scheme_order(int). |
Definition at line 168 of file time_slice_conf.C.
References A_hata(), B_hata(), Metric_flat::con(), Metric::con(), Metric_flat::determinant(), Metric::determinant(), ff, hata_evol, hh_evol, Time_slice::jtime, Time_slice::k_uu(), Time_slice::p_gamma, p_psi4, pow(), psi_evol, set_der_0x0(), Scalar::std_spectral_base(), Time_slice::the_time, Time_slice::trk_evol, and Evolution_std< TyT >::update().
| Time_slice_conf::Time_slice_conf | ( | const Map & | mp, | |
| const Base_vect & | triad, | |||
| const Metric_flat & | ff_in, | |||
| int | depth_in = 3 | |||
| ) |
Constructor as standard time slice of flat spacetime (Minkowski).
| mp | Mapping on which the various Lorene fields will be constructed | |
| triad | vector basis with respect to which the various tensor components will be defined | |
| ff_in | reference flat metric with respect to which the conformal decomposition is performed | |
| depth_in | number of stored time slices; this parameter is used to set the scheme_order member with scheme_order = depth_in - 1. scheme_order can be changed afterwards by the method set_scheme_order(int). |
Definition at line 205 of file time_slice_conf.C.
References A_hata_evol, B_hata_evol, hata_evol, hh_evol, Time_slice::jtime, npsi_evol, psi_evol, set_der_0x0(), Scalar::set_etat_one(), Scalar::set_etat_zero(), Tensor::set_etat_zero(), Scalar::std_spectral_base(), Time_slice::the_time, and Evolution_std< TyT >::update().
| Time_slice_conf::Time_slice_conf | ( | const Map & | mp, | |
| const Base_vect & | triad, | |||
| const Metric_flat & | ff_in, | |||
| FILE * | fich, | |||
| bool | partial_read, | |||
| int | depth_in = 3 | |||
| ) |
Constructor from binary file.
The binary file must have been created by method save.
| mp | Mapping on which the various Lorene fields will be constructed | |
| triad | vector basis with respect to which the various tensor components will be defined | |
| ff_in | reference flat metric with respect to which the conformal decomposition is performed | |
| fich | file containing the saved Time_slice_conf | |
| partial_read | indicates whether the full object must be read in file or whether the final construction is devoted to a constructor of a derived class | |
| depth_in | number of stored time slices; the given must coincide with that stored in the file. |
Definition at line 246 of file time_slice_conf.C.
References A_hata_evol, B_hata_evol, Time_slice::depth, fread_be(), Map::get_mg(), hata_evol, Time_slice::jtime, psi_evol, set_der_0x0(), Time_slice::the_time, and Evolution_std< TyT >::update().
| Time_slice_conf::Time_slice_conf | ( | const Time_slice_conf & | tin | ) |
| Time_slice_conf::~Time_slice_conf | ( | ) | [virtual] |
| const Scalar & Time_slice_conf::A_hata | ( | ) | const [virtual] |
Returns the potential A of
.
See the documentation of Sym_tensor for details. Returns the value at the current time step (jtime ).
Definition at line 660 of file time_slice_conf.C.
References A_hata_evol, hata_evol, Evolution< TyT >::is_known(), Time_slice::jtime, Time_slice::the_time, and Evolution_std< TyT >::update().
| Sym_tensor Time_slice_conf::aa | ( | ) | const [virtual] |
Conformal representation
of the traceless part of the extrinsic curvature:
.
Returns the value at the current time step (jtime ).
Definition at line 761 of file time_slice_conf.C.
| double Time_slice::adm_mass | ( | ) | const [virtual, inherited] |
Returns the ADM mass (geometrical units) at the current step.
Moreover this method updates adm_mass_evol if necessary.
Reimplemented in Tslice_dirac_max.
Definition at line 70 of file tslice_adm_mass.C.
References Time_slice::adm_mass_evol, Tensor::derive_con(), Tensor_sym::derive_con(), Vector::flux(), Time_slice::gam_dd(), Map::get_mg(), Tensor::get_mp(), Mg3d::get_nzone(), Tbl::get_taille(), Time_slice::jtime, Tbl::set(), Tbl::set_etat_qcq(), Time_slice::the_time, Tensor::trace(), Tensor::up(), Evolution_full< TyT >::update(), and Map::val_r().
| const Scalar & Time_slice_conf::B_hata | ( | ) | const [virtual] |
Returns the potential
of
.
See the documentation of Sym_tensor_tt for details. Returns the value at the current time step (jtime ).
Definition at line 674 of file time_slice_conf.C.
References A_hata_evol, B_hata_evol, hata_evol, Evolution< TyT >::is_known(), Time_slice::jtime, Time_slice::the_time, and Evolution_std< TyT >::update().
| const Vector & Time_slice::beta | ( | ) | const [virtual, inherited] |
shift vector
at the current time step (jtime )
Definition at line 83 of file time_slice_access.C.
References Time_slice::beta_evol, Evolution< TyT >::is_known(), and Time_slice::jtime.
| Tbl Time_slice::check_dynamical_equations | ( | const Sym_tensor * | strain_tensor = 0x0, |
|
| const Scalar * | energy_density = 0x0, |
|||
| ostream & | ost = cout, |
|||
| bool | verb = true | |||
| ) | const [inherited] |
Checks the level at which the dynamical equations are verified.
| strain_tensor | : a pointer on the strain_tensor measured by the Eulerian observer of 4-velocity ; if this is the null pointer, it is assumed that = 0 (vacuum). | |
| energy_density | : a pointer on the energy density E (see check_hamiltonian_constraint) | |
| ost | : output stream for a formatted output of the result |
= 0 ) or the relative (in presence of matter) error in max version. Definition at line 135 of file tslice_check_einstein.C.
References Tensor::annule_domain(), Time_slice::beta(), Metric::con(), contract(), Tensor::derive_con(), Scalar::derive_con(), Sym_tensor::derive_lie(), Time_slice::gam(), Tbl::get_dim(), Map::get_mg(), Tensor::get_mp(), Mg3d::get_nzone(), Time_slice::jtime, Time_slice::k_dd(), Time_slice::k_dd_evol, Time_slice::k_uu(), maxabs(), Time_slice::nn(), Tensor_sym::position(), Metric::ricci(), Time_slice::scheme_order, Itbl::set(), Evolution< TyT >::time_derive(), Tensor::trace(), Time_slice::trk(), and Tensor::up_down().
| Tbl Time_slice::check_hamiltonian_constraint | ( | const Scalar * | energy_density = 0x0, |
|
| ostream & | ost = cout, |
|||
| bool | verb = true | |||
| ) | const [inherited] |
Checks the level at which the hamiltonian constraint is verified.
| energy_density | : a pointer on the energy density E measured by the Eulerian observer of 4-velocity ; if this is the null pointer, it is assumed that E = 0 (vacuum). | |
| ost | : output stream for a formatted output of the result |
Definition at line 75 of file tslice_check_einstein.C.
References contract(), Scalar::dec_dzpuis(), Time_slice::gam(), Time_slice::k_dd(), Time_slice::k_uu(), maxabs(), Metric::ricci_scal(), and Time_slice::trk().
| Tbl Time_slice::check_momentum_constraint | ( | const Vector * | momentum_density = 0x0, |
|
| ostream & | ost = cout, |
|||
| bool | verb = true | |||
| ) | const [inherited] |
Checks the level at which the momentum constraints are verified.
| momentum_density | : a pointer on the momentum density measured by the Eulerian observer of 4-velocity ; if this is the null pointer, it is assumed that = 0 (vacuum). | |
| ost | : output stream for a formatted output of the result |
= 0 ) or the relative (in presence of matter) error in max version. Definition at line 105 of file tslice_check_einstein.C.
References Scalar::derive_con(), Sym_tensor::divergence(), Time_slice::gam(), Tensor::get_index_type(), Time_slice::k_uu(), maxabs(), and Time_slice::trk().
| void Time_slice_conf::compute_X_from_momentum_constraint | ( | const Vector & | hat_S, | |
| const Sym_tensor_tt & | hata_tt, | |||
| int | iter_max = 200, |
|||
| double | precis = 1.e-12, |
|||
| double | relax = 0.8, |
|||
| int | methode_poisson = 6 | |||
| ) |
Computes the vector
from the conformally-rescaled momentum
, using the momentum constraint.
Definition at line 833 of file time_slice_conf.C.
References abs(), contract(), Tensor::get_index_type(), max(), and Vector::poisson().
| void Time_slice_conf::del_deriv | ( | ) | const [protected, virtual] |
Deletes all the derived quantities.
Reimplemented from Time_slice.
Definition at line 343 of file time_slice_conf.C.
References p_hdirac, p_ln_psi, p_psi4, p_tgamma, p_vec_X, and set_der_0x0().
| const Metric & Time_slice::gam | ( | ) | const [inherited] |
Induced metric
at the current time step (jtime ).
Definition at line 91 of file time_slice_access.C.
References Time_slice::gam_dd(), and Time_slice::p_gamma.
| const Sym_tensor & Time_slice_conf::gam_dd | ( | ) | const [virtual] |
Induced metric (covariant components
) at the current time step (jtime ).
Reimplemented from Time_slice.
Definition at line 604 of file time_slice_conf.C.
References Time_slice::gam_dd_evol, Evolution< TyT >::is_known(), Time_slice::jtime, psi4(), tgam(), Time_slice::the_time, and Evolution_std< TyT >::update().
| const Sym_tensor & Time_slice_conf::gam_uu | ( | ) | const [virtual] |
Induced metric (contravariant components
) at the current time step (jtime ).
Reimplemented from Time_slice.
Definition at line 615 of file time_slice_conf.C.
References Time_slice::gam_uu_evol, Evolution< TyT >::is_known(), Time_slice::jtime, psi4(), tgam(), Time_slice::the_time, and Evolution_std< TyT >::update().
| int Time_slice::get_latest_j | ( | ) | const [inline, inherited] |
Gets the latest value of time step index.
Definition at line 339 of file time_slice.h.
References Time_slice::jtime.
| int Time_slice::get_scheme_order | ( | ) | const [inline, inherited] |
Gets the order of the finite-differences scheme.
Definition at line 336 of file time_slice.h.
References Time_slice::scheme_order.
| const Evolution_std<double>& Time_slice::get_time | ( | ) | const [inline, inherited] |
Gets the time coordinate t at successive time steps.
Definition at line 342 of file time_slice.h.
References Time_slice::the_time.
| const Sym_tensor & Time_slice_conf::hata | ( | ) | const [virtual] |
Conformal representation
of the traceless part of the extrinsic curvature:
.
Returns the value at the current time step (jtime ).
Definition at line 768 of file time_slice_conf.C.
References Time_slice::beta(), Sym_tensor::derive_lie(), Vector::divergence(), ff, hata_evol, hh(), hh_evol, Tensor::inc_dzpuis(), Evolution< TyT >::is_known(), Time_slice::jtime, nn(), Vector::ope_killing_conf(), psi(), psi4(), Time_slice::scheme_order, Time_slice::the_time, Evolution< TyT >::time_derive(), and Evolution_std< TyT >::update().
| const Vector & Time_slice_conf::hdirac | ( | ) | const [virtual] |
Vector
which vanishes in Dirac gauge.
Reimplemented in Tslice_dirac_max.
Definition at line 811 of file time_slice_conf.C.
| const Sym_tensor & Time_slice_conf::hh | ( | Param * | = 0x0, |
|
| Param * | = 0x0 | |||
| ) | const [virtual] |
Deviation
of the conformal metric
from the flat metric
:
.
Returns the value at the current time step (jtime ).
Reimplemented in Tslice_dirac_max.
Definition at line 754 of file time_slice_conf.C.
References hh_evol, Evolution< TyT >::is_known(), and Time_slice::jtime.
| const Sym_tensor & Time_slice_conf::k_dd | ( | ) | const [virtual] |
Extrinsic curvature tensor (covariant components
) at the current time step (jtime ).
Reimplemented from Time_slice.
Definition at line 626 of file time_slice_conf.C.
References Time_slice::gam(), Evolution< TyT >::is_known(), Time_slice::jtime, Time_slice::k_dd_evol, k_uu(), Time_slice::the_time, and Evolution_std< TyT >::update().
| const Sym_tensor & Time_slice_conf::k_uu | ( | ) | const [virtual] |
Extrinsic curvature tensor (contravariant components
) at the current time step (jtime ).
Reimplemented from Time_slice.
Definition at line 639 of file time_slice_conf.C.
References Time_slice::gam(), hata(), Evolution< TyT >::is_known(), Time_slice::jtime, Time_slice::k_uu_evol, psi(), psi4(), Time_slice::the_time, trk(), and Evolution_std< TyT >::update().
| const Scalar & Time_slice_conf::ln_psi | ( | ) | const |
Logarithm of
at the current time step (jtime ).
Definition at line 715 of file time_slice_conf.C.
References log(), p_ln_psi, psi(), and Scalar::std_spectral_base().
| const Scalar & Time_slice_conf::nn | ( | ) | const [virtual] |
Lapse function N at the current time step (jtime ).
Reimplemented from Time_slice.
Definition at line 587 of file time_slice_conf.C.
References Evolution< TyT >::is_known(), Time_slice::jtime, Time_slice::n_evol, npsi_evol, psi_evol, Time_slice::the_time, and Evolution_std< TyT >::update().
| const Scalar & Time_slice_conf::npsi | ( | ) | const [virtual] |
Factor
at the current time step (jtime ).
Definition at line 728 of file time_slice_conf.C.
References Evolution< TyT >::is_known(), Time_slice::jtime, Time_slice::n_evol, npsi_evol, psi_evol, Time_slice::the_time, and Evolution_std< TyT >::update().
| void Time_slice_conf::operator= | ( | const Time_slice & | tin | ) |
Assignment to a Time_slice.
Definition at line 387 of file time_slice_conf.C.
References del_deriv(), and operator=().
| void Time_slice_conf::operator= | ( | const Time_slice_conf & | tin | ) |
Assignment to another Time_slice_conf.
Reimplemented from Time_slice.
Reimplemented in Isol_hor, and Tslice_dirac_max.
Definition at line 372 of file time_slice_conf.C.
References A_hata_evol, B_hata_evol, del_deriv(), hata_evol, hh_evol, npsi_evol, and psi_evol.
| ostream & Time_slice::operator>> | ( | ostream & | flux | ) | const [protected, virtual, inherited] |
Operator >> (virtual function called by the operator<<).
Reimplemented in Isol_hor, and Tslice_dirac_max.
Definition at line 407 of file time_slice.C.
References Time_slice::adm_mass(), Time_slice::adm_mass_evol, Time_slice::beta_evol, Time_slice::depth, Time_slice::gam_dd_evol, Time_slice::gam_uu_evol, Evolution< TyT >::is_known(), Time_slice::jtime, Time_slice::k_dd_evol, Time_slice::k_uu_evol, maxabs(), Time_slice::n_evol, Time_slice::p_gamma, Time_slice::scheme_order, Time_slice::the_time, and Time_slice::trk_evol.
| const Scalar & Time_slice_conf::psi | ( | ) | const [virtual] |
Conformal factor
relating the physical metric
to the conformal one:
.
is defined by
Returns the value at the current time step (jtime ).
Definition at line 689 of file time_slice_conf.C.
References Evolution< TyT >::is_known(), Time_slice::jtime, Time_slice::n_evol, npsi_evol, psi_evol, Time_slice::the_time, and Evolution_std< TyT >::update().
| const Scalar & Time_slice_conf::psi4 | ( | ) | const |
Factor
at the current time step (jtime ).
Definition at line 703 of file time_slice_conf.C.
References p_psi4, pow(), psi(), and Scalar::std_spectral_base().
| void Time_slice::sauve | ( | FILE * | fich, | |
| bool | partial_save | |||
| ) | const [protected, virtual, inherited] |
Total or partial saves in a binary file.
This protected method is to be called either from public method save or from method sauve of a derived class.
| fich | binary file | |
| partial_save | indicates whether the whole object must be saved. |
Reimplemented in Isol_hor, and Tslice_dirac_max.
Definition at line 503 of file time_slice.C.
References Time_slice::beta(), Time_slice::beta_evol, Time_slice::depth, fwrite_be(), Evolution< TyT >::is_known(), Time_slice::jtime, Time_slice::n_evol, Time_slice::nn(), Time_slice::scheme_order, and Time_slice::the_time.
| void Time_slice::save | ( | const char * | rootname | ) | const [inherited] |
Saves in a binary file.
The saved data is sufficient to restore the whole time slice via the constructor from file.
| rootname | root for the file name; the current time step index will be appended to it. |
Definition at line 457 of file time_slice.C.
References Time_slice::beta(), Time_slice::depth, fwrite_be(), Map::get_mg(), Tensor::get_mp(), Tensor::get_triad(), Time_slice::jtime, Time_slice::nn(), Time_slice::sauve(), Base_vect::sauve(), Map::sauve(), and Mg3d::sauve().
| void Time_slice_conf::set_der_0x0 | ( | ) | const [protected] |
Sets to 0x0 all the pointers on derived quantities.
Reimplemented from Time_slice.
Definition at line 357 of file time_slice_conf.C.
References p_hdirac, p_ln_psi, p_psi4, p_tgamma, and p_vec_X.
| void Time_slice_conf::set_hata | ( | const Sym_tensor & | hata_in | ) | [virtual] |
Sets the conformal representation
of the traceless part of the extrinsic curvature:
.
Sets the value at the current time step (jtime ), and updates the potentials A_hata_evol, B_hata_evol and p_vec_X accordingly.
Definition at line 530 of file time_slice_conf.C.
References A_hata_evol, B_hata_evol, Evolution< TyT >::downdate(), hata_evol, Time_slice::jtime, Time_slice::k_dd_evol, Time_slice::k_uu_evol, Time_slice::the_time, and Evolution_std< TyT >::update().
Sets the conformal representation
of the traceless part of the extrinsic curvature from its potentials A,
and
.
These potentials must be up-to-date. It sets the value at the current time step (jtime ).
Definition at line 562 of file time_slice_conf.C.
References A_hata_evol, B_hata_evol, Evolution< TyT >::downdate(), ff, Tensor::get_mp(), hata_evol, Map::inc_dzpuis(), Evolution< TyT >::is_known(), Time_slice::jtime, Time_slice::k_dd_evol, Time_slice::k_uu_evol, Vector::ope_killing_conf(), p_vec_X, Time_slice::the_time, and Evolution_std< TyT >::update().
| void Time_slice_conf::set_hata_TT | ( | const Sym_tensor_tt & | hata_tt | ) | [virtual] |
Sets the TT part of
(see member hata_evol ).
Sets the value at current time-step (jtime ) and updates the potentials A and
.
Definition at line 542 of file time_slice_conf.C.
References A_hata_evol, B_hata_evol, Sym_tensor::compute_A(), Sym_tensor::compute_tilde_B_tt(), Scalar::dec_dzpuis(), Evolution< TyT >::downdate(), Scalar::get_dzpuis(), hata_evol, Time_slice::jtime, Time_slice::k_dd_evol, Time_slice::k_uu_evol, Time_slice::the_time, and Evolution_std< TyT >::update().
| void Time_slice_conf::set_hh | ( | const Sym_tensor & | hh_in | ) | [virtual] |
Sets the deviation
of the conformal metric
from the flat metric
:
.
must be such that
. Sets the value at the current time step (jtime ).
Reimplemented in Tslice_dirac_max.
Definition at line 485 of file time_slice_conf.C.
References Time_slice::adm_mass_evol, Metric_flat::con(), Metric_flat::determinant(), Evolution< TyT >::downdate(), ff, Time_slice::gam_dd_evol, Time_slice::gam_uu_evol, hh_evol, Time_slice::jtime, max(), maxabs(), Time_slice::p_gamma, p_hdirac, p_tgamma, Time_slice::the_time, and Evolution_std< TyT >::update().
| void Time_slice_conf::set_npsi_del_n | ( | const Scalar & | npsi_in | ) | [virtual] |
Sets the factor
at the current time step (jtime ) and deletes the value of N.
Definition at line 474 of file time_slice_conf.C.
References Time_slice::adm_mass_evol, Evolution< TyT >::downdate(), Time_slice::jtime, Time_slice::n_evol, npsi_evol, Time_slice::the_time, and Evolution_std< TyT >::update().
| void Time_slice_conf::set_npsi_del_psi | ( | const Scalar & | npsi_in | ) | [virtual] |
Sets the factor
at the current time step (jtime ) and deletes the value of
.
Definition at line 449 of file time_slice_conf.C.
References Time_slice::adm_mass_evol, Evolution< TyT >::downdate(), Time_slice::gam_dd_evol, Time_slice::gam_uu_evol, Time_slice::jtime, npsi_evol, Time_slice::p_gamma, p_ln_psi, p_psi4, psi_evol, Time_slice::the_time, and Evolution_std< TyT >::update().
| void Time_slice_conf::set_psi_del_n | ( | const Scalar & | psi_in | ) | [virtual] |
Sets the conformal factor
relating the physical metric
to the conformal one:
.
is defined by
Sets the value at the current time step (jtime ) and deletes the value of N.
Definition at line 424 of file time_slice_conf.C.
References Time_slice::adm_mass_evol, Evolution< TyT >::downdate(), Time_slice::gam_dd_evol, Time_slice::gam_uu_evol, Time_slice::jtime, Time_slice::n_evol, Time_slice::p_gamma, p_ln_psi, p_psi4, psi_evol, Time_slice::the_time, and Evolution_std< TyT >::update().
| void Time_slice_conf::set_psi_del_npsi | ( | const Scalar & | psi_in | ) | [virtual] |
Sets the conformal factor
relating the physical metric
to the conformal one:
.
is defined by
Sets the value at the current time step (jtime ) and deletes the value of
.
Definition at line 400 of file time_slice_conf.C.
References Time_slice::adm_mass_evol, Evolution< TyT >::downdate(), Time_slice::gam_dd_evol, Time_slice::gam_uu_evol, Time_slice::jtime, npsi_evol, Time_slice::p_gamma, p_ln_psi, p_psi4, psi_evol, Time_slice::the_time, and Evolution_std< TyT >::update().
| void Time_slice::set_scheme_order | ( | int | ord | ) | [inline, inherited] |
Sets the order of the finite-differences scheme.
Definition at line 327 of file time_slice.h.
References Time_slice::scheme_order.
| const Metric & Time_slice_conf::tgam | ( | ) | const [virtual] |
Conformal metric
Returns the value at the current time step (jtime ).
Reimplemented in Isol_hor.
Definition at line 743 of file time_slice_conf.C.
References Metric_flat::con(), ff, hh(), and p_tgamma.
| const Scalar & Time_slice_conf::trk | ( | ) | const [virtual] |
Trace K of the extrinsic curvature at the current time step (jtime ).
Reimplemented from Time_slice.
Reimplemented in Tslice_dirac_max.
Definition at line 792 of file time_slice_conf.C.
References Time_slice::beta(), contract(), Vector::divergence(), ff, Scalar::inc_dzpuis(), Evolution< TyT >::is_known(), Time_slice::jtime, ln_psi(), nn(), psi(), psi_evol, Time_slice::scheme_order, Time_slice::the_time, Evolution< TyT >::time_derive(), Time_slice::trk_evol, and Evolution_std< TyT >::update().
| const Vector & Time_slice_conf::vec_X | ( | int | method_poisson = 6 |
) | const [virtual] |
Vector
representing the longitudinal part of
.
(see the documentation of hata_evol)
Definition at line 821 of file time_slice_conf.C.
References ff, hata_evol, Evolution< TyT >::is_known(), Time_slice::jtime, and p_vec_X.
| ostream& operator<< | ( | ostream & | , | |
| const Time_slice & | ||||
| ) | [friend, inherited] |
Display.
Evolution_std<Scalar> Time_slice_conf::A_hata_evol [mutable, protected] |
Potential A associated with the symmetric tensor
.
(see documentation of Sym_tensor::p_aaa).
Definition at line 543 of file time_slice.h.
Evolution_full<Tbl> Time_slice::adm_mass_evol [mutable, protected, inherited] |
ADM mass at each time step, since the creation of the slice.
At a given time step j, adm_mass_evol[j] is a 1-D Tbl of size the number nz of domains, containing the "ADM mass" evaluated at the outer boundary of each domain. The true ADM mass is thus the last value, i.e. adm_mass_evol[j](nz-1).
Definition at line 229 of file time_slice.h.
Evolution_std<Scalar> Time_slice_conf::B_hata_evol [mutable, protected] |
Potential
associated with the symmetric tensor
.
(see documentation of Sym_tensor::p_tilde_b).
Definition at line 548 of file time_slice.h.
Evolution_std<Vector> Time_slice::beta_evol [mutable, protected, inherited] |
Values at successive time steps of the shift vector
.
Definition at line 215 of file time_slice.h.
int Time_slice::depth [protected, inherited] |
Number of stored time slices.
Definition at line 175 of file time_slice.h.
const Metric_flat& Time_slice_conf::ff [protected] |
Pointer on the flat metric
with respect to which the conformal decomposition is performed.
Definition at line 503 of file time_slice.h.
Evolution_std<Sym_tensor> Time_slice::gam_dd_evol [mutable, protected, inherited] |
Values at successive time steps of the covariant components of the induced metric
.
Definition at line 194 of file time_slice.h.
Evolution_std<Sym_tensor> Time_slice::gam_uu_evol [mutable, protected, inherited] |
Values at successive time steps of the contravariant components of the induced metric
.
Definition at line 199 of file time_slice.h.
Evolution_std<Sym_tensor> Time_slice_conf::hata_evol [mutable, protected] |
Values at successive time steps of the components
.
It is the conformal representation of the traceless part of the extrinsic curvature:
. One can uniquely (up to the boundary conditions) define the decomposition:
, where
represents the longitudinal part and
is the transverse-traceless part.
Definition at line 538 of file time_slice.h.
Evolution_std<Sym_tensor> Time_slice_conf::hh_evol [mutable, protected] |
Values at successive time steps of the components
.
It is the deviation of the conformal metric
from the flat metric
:
.
Definition at line 526 of file time_slice.h.
int Time_slice::jtime [protected, inherited] |
Time step index of the latest slice.
Definition at line 186 of file time_slice.h.
Evolution_std<Sym_tensor> Time_slice::k_dd_evol [mutable, protected, inherited] |
Values at successive time steps of the covariant components of the extrinsic curvature tensor
.
Definition at line 204 of file time_slice.h.
Evolution_std<Sym_tensor> Time_slice::k_uu_evol [mutable, protected, inherited] |
Values at successive time steps of the contravariant components of the extrinsic curvature tensor
.
Definition at line 209 of file time_slice.h.
Evolution_std<Scalar> Time_slice::n_evol [mutable, protected, inherited] |
Values at successive time steps of the lapse function N.
Definition at line 212 of file time_slice.h.
Evolution_std<Scalar> Time_slice_conf::npsi_evol [mutable, protected] |
Values at successive time steps of the factor
.
Definition at line 518 of file time_slice.h.
Metric* Time_slice::p_gamma [mutable, protected, inherited] |
Pointer on the induced metric at the current time step (jtime).
Definition at line 235 of file time_slice.h.
Vector* Time_slice_conf::p_hdirac [mutable, protected] |
Pointer on the vector
(which vanishes in Dirac gauge), at the current time step (jtime).
Definition at line 567 of file time_slice.h.
Scalar* Time_slice_conf::p_ln_psi [mutable, protected] |
Pointer on the logarithm of
at the current time step (jtime).
Definition at line 562 of file time_slice.h.
Scalar* Time_slice_conf::p_psi4 [mutable, protected] |
Pointer on the factor
at the current time step (jtime).
Definition at line 559 of file time_slice.h.
Metric* Time_slice_conf::p_tgamma [mutable, protected] |
Pointer on the conformal metric
at the current time step (jtime).
Definition at line 556 of file time_slice.h.
Vector* Time_slice_conf::p_vec_X [mutable, protected] |
Pointer on the vector
representing the longitudinal part of
.
(see the documentation of hata_evol)
Definition at line 573 of file time_slice.h.
Evolution_std<Scalar> Time_slice_conf::psi_evol [mutable, protected] |
Values at successive time steps of the conformal factor
relating the physical metric
to the conformal one:
.
is defined by
Definition at line 513 of file time_slice.h.
int Time_slice::scheme_order [protected, inherited] |
Order of the finite-differences scheme for the computation of time derivatives.
This order is not constant and can be adjusted via set_scheme_order() .
Definition at line 183 of file time_slice.h.
Evolution_std<double> Time_slice::the_time [protected, inherited] |
Time label of each slice.
Definition at line 189 of file time_slice.h.
Evolution_std<Scalar> Time_slice::trk_evol [mutable, protected, inherited] |
Values at successive time steps of the trace K of the extrinsic curvature.
Definition at line 220 of file time_slice.h.
1.6.1