|
LORENE
|
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 ![]() ![]() ![]() | |
| virtual void | set_psi_del_n (const Scalar &psi_in) |
Sets the conformal factor ![]() ![]() ![]() | |
| virtual void | set_npsi_del_psi (const Scalar &npsi_in) |
Sets the factor ![]() jtime ) and deletes the value of ![]() | |
| virtual void | set_npsi_del_n (const Scalar &npsi_in) |
Sets the factor ![]() jtime ) and deletes the value of N. | |
| virtual void | set_hh (const Sym_tensor &hh_in) |
Sets the deviation ![]() ![]() ![]() ![]() | |
| virtual void | set_hata (const Sym_tensor &hata_in) |
Sets the conformal representation ![]() ![]() | |
| virtual void | set_hata_TT (const Sym_tensor_tt &hata_tt) |
Sets the TT part of ![]() hata_evol ). | |
| virtual void | set_hata_from_XAB (Param *par_bc=0x0, Param *par_mat=0x0) |
Sets the conformal representation ![]() ![]() ![]() | |
| 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 ![]() jtime ). | |
| virtual const Sym_tensor & | gam_uu () const |
Induced metric (contravariant components ![]() jtime ). | |
| virtual const Sym_tensor & | k_dd () const |
Extrinsic curvature tensor (covariant components ![]() jtime ). | |
| virtual const Sym_tensor & | k_uu () const |
Extrinsic curvature tensor (contravariant components ![]() jtime ). | |
| virtual const Scalar & | A_hata () const |
Returns the potential A of ![]() | |
| virtual const Scalar & | B_hata () const |
Returns the potential ![]() ![]() | |
| virtual const Scalar & | psi () const |
Conformal factor ![]() ![]() ![]() | |
| const Scalar & | psi4 () const |
Factor ![]() jtime ). | |
| const Scalar & | ln_psi () const |
Logarithm of ![]() jtime ). | |
| virtual const Scalar & | npsi () const |
Factor ![]() jtime ). | |
| virtual const Metric & | tgam () const |
Conformal metric ![]() jtime ). | |
| virtual const Sym_tensor & | hh (Param *=0x0, Param *=0x0) const |
Deviation ![]() ![]() ![]() ![]() | |
| virtual const Sym_tensor & | hata () const |
Conformal representation ![]() ![]() | |
| virtual Sym_tensor | aa () const |
Conformal representation ![]() ![]() | |
| virtual const Scalar & | trk () const |
Trace K of the extrinsic curvature at the current time step (jtime ). | |
| virtual const Vector & | hdirac () const |
Vector ![]() | |
| virtual const Vector & | vec_X (int method_poisson=6) const |
Vector ![]() ![]() | |
| 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 ![]() ![]() | |
| 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 ![]() jtime ) | |
| const Metric & | gam () const |
Induced metric ![]() 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 ![]() | |
| Evolution_std< Scalar > | psi_evol |
Values at successive time steps of the conformal factor ![]() ![]() ![]() | |
| 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 ![]() ![]() | |
| Metric * | p_tgamma |
Pointer on the conformal metric ![]() jtime). | |
| Scalar * | p_psi4 |
Pointer on the factor ![]() jtime). | |
| Scalar * | p_ln_psi |
Pointer on the logarithm of ![]() jtime). | |
| Vector * | p_hdirac |
Pointer on the vector ![]() jtime). | |
| Vector * | p_vec_X |
Pointer on the vector ![]() ![]() | |
| 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). | |
Spacelike time slice of a 3+1 spacetime with conformal decomposition.
()
Definition at line 498 of file time_slice.h.
| Lorene::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 ![]() ![]() ![]() |
| hh_in | deviation ![]() ![]() ![]() ![]() ![]() ![]() |
| hata_in | conformal representation ![]() ![]() |
| 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 118 of file time_slice_conf.C.
References A_hata(), A_hata_evol, B_hata(), B_hata_evol, Lorene::Time_slice::beta_evol, Lorene::Metric_flat::con(), ff, Lorene::Tensor::get_index_type(), hata_evol, hh_evol, Lorene::Time_slice::jtime, Lorene::max(), Lorene::maxabs(), Lorene::Time_slice::n_evol, npsi_evol, psi_evol, set_der_0x0(), Lorene::Time_slice::the_time, Lorene::Time_slice::Time_slice(), and Lorene::Time_slice::trk_evol.
| Lorene::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 172 of file time_slice_conf.C.
References A_hata(), A_hata_evol, B_hata(), B_hata_evol, ff, hata_evol, hh_evol, Lorene::Time_slice::jtime, Lorene::Time_slice::k_uu(), npsi_evol, Lorene::Time_slice::p_gamma, p_psi4, Lorene::pow(), psi_evol, set_der_0x0(), Lorene::Scalar::std_spectral_base(), Lorene::Time_slice::the_time, Lorene::Time_slice::Time_slice(), and Lorene::Time_slice::trk_evol.
| Lorene::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 209 of file time_slice_conf.C.
References A_hata_evol, B_hata_evol, ff, hata_evol, hh_evol, Lorene::Time_slice::jtime, Lorene::Map(), npsi_evol, psi_evol, set_der_0x0(), Lorene::Scalar::set_etat_one(), Lorene::Scalar::set_etat_zero(), Lorene::Tensor::set_etat_zero(), Lorene::Scalar::std_spectral_base(), Lorene::Time_slice::the_time, and Lorene::Time_slice::Time_slice().
| Lorene::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 250 of file time_slice_conf.C.
References A_hata_evol, B_hata_evol, Lorene::Time_slice::depth, ff, Lorene::fread_be(), hata_evol, hh_evol, Lorene::Time_slice::jtime, Lorene::Map(), npsi_evol, psi_evol, set_der_0x0(), Lorene::Time_slice::the_time, and Lorene::Time_slice::Time_slice().
| Lorene::Time_slice_conf::Time_slice_conf | ( | const Time_slice_conf & | tin | ) |
Copy constructor.
Definition at line 320 of file time_slice_conf.C.
References A_hata_evol, B_hata_evol, ff, hata_evol, hh_evol, npsi_evol, psi_evol, set_der_0x0(), Lorene::Time_slice::Time_slice(), and Time_slice_conf().
|
virtual |
|
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 664 of file time_slice_conf.C.
References A_hata_evol, Lorene::Scalar::dec_dzpuis(), Lorene::Scalar::get_dzpuis(), hata_evol, Lorene::Time_slice::jtime, and Lorene::Time_slice::the_time.
|
virtual |
Conformal representation 

