16#include <Champ_Generique_refChamp_special.h>
18#include <Champ_Inc_base.h>
52 const Nom& nom_cible = ref_champ_->
le_nom();
60 Cerr<<
"KO if case_<0; why ????????,"<<finl;
64 return espace_stockage;
: class Champ_Generique_refChamp_special
const DoubleTab & get_ref_values() const override
Verifies that the field is indeed a discrete field and returns the value array.
const Champ_base & get_champ(OWN_PTR(Champ_base)&espace_stockage) const override
void set_param(Param ¶m) const override
pb_champ : triggers the reading of the problem name (nom_pb_) to which the discrete field belongs and...
Special field class that encapsulates a reference to a volume field of TRUST of type Champ_base.
virtual const Champ_base & get_ref_champ_base() const
Returns the underlying champ_base.
OWN_PTR(Champ_base) ptr_champ_
void set_param(Param ¶m) const override
pb_champ : triggers the reading of the problem name (nom_pb_) to which the discrete field belongs and...
Entity get_localisation(const int index=-1) const override
If the field is not a discrete field: exception Champ_Generique_erreur("INVALID") Otherwise,...
class Champ_base This class is the base of the fields hierarchy.
Class defining operators and methods for all reading operation in an input flow (file,...
static Objet_U & objet(const Nom &)
See Interprete_bloc::objet_global(). BM: the Interprete class is not the best place for this.
class Nom: a character string for naming TRUST objects.
const Nom & le_nom() const override
Returns *this.
virtual Entree & readOn(Entree &)
Reads an Objet_U from an input stream. Virtual method to override.
Objet_U()
Default constructor: assigns a unique identifier to the object (object_id_) and registers the object ...
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.
void ajouter(const char *keyword, const int *value, Param::Nature nat=Param::OPTIONAL)
Register an integer parameter.
class Probleme_base It is a Probleme_U that is not a coupling.
const Champ_base & get_champ(const Motcle &nom) const override
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Base class for output streams.