16#include <Champ_Fonc_Fonction.h>
59 Cerr<<
"We read the analytic function "<<finl;
71 Cerr<<
"Sutherland::readOn usage { prob A a C c TREF Tref }"<<finl;
72 Cerr<<
"== Champ_Fonc_Fonction problem_name Temperature 1 a*(c+Tref)/(c+val)*(val/Tref)^1.5"<<finl;
73 Motcle accferme=
"}", accouverte=
"{", motlu;
75 Cerr<<
"Reading Sutherland"<<finl;
76 if (motlu != accouverte)
78 Cerr<<
" We expected "<<accouverte<<
" instead of "<<motlu<<finl;
90 while(motlu != accferme )
93 int rang=les_mots.search(motlu);
107 Cerr<<
"A "<<
que_suis_je()<<
" doesn't have property "<<motlu<<finl;
108 Cerr<<
"We expected a word in:"<<finl<<les_mots<<finl;
116 Cerr<<
"Sutherland object "<<
le_nom()<<
" is incorrect"<<finl;
118 Cerr<<
"You must define C in "<<
le_nom()<<finl;
120 Cerr<<
"You must define Tref in "<<
le_nom()<<finl;
122 Cerr<<
"You must define A in "<<
le_nom()<<finl;
135 chaine +=
" temperature 1 ";
149 Cerr<<
"Sutherland Ok ? Champ_Fonc_Fonction "<<chaine<<finl;
Class Champ_Fonc_Fonction Derived class of Champ_Fonc_Tabule representing.
Class Champ_Fonc_Tabule Derived class of Champ_Fonc_base representing.
const Table & table() const
Noms noms_champs_parametre_
static void Warn_old_chp_fonc_syntax_V_184(const char *nom_class, const Nom &val1, const Nom &val2)
An input stream whose source is a character string.
Class defining operators and methods for all reading operation in an input flow (file,...
virtual void fixer_nb_comp(int i)
Sets the number of components of the field.
const Nom & le_nom() const override
Returns the name of the field.
class Nom: a character string for naming TRUST objects.
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 abort()
Abort routine for TRUST on a fatal error.
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Base class for output streams.
double val(const double val_param, int ncomp=0) const