Returns the value at the current time step (jtime ).
Definition at line 765 of file time_slice_conf.C.
|
virtualinherited |
Returns the ADM mass (geometrical units) at the current step.
Moreover this method updates adm_mass_evol if necessary.
Reimplemented in Lorene::Tslice_dirac_max.
Definition at line 74 of file tslice_adm_mass.C.
References adm_mass_evol, Lorene::Tensor::derive_con(), Lorene::Tensor_sym::derive_con(), Lorene::Vector::flux(), gam_dd(), Lorene::Tensor::get_mp(), Lorene::Tbl::get_taille(), jtime, Lorene::Map(), Lorene::Tbl::set(), Lorene::Tbl::set_etat_qcq(), the_time, Lorene::Tensor::trace(), and Lorene::Tensor::up().
|
virtual |
Returns the potential 

See the documentation of Sym_tensor_tt for details. Returns the value at the current time step (jtime ).
Definition at line 678 of file time_slice_conf.C.
References A_hata_evol, B_hata_evol, Lorene::Scalar::dec_dzpuis(), Lorene::Scalar::get_dzpuis(), hata_evol, Lorene::Time_slice::jtime, and Lorene::Time_slice::the_time.
|
virtualinherited |
shift vector 
jtime )
Definition at line 87 of file time_slice_access.C.
|
inherited |
Checks the level at which the dynamical equations are verified.
![\[ \frac{\partial K_{ij}}{\partial t} -
\pounds_{\mbox{\boldmath{$\beta $}}} K_{ij} = - D_i D_j N
+ N \left[ R_{ij} - 2 K_{ik} K^k_{\ j} + K K_{ij}
+ 4\pi \left( (S-E)\gamma_{ij} - 2 S_{ij} \right)
\right]
\]](form_894.png)
| strain_tensor | : a pointer on the strain_tensor ![]() ![]() ![]() |
| energy_density | : a pointer on the energy density E (see check_hamiltonian_constraint) |
| ost | : output stream for a formatted output of the result |

