17#include <Loi_Fermeture_base.h>
18#include <Probleme_base.h>
20#include <Champs_compris.h>
21#include <Schema_Temps_base.h>
26Loi_Fermeture_base::Loi_Fermeture_base()
42 Cerr <<
".\n This object is already associated to problem " <<
mon_probleme().
le_nom() << finl;
76 param.lire_avec_accolades_depuis(is);
86 Cerr <<
"Loi_Fermeture_base::printOn not coded" << finl;
118 return mon_probleme_.valeur();
166 if (opt == DESCRIPTION)
class Champ_base This class is the base of the fields hierarchy.
bool has_champ(const Motcle &nom, OBS_PTR(FIELD_TYPE)&ref_champ) const
class Discretisation_base This class represents a spatial discretization scheme, which
Class defining operators and methods for all reading operation in an input flow (file,...
: Base class of closure laws.
const Champ_base & get_champ(const Motcle &nom) const override
This method returns the field named "nom" if it is understood by the class, otherwise calls the get_c...
virtual void discretiser(const Discretisation_base &)
This method is called by the problem after the discretization of equations and medium and before.
const Probleme_base & mon_probleme() const
Returns the problem (this method was created to avoid giving write access to the problem via the REF)...
const Nom & le_nom() const override
Returns the name of the Objet_U. Virtual method to override: returns "neant" in this implementation.
virtual void associer_pb_base(const Probleme_base &)
This method is the first called by the problem to construct the object when it is associated with the...
virtual void preparer_calcul()
This method is called by the problem after preparer_calcul() of equations and medium.
virtual void set_param(Param ¶m) const override
This method is called by the readOn of the class.
Champs_compris champs_compris_
bool has_champ(const Motcle &nom, OBS_PTR(Champ_base)&ref_champ) const override
virtual void completer()
This method is called after reading all equations and closure laws (all fields and boundary condition...
void get_noms_champs_postraitables(Noms &nom, Option opt=NONE) const override
virtual void mettre_a_jour(double temps)
This method is called by the problem after mettre_a_jour() of equations and medium.
A character string (Nom) in uppercase.
An array of character strings (VECT(Nom)).
Base class for TRUST objects (Objet_U).
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.
Helper class to factorize the readOn method of Objet_U classes.
const Nom & le_nom() const override
Returns the name of the Objet_U. Virtual method to override: returns "neant" in this implementation.
class Probleme_base It is a Probleme_U that is not a coupling.
const Schema_Temps_base & schema_temps() const
Returns the time scheme associated with the problem.
static void barrier()
Synchronizes all processors in the current group (waits until all processors have reached the barrier...
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
double temps_courant() const
Returns the current time.
Base class for output streams.