16#include <Integrale_tps_Champ.h>
39 const Champ_base& source = le_champ_ref_->get_champ(espace_stockage_source);
40 double t_courant = le_champ_ref_->get_time();
44 Cerr <<
" Statistic begining and ending times are not coherent " << finl;
45 Cerr <<
" t_fin_=" <<
t_fin_ <<
" < t_debut_=" <<
t_debut_ << finl;
48 if (inf_ou_egal(
t_debut_, t_courant) && inf_ou_egal(t_courant,
t_fin_))
53 const DoubleTab& val = source.
valeurs();
54 DoubleTab& mes_val = le_champ_->valeurs();
61 for (
int i = 0; i < val.
size(); i++)
virtual DoubleTab & valeurs()=0
class Champ_base This class is the base of the fields hierarchy.
Class defining operators and methods for all reading operation in an input flow (file,...
void typer_champ(const Nom &)
OWN_PTR(Champ_Fonc_base) le_champ_
virtual void mettre_a_jour_integrale()
Updates the integral.
class Nom: a character string for naming TRUST objects.
Base class for TRUST objects (Objet_U).
const Nom & que_suis_je() const
Returns the string identifying the class.
virtual Entree & readOn(Entree &)
Reads an Objet_U from an input stream. Virtual method to override.
virtual const Nom & le_nom() const
Returns the name of the Objet_U. Virtual method to override: returns "neant" in this implementation.
virtual Sortie & printOn(Sortie &) const
Writes the object to an output stream. Virtual method to override.
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Base class for output streams.
bool isDataOnDevice() const
void ajoute_carre(_SCALAR_TYPE_ alpha, const TRUSTVect &y, Mp_vect_options opt=VECT_ALL_ITEMS)
void ajoute(_SCALAR_TYPE_ alpha, const TRUSTVect &y, Mp_vect_options opt=VECT_ALL_ITEMS)