16#include <Champ_front_ALE.h>
18#include <Frontiere_dis_base.h>
19#include <MD_Vector_tools.h>
71 fxyzt.dimensionner(dim);
75 for (
int i = 0; i<dim; i++)
81 Cerr <<
"Lecture et interpretation de la fonction " << tmp << finl;
83 fxyzt[i].setString(tmp);
88 fxyzt[i].parseString();
89 Cerr <<
"Interpretation de la fonction " << tmp <<
" Ok" << finl;
127 const Frontiere& front=la_frontiere_dis->frontiere();
129 const Faces& faces=front.
faces();
138 for( i=0; i<nb_faces; i++)
142 for( k=0; k<nbsf; k++)
155 const Frontiere& front=la_frontiere_dis->frontiere();
157 const Domaine& domaine=front.
domaine();
158 const Faces& faces=front.
faces();
162 int nb_som_tot=domaine.nb_som_tot();
173 for( i=0; i<nb_faces; i++)
176 for( k=0; k<nbsf; k++)
178 x=domaine.coord(faces.
sommet(i,k),0);
180 y=domaine.coord(faces.
sommet(i,k),1);
182 z=domaine.coord(faces.
sommet(i,k),2);
185 fxyzt[j].setVar(
"x",x);
186 fxyzt[j].setVar(
"y",y);
187 fxyzt[j].setVar(
"z",z);
188 fxyzt[j].setVar(
"t",tps);
class Ch_front_var_instationnaire_dep This abstract class represents a field on a boundary,
int initialiser(double temps, const Champ_Inc_base &inco) override
Initialization at the beginning of calculation.
void mettre_a_jour(double temps) override
Mise a jour du champ front et remplie un tableau de dimension egale au nombre total de sommets du dom...
virtual void remplir_vit_som_bord_ALE(double)
int initialiser(double temps, const Champ_Inc_base &inco) override
Initialization at the beginning of calculation.
Champ_front_base & affecter_(const Champ_front_base &ch) override
Pas code !!
DoubleTab vit_som_bord_ALE
class Champ_front_base Base class for the hierarchy of boundary fields.
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
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.
virtual void echange_espace_virtuel(IsExchangeBlocking exchange_type=IsExchangeBlocking::DefaultBlocking, const std::string kernel_name="noname")