16#include <Terme_Source_Coriolis_base.h>
31 param.lire_avec_accolades_depuis(is);
44 if (mot ==
Motcle(
"omega") )
47 if((dim_pb == 2 && sz_lst != 1) || (dim_pb == 3 && sz_lst != 3))
49 Cerr <<
"Error in Terme_Source_Coriolis_base::lire_donnees" << finl;
50 Cerr <<
"Warning ! Dimension of vector after key-word 'omega'" << finl;
51 Cerr <<
"is not correct - it should be 1 in 2D and 3 in 3D."<< finl;
72 Cerr <<
"Error while reading the parameters of Terme_Source_Coriolis_base " << finl;
73 Cerr <<
"We expected the keyword omega instead of " << mot << finl;
Class defining operators and methods for all reading operation in an input flow (file,...
A character string (Nom) in uppercase.
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.
Helper class to factorize the readOn method of Objet_U classes.
void ajouter_non_std(const char *keyword, const Objet_U *value, Param::Nature nat=Param::OPTIONAL)
Register a keyword handled by Objet_U::lire_motcle_non_standard.
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Base class for output streams.
Source_base A Source_base object is a term appearing on the right-hand side of an.
void set_param(Param ¶m) const override
int lire_motcle_non_standard(const Motcle &, Entree &) override
Reads non-simple-type parameters of an Objet_U from an input stream.