16#include <Champ_front_base.h>
17#include <Frontiere_dis_base.h>
58 la_frontiere_dis = fr;
113 assert(num_face >= 0 && num_face < nb_faces);
118 const DoubleTab& valeurs_a_copier=
valeurs();
119 for (
int i = 0; i < n; i++)
120 val[i] = valeurs_a_copier(num_face, i);
138 Cerr <<
"Champ_front_base::avancer(double temps) should be overloaded" << finl;
152 Cerr <<
"Champ_front_base::reculer(double temps) should be overloaded " <<
"by " <<
que_suis_je() << finl;
170 if (std::abs(t2-t1) < DMINFLOAT)
183 for (
int i = 0; i < dim; i++)
184 Gpoint_(i) = (v2(0, i) - v1(0, i)) / (t2 - t1);
class Champ_front_base Base class for the hierarchy of boundary fields.
virtual int initialiser(double temps, const Champ_Inc_base &inco)
Initialization at the beginning of calculation.
virtual void associer_fr_dis_base(const Frontiere_dis_base &)
Associates a discretized boundary with the field.
virtual void changer_temps_futur(double temps, int i)
Changes the time value for the i-th temporal value after the present.
virtual const Frontiere_dis_base & frontiere_dis() const
Returns the discretized boundary associated with the field.
virtual const Domaine_dis_base & domaine_dis() const
virtual void calculer_coeffs_echange(double temps)
DOES NOTHING, to override. This method can calculate and store useful data for the.
virtual DoubleTab & valeurs() override
Returns the array of field values.
virtual DoubleTab & valeurs_au_temps(double temps)=0
virtual void fixer_nb_valeurs_temporelles(int nb_cases)
Called by Conds_lim::completer. By default does nothing.
virtual int reculer(double temps)
To implement in derived classes.
virtual int avancer(double temps)
To implement in derived classes.
virtual void mettre_a_jour(double temps)
DOES NOTHING, to override.
virtual void valeurs_face(int, DoubleVect &) const
Returns the vector of field values for the given face.
virtual void calculer_derivee_en_temps(double t1, double t2)
Computes the rate of change of the field between t1 and t2 and stores it in Gpoint_.
class Domaine_dis_base This class is the base of the hierarchy of discretized domains.
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.
int_t nb_faces() const
Returns the number of faces of the boundary.
class Frontiere_dis_base Class representing a discretized boundary.
const Frontiere & frontiere() const
Returns the associated geometric boundary.
const Domaine_dis_base & domaine_dis() const
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.
_SIZE_ dimension(int d) const
void resize(_SIZE_, RESIZE_OPTIONS opt=RESIZE_OPTIONS::COPY_INIT)