16#include <Champ_front_var_instationnaire.h>
65inline void print(
const Roue_ptr& les_valeurs)
67 Cerr <<
"The times available are :" << finl;
68 for(
int i=1; i<les_valeurs->
nb_cases(); i++)
69 Cerr <<
" " << les_valeurs[i].temps() << finl;
99 Cerr <<
"In Champ_front_var_instationnaire::valeurs(double), "
100 <<
"time " << temps <<
" not found." << finl;
120 Cerr <<
"In Champ_front_var_instationnaire::valeurs(double), "
121 <<
"time " << temps <<
" not found." << finl;
146 Cerr <<
"In Champ_front_var_instationnaire::avancer(double), "
147 <<
"time " << temps <<
" not found." << finl;
162 assert(temps<les_valeurs->temps());
172 Cerr <<
"In Champ_front_var_instationnaire::reculer(double), "
173 <<
"time " << temps <<
" not found." << finl;
virtual void changer_temps_futur(double temps, int i)
Changes the time value for the i-th temporal value after the present.
virtual DoubleTab & valeurs() override
Returns the array of field values.
virtual void set_instationnaire(bool flag)
class Champ_front_var_instationnaire Derived class from Champ_front_var that represents fields on
void fixer_nb_valeurs_temporelles(int nb_cases) override
Overrides Champ_front_base::fixer_nb_valeurs_temporelles.
int reculer(double temps) override
Goes back to the desired time.
int initialiser(double temps, const Champ_Inc_base &inco) override
Initializes the current time and Gpoint.
DoubleTab & valeurs_au_temps(double temps) override
Returns the values at the desired time.
bool has_valeurs_au_temps(double temps) const override
int avancer(double temps) override
Advances to the desired time.
class Champ_front_var Derived class from Champ_front_base that represents a field on
int initialiser(double temps, const Champ_Inc_base &inco) override
Initialization at the beginning of the calculation.
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.
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
int nb_cases() const
Returns the number of slots in the Roue.
Base class for output streams.