16#ifndef Correlation_Vec_Sca_VEF_included
17#define Correlation_Vec_Sca_VEF_included
19#include <Champ_Fonc_P1NC.h>
42 DoubleTab& valeurs_Vec = mon_champ_Vec_->valeurs();
44 int nb_faces = valeurs_Sca.
size();
46 DoubleTab& correlation =
valeurs();
48 for (face = 0; face < nb_faces; face++)
50 correlation(face, 0) = valeurs_Sca(face);
52 correlation(face, ncom + 1) = valeurs_Vec(face, 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.
class Correlation_Vec_Sca_VEF
const Champ_base & mon_champ_Sca() const
void associer_champ_Sca(const Champ_base &)
const Champ_base & mon_champ_Vec() const
void mettre_a_jour(double) override
Time update of the field.
void associer_champ_Vec(const Champ_base &)
OBS_PTR(Champ_base) mon_champ_Vec_