Definition at line 139 of file tslice_check_einstein.C.
References Lorene::Tensor::annule_domain(), Lorene::Tbl::annule_hard(), beta(), Lorene::contract(), Lorene::Scalar::derive_con(), Lorene::Tensor::derive_con(), Lorene::Sym_tensor::derive_lie(), gam(), Lorene::Tbl::get_dim(), Lorene::Tensor::get_mp(), jtime, k_dd(), k_dd_evol, k_uu(), Lorene::maxabs(), nn(), Lorene::Tensor_sym::position(), Lorene::Metric::ricci(), scheme_order, Lorene::Itbl::set(), Lorene::Tbl::set(), Lorene::Tensor::trace(), trk(), and Lorene::Tensor::up_down().
|
inherited |
Checks the level at which the hamiltonian constraint is verified.
![\[R + K^2 - K_{ij}K^{ij} = 16\pi E
\]](form_890.png)
| energy_density | : a pointer on the energy density E measured by the Eulerian observer of 4-velocity ![]() |
| ost | : output stream for a formatted output of the result |
Definition at line 79 of file tslice_check_einstein.C.
References Lorene::contract(), Lorene::Scalar::dec_dzpuis(), gam(), k_dd(), k_uu(), Lorene::maxabs(), Lorene::Metric::ricci_scal(), and trk().
|
inherited |
Checks the level at which the momentum constraints are verified.
![\[D_j K_i^{\ j} - D_i K = 8 \pi J_i
\]](form_892.png)
| momentum_density | : a pointer on the momentum density ![]() ![]() ![]() |
| ost | : output stream for a formatted output of the result |

Definition at line 109 of file tslice_check_einstein.C.
References Lorene::Scalar::derive_con(), Lorene::Sym_tensor::divergence(), gam(), Lorene::Tensor::get_index_type(), k_uu(), Lorene::maxabs(), and trk().
| void Lorene::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 

Definition at line 836 of file time_slice_conf.C.
References Lorene::abs(), Lorene::Metric::connect(), Lorene::contract(), ff, Lorene::Connection::get_delta(), Lorene::Tensor::get_index_type(), hata_evol, hh_evol, Lorene::Time_slice::jtime, Lorene::Time_slice::k_dd_evol, Lorene::Time_slice::k_uu_evol, Lorene::max(), p_vec_X, Lorene::Vector::poisson(), psi(), psi4(), tgam(), Lorene::Time_slice::the_time, and trk().
|
protectedvirtual |
Deletes all the derived quantities.
Reimplemented from Lorene::Time_slice.
Definition at line 347 of file time_slice_conf.C.
References Lorene::Time_slice::del_deriv(), p_hdirac, p_ln_psi, p_psi4, p_tgamma, p_vec_X, and set_der_0x0().
|
inherited |
Induced metric 
jtime ).
Definition at line 95 of file time_slice_access.C.
|
virtual |
Induced metric (covariant components 
jtime ).
Reimplemented from Lorene::Time_slice.
Definition at line 608 of file time_slice_conf.C.
References Lorene::Time_slice::gam_dd_evol, Lorene::Time_slice::jtime, psi4(), tgam(), and Lorene::Time_slice::the_time.
|
virtual |
Induced metric (contravariant components 
jtime ).
Reimplemented from Lorene::Time_slice.
Definition at line 619 of file time_slice_conf.C.
References Lorene::Time_slice::gam_uu_evol, Lorene::Time_slice::jtime, psi4(), tgam(), and Lorene::Time_slice::the_time.
|
inlineinherited |
Gets the latest value of time step index.
Definition at line 343 of file time_slice.h.
References jtime.
|
inlineinherited |
Gets the order of the finite-differences scheme.
Definition at line 340 of file time_slice.h.
References scheme_order.
|
inlineinherited |
Gets the time coordinate t at successive time steps.
Definition at line 346 of file time_slice.h.
References the_time.
|
virtual |
Conformal representation 

Returns the value at the current time step (jtime ).
Definition at line 772 of file time_slice_conf.C.
References Lorene::Time_slice::beta(), Lorene::Sym_tensor::derive_lie(), Lorene::Vector::divergence(), ff, hata_evol, hh(), hh_evol, Lorene::Tensor::inc_dzpuis(), Lorene::Time_slice::jtime, nn(), Lorene::Vector::ope_killing_conf(), psi(), psi4(), Lorene::Time_slice::scheme_order, and Lorene::Time_slice::the_time.
|
virtual |
Vector 
Reimplemented in Lorene::Tslice_dirac_max.
Definition at line 815 of file time_slice_conf.C.
|
virtual |
Deviation 



