16#include <Correlation_Vec_Sca_VDF.h>
17#include <Domaine_VF.h>
27 mon_champ_Vec_= le_champ_Vec;
37 const Domaine& dom = le_dom_VF->domaine();
40 DoubleTab& correlation =
valeurs();
47 DoubleTab valeurs_Vec(nb_elem, mon_champ_Vec_->nb_comp());
48 mon_champ_Vec_->valeur_aux_centres_de_gravite(dom, valeurs_Vec);
50 for(
int elem=0; elem<nb_elem; elem++)
52 correlation(elem,0) = valeurs_Sca(elem,0);
54 correlation(elem,ncom+1) = valeurs_Vec(elem,ncom);
DoubleTab & valeurs() override
Overrides Champ_base::valeurs() Returns the array of values.
void mettre_a_jour(double temps) override
Time update of the field.
class Champ_base This class is the base of the fields hierarchy.
virtual double changer_temps(const double t)
Sets the time at which the field is defined.
Correlation_Vec_Sca_VDF class.
void mettre_a_jour(double) override
Time update of the field.
void associer_champ_Vec(const Champ_base &)
void associer_champ_Sca(const Champ_base &)
Class defining operators and methods for all reading operation in an input flow (file,...
const Nom & le_nom() const override
Returns the name of the field.
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 Sortie & printOn(Sortie &) const
Writes the object to an output stream. Virtual method to override.
Base class for output streams.