17#ifndef Champ_front_Parametrique_included
18#define Champ_front_Parametrique_included
20#include <Champ_front_base.h>
21#include <TRUST_Deriv.h>
22#include <TRUST_List.h>
59 int initialiser(
double temps,
const Champ_Inc_base& inco)
override {
for (
auto& ch : champs_) ch->initialiser(temps, inco);
return 1; }
60 virtual void completer()
override {
for (
auto& ch : champs_) ch->completer(); }
76 mutable double last_t2_ = DMAXFLOAT;
virtual DoubleTab & valeurs()=0
: class Champ_front_Parametrique
const Champ_front_base & champ() const
void changer_temps_futur(double temps, int i) override
Changes the time value for the i-th temporal value after the present.
int initialiser(double temps, const Champ_Inc_base &inco) override
Initialization at the beginning of calculation.
void associer_fr_dis_base(const Frontiere_dis_base &fr) override
Associates a discretized boundary with the field.
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_.
void set_temps_defaut(double temps) override
virtual const DoubleTab & valeurs() const override
Returns the array of field values at the default time.
const Domaine_dis_base & domaine_dis() const override
int reculer(double temps) override
To implement in derived classes.
bool instationnaire() const override
Champ_front_base & champ()
void valeurs_face(int i, DoubleVect &val) const override
Returns the vector of field values for the given face.
void mettre_a_jour(double temps) override
DOES NOTHING, to override.
Frontiere_dis_base & frontiere_dis() override
Returns the discretized boundary associated with the field.
int nb_comp() const override
virtual DoubleTab & valeurs() override
Returns the array of field values.
const DoubleTab & derivee_en_temps() const override
const DoubleTab & valeurs_au_temps(double temps) const override
void fixer_nb_comp(int i) override
Sets the number of components of the field.
double get_temps_defaut() const override
virtual void completer() override
DoubleTab & valeurs_au_temps(double temps) override
Champ_front_base & affecter_(const Champ_front_base &ch) override
std::string newCompute() const
void fixer_nb_valeurs_temporelles(int nb_cases) override
Called by Conds_lim::completer. By default does nothing.
void calculer_coeffs_echange(double temps) override
DOES NOTHING, to override. This method can calculate and store useful data for the.
const Frontiere_dis_base & frontiere_dis() const override
Returns the discretized boundary associated with the field.
Nature_du_champ nature_du_champ() const override
Nature_du_champ fixer_nature_du_champ(Nature_du_champ nat) override
Sets the nature of a field: scalar, multiscalar, vectorial.
int avancer(double temps) override
To implement in derived classes.
void verifier(const Cond_lim_base &la_cl) const override
class Champ_front_base Base class for the hierarchy of boundary fields.
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 Champ_front_base & affecter_(const Champ_front_base &ch)=0
virtual void set_temps_defaut(double temps)
virtual bool instationnaire() const
virtual double get_temps_defaut() const
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 void verifier(const Cond_lim_base &la_cl) const
virtual DoubleTab & valeurs_au_temps(double temps)=0
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.
class Cond_lim_base Base class for the hierarchy of classes that represent the different boundary con...
class Domaine_dis_base This class is the base of the hierarchy of discretized domains.
virtual void fixer_nb_comp(int i)
Sets the number of components of the field.
virtual Nature_du_champ fixer_nature_du_champ(Nature_du_champ nat)
Sets the nature of a field: scalar, multiscalar, vectorial.
virtual int nb_comp() const
virtual Nature_du_champ nature_du_champ() const
class Frontiere_dis_base Class representing a discretized boundary.