16#ifndef Champ_Don_base_included
17#define Champ_Don_base_included
20#include <Champ_base.h>
63 operator DoubleTab& () =
delete;
64 operator const DoubleTab& ()
const =
delete;
73 bool instationnaire_ =
false;
76inline void erreur_champ_(
const char *nom_methode)
78 Cerr <<
"TRUST Error !!! Verify the method " << nom_methode <<
" !!!" << finl;
82template <
typename _TYPE_RETURN_>
83inline _TYPE_RETURN_ not_implemented_champ_(
const char *nom_methode)
85 Cerr <<
"TRUST Error !!! The method " << nom_methode <<
" is not implemented !!!" << finl;
class Champ_Don_base base class of Given Fields (not calculated)
void mettre_a_jour(double temps) override
Time update.
void dimensionner(int, int)
Sets the number of components and the number of nodal values.
virtual void set_instationnaire(bool flag)
Champ_base & affecter_(const Champ_base &) override
Causes an error! To be overridden by derived classes! Not a pure virtual for development convenience!
Champ_base & affecter_compo(const Champ_base &, int) override
Causes an error! To be overridden by derived classes! Not a pure virtual for development convenience!
int reprendre(Entree &) override
DOES NOTHING.
int fixer_nb_valeurs_nodales(int nb_noeuds) override
Sets the number of degrees of freedom per component.
virtual int initialiser(const double temps)
DOES NOTHING.
const DoubleTab & valeurs() const override
DoubleTab & valeurs() override
Overrides Champ_base::valeurs() Returns the array of values.
int nb_valeurs_nodales() const override
Returns the number of degrees of freedom per component: the number of nodes.
int imprime(Sortie &, int) const override
DOES NOTHING.
void resetTime(double time) override
virtual bool instationnaire() const
int sauvegarder(Sortie &) const override
DOES NOTHING.
virtual DoubleTab & valeurs()=0
class Champ_base This class is the base of the fields hierarchy.
Champ_base()
Default constructor of a Champ_base.
double temps() const
Returns the time of the field.
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.