16#include <Champ_front_Parametrique.h>
18#include <Probleme_base.h>
37 param.lire_avec_accolades_depuis(is);
39 EFichier fic(fichier);
58 if (champs_.size()==index_)
62 Nom previous_field(
"");
65 previous_field =
" from ";
70 Cerr <<
"[Parameter] Updating boundary field" << previous_field <<
" to " << next_field << finl;
77 if (t1<last_t2_ && index_>1)
80 if (std::abs(t2-t1) < DMINFLOAT)
86 const DoubleTab& v1 = champs_[index_-2]->valeurs_au_temps(last_t2_);
93 for (
int i = 0; i < dim; i++)
94 Gpoint_(i) = (v2(0, i) - v1(0, i)) / (t2 - t1);
static std::string dirnameCompute(int compute)
: class Champ_front_Parametrique
void calculer_derivee_en_temps(double t1, double t2) override
Computes the rate of change of the field between t1 and t2 and stores it in Gpoint_.
Champ_front_base & champ()
const DoubleTab & derivee_en_temps() const override
DoubleTab & valeurs_au_temps(double temps) override
std::string newCompute() const
class Champ_front_base Base class for the hierarchy of boundary fields.
virtual const DoubleTab & derivee_en_temps() const
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 defining operators and methods for all reading operation in an input flow (file,...
class Nom: a character string for naming TRUST objects.
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.
static void set_root(const std::string dirname)
Base class for output streams.
_SIZE_ dimension(int d) const