16#ifndef Champ_Generique_refChamp_included
17#define Champ_Generique_refChamp_included
19#include <Postraitement.h>
49 void get_xyz_values(
const DoubleTab& coords, DoubleTab& values, ArrOfBit& validity_flag)
const override;
59 void reset()
override;
class Champ_Generique_base
Special field class that encapsulates a reference to a volume field of TRUST of type Champ_base.
void initialize(const Champ_base &champ)
Initialize the class with the given field.
void get_xyz_values(const DoubleTab &coords, DoubleTab &values, ArrOfBit &validity_flag) const override
call to Champ_base::valeur_aux()
int get_dimension() const override
Returns the number of coordinates of each vertex of the domain.
void mettre_a_jour(double temps) override
See Champ_Generique_base::mettre_a_jour If the field is a champ_inc in the equation,...
virtual void set_ref_champ(const Champ_base &)
Associates the field and determines its localisation.
void get_copy_values(DoubleTab &) const override
Creates a copy of the value array. See GenericField_base::get_copy_values().
void nommer_source(const Postraitement_base &post)
void get_property_names(Motcles &list) const override
Returns the list of possible "queries" for the field.
virtual const Champ_base & get_ref_champ_base() const
Returns the underlying champ_base.
int lire_motcle_non_standard(const Motcle &, Entree &) override
Reads non-simple-type parameters of an Objet_U from an input stream.
double get_time() const override
Returns the time of the Champ_Generique_base.
int get_info_type_post() const override
const DoubleTab & get_ref_values() const override
Verifies that the field is indeed a discrete field and returns the value array.
OWN_PTR(Champ_base) ptr_champ_
const Champ_base & get_champ(OWN_PTR(Champ_base)&espace_stockage) const override
See Champ_Generique_base::get_champ.
const DoubleTab & get_ref_coordinates() const override
Returns a reference to the array of coordinates of the vertices of the mesh supporting the field,...
const Domaine_Cl_dis_base & get_ref_zcl_dis_base() const override
Returns a ref to the discretized boundary conditions domain of the equation carrying the target field...
void get_copy_coordinates(DoubleTab &) const override
const Motcle get_directive_pour_discr() const override
Returns the directive (champ_elem, champ_sommets, champ_face or pression) to launch the discretizatio...
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...
const Champ_base & get_champ_without_evaluation(OWN_PTR(Champ_base)&espace_stockage) const override
OBS_PTR(Champ_base) ref_champ_
const Probleme_base & get_ref_pb_base() const override
Returns the problem that carries the target field.
Entity get_localisation(const int index=-1) const override
If the field is not a discrete field: exception Champ_Generique_erreur("INVALID") Otherwise,...
const Noms & fixer_noms_synonyms(const Noms &noms) override
void get_copy_connectivity(Entity index1, Entity index2, IntTab &) const override
const Noms & fixer_noms_compo(const Noms &noms) override
const IntTab & get_ref_connectivity(Entity index1, Entity index2) const override
Returns the connectivity array between the geometric entity index1 and entity index2.
const Noms get_property(const Motcle &query) const override
Returns the requested property.
void set_nom_champ(const Motcle &)
void completer(const Postraitement_base &post) override
class Champ_base This class is the base of the fields hierarchy.
class Domaine_Cl_dis_base Domaine_Cl_dis_base objects represent discretized boundary conditions
A character string (Nom) in uppercase.
An array of Motcle objects.
class Nom: a character string for naming TRUST objects.
An array of character strings (VECT(Nom)).
Helper class to factorize the readOn method of Objet_U classes.
Base class for all post-processing objects.
class Probleme_base It is a Probleme_U that is not a coupling.