16#include <Champ_P0_EF.h>
17#include <Domaine_EF.h>
19#include <distances_EF.h>
20#include <Dirichlet_paroi_fixe.h>
21#include <Dirichlet_paroi_defilante.h>
22#include <Equation_base.h>
23#include <Fluide_base.h>
24#include <Champ_Uniforme.h>
25#include <Modele_turbulence_hyd_base.h>
39 return ref_cast(
Domaine_EF, le_dom_VF.valeur());
46 const DoubleTab& coord=
domaine.coord_sommets();
47 const int nb_som =
domaine.nb_som();
48 const DoubleTab& val =
valeurs();
51 for (som=0; som<nb_som; som++)
54 os << coord(som,0) <<
" " << coord(som,1) <<
" " << coord(som,2) <<
" " ;
56 os << coord(som,0) <<
" " << coord(som,1) <<
" " ;
58 os << val(som) << finl;
60 os << val(som,ncomp) << finl;
63 Cout <<
"Champ_P0_EF::imprime FIN >>>>>>>>>> " << finl;
: class Champ_Inc_P0_base
const Domaine & domaine() const
int lire_donnees(Entree &)
Reads the field values from an input stream.
const Domaine_dis_base & domaine_dis_base() const override
DoubleTab & valeurs() override
Returns the array of field values at the current time.
class Champ_P0_EF Represents a P0-per-element discrete field associated with a domain discretized as ...
int imprime(Sortie &, int) const override
const Domaine_EF & domaine_EF() const
class Domaine_dis_base This class is the base of the hierarchy of discretized domains.
const Domaine & domaine() const
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.