Returns the value at the current time step (jtime ).
Reimplemented in Lorene::Tslice_dirac_max.
Definition at line 758 of file time_slice_conf.C.
References hh_evol, and Lorene::Time_slice::jtime.
|
virtual |
Extrinsic curvature tensor (covariant components 
jtime ).
Reimplemented from Lorene::Time_slice.
Definition at line 630 of file time_slice_conf.C.
References Lorene::Time_slice::gam(), Lorene::Time_slice::jtime, Lorene::Time_slice::k_dd_evol, k_uu(), and Lorene::Time_slice::the_time.
|
virtual |
Extrinsic curvature tensor (contravariant components 
jtime ).
Reimplemented from Lorene::Time_slice.
Definition at line 643 of file time_slice_conf.C.
References Lorene::Time_slice::gam(), hata(), Lorene::Time_slice::jtime, Lorene::Time_slice::k_uu_evol, psi(), psi4(), Lorene::Time_slice::the_time, and trk().
| const Scalar & Lorene::Time_slice_conf::ln_psi | ( | ) | const |
Logarithm of 
jtime ).
Definition at line 719 of file time_slice_conf.C.
References Lorene::log(), p_ln_psi, and psi().
|
virtual |
Lapse function N at the current time step (jtime ).
Reimplemented from Lorene::Time_slice.
Definition at line 591 of file time_slice_conf.C.
References Lorene::Time_slice::jtime, Lorene::Time_slice::n_evol, npsi_evol, psi_evol, and Lorene::Time_slice::the_time.
|
virtual |
Factor 
jtime ).
Definition at line 732 of file time_slice_conf.C.
References Lorene::Time_slice::jtime, Lorene::Time_slice::n_evol, npsi_evol, psi_evol, and Lorene::Time_slice::the_time.
| void Lorene::Time_slice_conf::operator= | ( | const Time_slice & | tin | ) |
Assignment to a Time_slice.
Definition at line 391 of file time_slice_conf.C.
References del_deriv(), Lorene::Time_slice::operator=(), and Lorene::Time_slice::Time_slice().
| void Lorene::Time_slice_conf::operator= | ( | const Time_slice_conf & | tin | ) |
Assignment to another Time_slice_conf.
Definition at line 376 of file time_slice_conf.C.
References A_hata_evol, B_hata_evol, del_deriv(), hata_evol, hh_evol, npsi_evol, Lorene::Time_slice::operator=(), psi_evol, and Time_slice_conf().
|
protectedvirtualinherited |
Operator >> (virtual function called by the operator<<).
Reimplemented in Lorene::Isol_hor.
Definition at line 411 of file time_slice.C.
References adm_mass(), adm_mass_evol, beta_evol, depth, gam_dd_evol, gam_uu_evol, jtime, k_dd_evol, k_uu_evol, Lorene::maxabs(), n_evol, p_gamma, scheme_order, the_time, and trk_evol.
|
virtual |
Conformal factor 



![\[ \Psi := \left( \frac{\det\gamma_{ij}}{\det f_{ij}} \right) ^{1/12} \]](form_911.png)
Returns the value at the current time step (jtime ).
Definition at line 693 of file time_slice_conf.C.
References Lorene::Time_slice::jtime, Lorene::Time_slice::n_evol, npsi_evol, psi_evol, and Lorene::Time_slice::the_time.
| const Scalar & Lorene::Time_slice_conf::psi4 | ( | ) | const |
Factor 
jtime ).
Definition at line 707 of file time_slice_conf.C.
References p_psi4, Lorene::pow(), and psi().
|
protectedvirtualinherited |
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 Lorene::Isol_hor, and Lorene::Tslice_dirac_max.
Definition at line 507 of file time_slice.C.
References beta(), beta_evol, depth, Lorene::fwrite_be(), jtime, n_evol, nn(), scheme_order, and the_time.
|
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 461 of file time_slice.C.
References beta(), depth, Lorene::fwrite_be(), Lorene::Tensor::get_mp(), Lorene::Tensor::get_triad(), jtime, Lorene::Map(), nn(), Lorene::Base_vect::sauve(), Lorene::Mg3d::sauve(), and sauve().
|
protected |
|
virtual |
Sets the conformal representation 

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 534 of file time_slice_conf.C.
References A_hata_evol, B_hata_evol, hata_evol, Lorene::Time_slice::jtime, Lorene::Time_slice::k_dd_evol, Lorene::Time_slice::k_uu_evol, and Lorene::Time_slice::the_time.
|
virtual |
Sets the conformal representation 


