17#include <Champ_front_t.h>
19#include <Frontiere_dis_base.h>
20#include <Domaine_VF.h>
40 os << tab.
size() <<
" ";
41 for(
int i=0; i<tab.
size(); i++)
61 f_t.dimensionner(dim);
64 for (
int i = 0; i<dim; i++)
68 Cerr <<
"Reading and interpretation of the function " << tmp << finl;
70 f_t[i].setString(tmp);
73 Cerr <<
"Interpretation of function " << tmp <<
" Ok" << finl;
96 int nb_faces=ref_cast(
Front_VF, fr_dis).nb_faces();
99 for( i=0; i<nb_faces; i++)
101 for( k=0; k<dim; k++)
103 f_t[k].setVar(
"t",temps);
104 tab(i,k)=f_t[k].eval();
class Ch_front_var_instationnaire_indep This abstract class represents a field on a boundary,
int lire_dimension(Entree &, const Nom &)
Verification of the field dimension Returns the dimension of the field.
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.
virtual DoubleTab & valeurs() override
Returns the array of field values.
class Champ_front_t Derived class of Champ_front_var representing
void mettre_a_jour(double temps) override
DOES NOTHING, to override.
virtual double valeur_au_temps(double temps, int som, int comp) const
Champ_front_base & affecter_(const Champ_front_base &ch) override
Returns the object upcast to Champ_front_base&.
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,...
virtual void fixer_nb_comp(int i)
Sets the number of components of the field.
virtual int nb_comp() const
class Frontiere_dis_base Class representing a discretized 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.
class Parser_U Version of the Parser class, deriving from Objet_U.
void setVar(const char *sv, double val)
Base class for output streams.
virtual void echange_espace_virtuel(IsExchangeBlocking exchange_type=IsExchangeBlocking::DefaultBlocking, const std::string kernel_name="noname")