16#ifndef Champ_Fonc_base_included
17#define Champ_Fonc_base_included
19#include <Champ_Don_base.h>
28#include <Domaine_forward.h>
54 DoubleTab&
valeur_aux(
const DoubleTab&, DoubleTab&)
const override;
55 virtual const Domaine&
domaine()
const;
class Champ_Don_base base class of Given Fields (not calculated)
class Champ_Fonc_base Base class of fields that are functions of a calculated quantity
Champ_base & affecter_compo(const Champ_base &, int compo) override
Assigns a component of a Champ_base to the same component of a Champ_Fonc_base.
int a_un_domaine_dis_base() const override
void associer_domaine_dis_base(const Domaine_dis_base &) override
virtual DoubleTab & remplir_coord_noeuds_compo(DoubleTab &, int) const
DOES NOTHING TO override in derived classes.
virtual int remplir_coord_noeuds_et_polys(DoubleTab &, IntVect &) const
DOES NOTHING TO override in derived classes.
OBS_PTR(Domaine_VF) le_dom_VF
virtual int remplir_coord_noeuds_et_polys_compo(DoubleTab &, IntVect &, int) const
DOES NOTHING TO override in derived classes.
void set_pdi_name(const Nom &nom)
virtual const Domaine & domaine() const
DoubleTab & valeur_aux(const DoubleTab &, DoubleTab &) const override
Causes an error! Must be overridden by derived classes.
virtual const Domaine_VF & domaine_vf() const
virtual void creer_espace_distant(int dummy)
Champ_base & affecter_(const Champ_base &) override
Assigns a Champ_base to a Champ_Fonc_base.
void mettre_a_jour(double temps) override
Time update of the field.
virtual std::vector< YAML_data > data_a_sauvegarder() const
for PDI IO: retrieve name, type and dimensions of the field to save/restore.
virtual DoubleTab & remplir_coord_noeuds(DoubleTab &) const
DOES NOTHING TO override in derived classes.
int reprendre(Entree &) override
Restart from an input stream. Reads the time and values of the field.
virtual void creer_tableau_distribue(const MD_Vector &, RESIZE_OPTIONS=RESIZE_OPTIONS::COPY_INIT)
const Domaine_dis_base & domaine_dis_base() const override
int sauvegarder(Sortie &) const override
Saves the field to an output stream. Writes the name, time and values.
int fixer_nb_valeurs_nodales(int nb_noeuds) override
Sets the number of degrees of freedom per component.
class Champ_base This class is the base of the fields hierarchy.
double temps() const
Returns the time of the field.
class Domaine_dis_base This class is the base of the hierarchy of discretized domains.
Class defining operators and methods for all reading operation in an input flow (file,...
: This class is an OWN_PTR but the pointed object is shared among multiple
A character string (Nom) in uppercase.
class Nom: a character string for naming TRUST objects.
Base class for output streams.