16#include <Courant_maille_Champ_Face.h>
17#include <Schema_Temps_base.h>
18#include <Champ_Face_VDF.h>
19#include <Domaine_VDF.h>
29 vitesse_ = la_vitesse;
51 double dt = sch_->pas_de_temps();
52 for (
int face = 0; face < nb_faces; face++)
57 co(face) = std::fabs(vitesse_->valeurs()(face)) * dt / taille_maille;
DoubleTab & valeurs() override
Overrides Champ_base::valeurs() Returns the array of values.
class Champ_Fonc_Face_VDF
const Domaine_VDF & domaine_vdf() const override
void mettre_a_jour(double temps) override
Time update of the field.
virtual double changer_temps(const double t)
Sets the time at which the field is defined.
void mettre_a_jour(double) override
Time update of the field.
void associer_champ(const Champ_Face_VDF &, const Schema_Temps_base &)
virtual const DoubleVect & face_surfaces() const
int nb_faces() const
Returns the total number of faces.
DoubleVect & volumes_entrelaces()
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.