16#ifndef Loi_Fermeture_base_included
17#define Loi_Fermeture_base_included
19#include <Champs_compris_interface.h>
20#include <Champs_compris.h>
class Champ_base This class is the base of the fields hierarchy.
class Champs_compris_interface This class contains an interface of methods intended to manage
class Discretisation_base This class represents a spatial discretization scheme, which
: 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)...
void nommer(const Nom &nom) override
Assigns a name to the Objet_U. Virtual method to override.
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_
void creer_champ(const Motcle &motlu) override
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.
class Nom: a character string for naming TRUST objects.
An array of character strings (VECT(Nom)).
Objet_U()
Default constructor: assigns a unique identifier to the object (object_id_) and registers the object ...
Helper class to factorize the readOn method of Objet_U classes.
class Probleme_base It is a Probleme_U that is not a coupling.