16#include <Champ_front_MED.h>
17#include <Champ_Don_base.h>
19#include <Frontiere_dis_base.h>
36 param.lire_sans_accolade(is);
48 const Frontiere& frontiere=fr_dis.
frontiere();
49 const Domaine& domaine=frontiere.
domaine();
50 const Faces& faces=frontiere.
faces();
56 for( i=0; i<nb_faces; i++)
59 for( k=0; k<nbsf; k++)
61 x+=domaine.coord(faces.
sommet(i,k),0);
63 y+=domaine.coord(faces.
sommet(i,k),1);
65 z+=domaine.coord(faces.
sommet(i,k),2);
87 champ_volumique_->mettre_a_jour(temps);
99 champ_volumique_->valeur_aux(
pos_,
val_);
Champ_front_base & affecter_(const Champ_front_base &ch) override
void remplir_tab(DoubleTab &, double) const
double valeur_au_temps_et_au_point(double temps, int som, double x, double y, double z, int comp) const override
void mettre_a_jour(double temps) override
DOES NOTHING, to override.
class Champ_front_base Base class for the hierarchy of boundary fields.
virtual const Frontiere_dis_base & frontiere_dis() const
Returns the discretized boundary associated with the field.
class Champ_front_txyz Derived class of Champ_front_var representing
DoubleTab & valeurs_au_temps(double temps) override
Returns the values at the desired time.
Class defining operators and methods for all reading operation in an input flow (file,...
int_t sommet(int_t, int) const
Returns the number of the j-th vertex of the i-th face.
int nb_som_faces() const
Returns the number of vertices per face.
virtual void fixer_nb_comp(int i)
Sets the number of components of the field.
virtual int nb_comp() const
const Domaine_t & domaine() const
Returns the domain associated with the boundary (const version).
int_t nb_faces() const
Returns the number of faces of the boundary.
const Faces_t & faces() const
class Frontiere_dis_base Class representing a discretized boundary.
const Frontiere & frontiere() const
Returns the associated geometric boundary.
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.
_SIZE_ dimension(int d) const
virtual void echange_espace_virtuel(IsExchangeBlocking exchange_type=IsExchangeBlocking::DefaultBlocking, const std::string kernel_name="noname")