16#include <Champ_front_Tabule.h>
52 Motcle accolade_ouverte(
"{");
53 Motcle accolade_fermee(
"}");
60 if (motlu == accolade_ouverte)
63 DoubleVect param(nb_val);
64 DoubleTab tab_valeurs(nb_val, dim);
65 for (i=0; i<nb_val; i++)
67 for (i=0; i<nb_val; i++)
69 is >> tab_valeurs(i,j);
72 if (motlu != accolade_fermee)
74 Cerr <<
"Error reading from an object of type Champ_front_Tabule" << finl;
75 Cerr <<
"We expected keyword } instead of " << motlu << finl;
81 Cerr <<
"Error reading from an object of type Champ_front_Tabule" << finl;
82 Cerr <<
"We expected keyword { instead of " << motlu << finl;
int lire_dimension(Entree &, const Nom &)
Verification of the field dimension Returns the dimension of the field.
class Champ_front_Tabule Derived class of Champ_front_instationnaire_base
void mettre_a_jour(double temps) override
Time update of the field.
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
Returns the Champ_front_Tabule object upcast to Champ_front_base.
virtual DoubleTab & valeurs() override
Returns the array of field values.
class Champ_front_base Base class for unsteady boundary Fields,
int initialiser(double temps, const Champ_Inc_base &inco) override
Initialization at the beginning of calculation.
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.
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.
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Base class for output streams.