16#include <Champ_Uniforme.h>
17#include <Synonyme_info.h>
26 const DoubleTab& tab =
valeurs();
27 os << tab.
size() <<
" ";
28 for (
int i = 0; i < tab.
size(); i++) os << tab(0, i);
37 for (
int i = 0; i < dim; i++) is >> tab(0, i);
46 Cerr <<
"We do not know how to make Champ_Uniforme::affecter_(" << ch.
que_suis_je() << finl;
void dimensionner(int, int)
Sets the number of components and the number of nodal values.
DoubleTab & valeurs() override
Overrides Champ_base::valeurs() Returns the array of values.
virtual DoubleTab & valeurs()=0
int lire_dimension(Entree &, const Nom &)
Verification of the field dimension Returns the dimension of the field.
Champ_base()
Default constructor of a Champ_base.
Class defining operators and methods for all reading operation in an input flow (file,...
const Nom & que_suis_je() const
Returns the string identifying the class.
virtual Entree & readOn(Entree &)
Reads an Objet_U from an input stream. Virtual method to override.
virtual Sortie & printOn(Sortie &) const
Writes the object to an output stream. Virtual method to override.
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Base class for output streams.