These potentials must be up-to-date. It sets the value at the current time step (jtime ).
Definition at line 566 of file time_slice_conf.C.
References A_hata_evol, B_hata_evol, ff, hata_evol, Lorene::Tensor::inc_dzpuis(), Lorene::Time_slice::jtime, Lorene::Time_slice::k_dd_evol, Lorene::Time_slice::k_uu_evol, Lorene::Map(), p_vec_X, Lorene::Sym_tensor_tt::set_A_tildeB(), and Lorene::Time_slice::the_time.
|
virtual |
Sets the TT part of 
hata_evol ).
Sets the value at current time-step (jtime ) and updates the potentials A and 
Definition at line 546 of file time_slice_conf.C.
References A_hata_evol, B_hata_evol, Lorene::Sym_tensor::compute_A(), Lorene::Sym_tensor::compute_tilde_B_tt(), Lorene::Scalar::dec_dzpuis(), Lorene::Scalar::get_dzpuis(), hata_evol, Lorene::Time_slice::jtime, Lorene::Time_slice::k_dd_evol, Lorene::Time_slice::k_uu_evol, and Lorene::Time_slice::the_time.
|
virtual |
Sets the deviation 





jtime ).
Reimplemented in Lorene::Tslice_dirac_max.
Definition at line 489 of file time_slice_conf.C.
References Lorene::Time_slice::adm_mass_evol, ff, Lorene::Time_slice::gam_dd_evol, Lorene::Time_slice::gam_uu_evol, hh_evol, Lorene::Time_slice::jtime, Lorene::max(), Lorene::maxabs(), Lorene::Time_slice::p_gamma, p_hdirac, p_tgamma, and Lorene::Time_slice::the_time.
|
virtual |
Sets the factor 
jtime ) and deletes the value of N.
Definition at line 478 of file time_slice_conf.C.
References Lorene::Time_slice::adm_mass_evol, Lorene::Time_slice::jtime, Lorene::Time_slice::n_evol, npsi_evol, and Lorene::Time_slice::the_time.
|
virtual |
Sets the factor 
jtime ) and deletes the value of 
Definition at line 453 of file time_slice_conf.C.
References Lorene::Time_slice::adm_mass_evol, Lorene::Time_slice::gam_dd_evol, Lorene::Time_slice::gam_uu_evol, Lorene::Time_slice::jtime, npsi_evol, Lorene::Time_slice::p_gamma, p_ln_psi, p_psi4, psi_evol, and Lorene::Time_slice::the_time.
|
virtual |
Sets the conformal factor 



![\[ \Psi := \left( \frac{\det\gamma_{ij}}{\det f_{ij}}
\right) ^{1/12} \]](form_521.png)
Sets the value at the current time step (jtime ) and deletes the value of N.
Definition at line 428 of file time_slice_conf.C.
References Lorene::Time_slice::adm_mass_evol, Lorene::Time_slice::gam_dd_evol, Lorene::Time_slice::gam_uu_evol, Lorene::Time_slice::jtime, Lorene::Time_slice::n_evol, Lorene::Time_slice::p_gamma, p_ln_psi, p_psi4, psi_evol, and Lorene::Time_slice::the_time.
|
virtual |
Sets the conformal factor 



![\[ \Psi := \left( \frac{\det\gamma_{ij}}{\det f_{ij}}
\right) ^{1/12} \]](form_521.png)
Sets the value at the current time step (jtime ) and deletes the value of 
Definition at line 404 of file time_slice_conf.C.
References Lorene::Time_slice::adm_mass_evol, Lorene::Time_slice::gam_dd_evol, Lorene::Time_slice::gam_uu_evol, Lorene::Time_slice::jtime, npsi_evol, Lorene::Time_slice::p_gamma, p_ln_psi, p_psi4, psi_evol, and Lorene::Time_slice::the_time.
|
inlineinherited |
Sets the order of the finite-differences scheme.
Definition at line 331 of file time_slice.h.
References scheme_order.
|
virtual |
Conformal metric 
jtime ).
Reimplemented in Lorene::Isol_hor.
Definition at line 747 of file time_slice_conf.C.
|
virtual |
Trace K of the extrinsic curvature at the current time step (jtime ).
Reimplemented from Lorene::Time_slice.
Reimplemented in Lorene::Tslice_dirac_max.
Definition at line 796 of file time_slice_conf.C.
References Lorene::Time_slice::beta(), Lorene::contract(), Lorene::Vector::divergence(), ff, Lorene::Scalar::inc_dzpuis(), Lorene::Time_slice::jtime, ln_psi(), nn(), psi(), psi_evol, Lorene::Time_slice::scheme_order, Lorene::Time_slice::the_time, and Lorene::Time_slice::trk_evol.
|
virtual |
Vector 

(see the documentation of hata_evol)
Definition at line 825 of file time_slice_conf.C.
References ff, hata_evol, Lorene::Tensor::inc_dzpuis(), Lorene::Time_slice::jtime, p_vec_X, and Lorene::Vector::poisson().
|
mutableprotected |
Potential A associated with the symmetric tensor 
(see documentation of Sym_tensor::p_aaa).
Definition at line 547 of file time_slice.h.
|
mutableprotectedinherited |
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 233 of file time_slice.h.
|
mutableprotected |
Potential 

(see documentation of Sym_tensor::p_tilde_b).
Definition at line 552 of file time_slice.h.
|
mutableprotectedinherited |
Values at successive time steps of the shift vector 
Definition at line 219 of file time_slice.h.
|
protectedinherited |
Number of stored time slices.
Definition at line 179 of file time_slice.h.
|
protected |
Pointer on the flat metric 
Definition at line 507 of file time_slice.h.
|
mutableprotectedinherited |
Values at successive time steps of the covariant components of the induced metric 
Definition at line 198 of file time_slice.h.
|
mutableprotectedinherited |
Values at successive time steps of the contravariant components of the induced metric 
Definition at line 203 of file time_slice.h.
|
mutableprotected |
Values at successive time steps of the components 
It is the conformal representation of the traceless part of the extrinsic curvature: 



Definition at line 542 of file time_slice.h.
|
mutableprotected |
Values at successive time steps of the components 
It is the deviation of the conformal metric 


Definition at line 530 of file time_slice.h.
|
protectedinherited |
Time step index of the latest slice.
Definition at line 190 of file time_slice.h.
|
mutableprotectedinherited |
Values at successive time steps of the covariant components of the extrinsic curvature tensor 
Definition at line 208 of file time_slice.h.
|
mutableprotectedinherited |
Values at successive time steps of the contravariant components of the extrinsic curvature tensor 
Definition at line 213 of file time_slice.h.
|
mutableprotectedinherited |
Values at successive time steps of the lapse function N.
Definition at line 216 of file time_slice.h.
|
mutableprotected |
Values at successive time steps of the factor 
Definition at line 522 of file time_slice.h.
|
mutableprotectedinherited |
Pointer on the induced metric at the current time step (jtime).
Definition at line 239 of file time_slice.h.
|
mutableprotected |
Pointer on the vector 
jtime).
Definition at line 571 of file time_slice.h.
|
mutableprotected |
Pointer on the logarithm of 
jtime).
Definition at line 566 of file time_slice.h.
|
mutableprotected |
Pointer on the factor 
jtime).
Definition at line 563 of file time_slice.h.
|
mutableprotected |
Pointer on the conformal metric 
jtime).
Definition at line 560 of file time_slice.h.
|
mutableprotected |
Pointer on the vector 

(see the documentation of hata_evol)
Definition at line 577 of file time_slice.h.
|
mutableprotected |
Values at successive time steps of the conformal factor 



![\[ \Psi := \left( \frac{\det\gamma_{ij}}{\det f_{ij}}
\right) ^{1/12} \]](form_521.png)
Definition at line 517 of file time_slice.h.
|
protectedinherited |
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 187 of file time_slice.h.
|
protectedinherited |
Time label of each slice.
Definition at line 193 of file time_slice.h.
|
mutableprotectedinherited |
Values at successive time steps of the trace K of the extrinsic curvature.
Definition at line 224 of file time_slice.h.