15#include <UserUnaryFunction.h>
17#include <LecFicDiffuse.h>
54 LecFicDiffuse& f = verif_cast(LecFicDiffuse&, is);
56 f.parser().addFunc(*
this);
57 p.setPere(f.parser());
60 Cerr <<
"Interpretation of the function " << sfunc <<
" OK" << finl;
64 Cerr <<
" UserUnaryFunction : TRUST must be re-compiled with accounting for the PARSER mode" << finl;
65 Cerr <<
" See file Lec_Fic_Dif.h" << finl;
77 std::transform(sfunc.begin(), sfunc.end(), sfunc.begin(), ::toupper);
Class defining operators and methods for all reading operation in an input flow (file,...
class Nom: a character string for naming TRUST objects.
const char * getChar() const
const std::string & getString() const
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.
Definit une constante dans le jeu de donnees.
Permet de definir une fonction utilisateur dans le jeu de donnees.
void setFunction(Nom &name, Nom &inco, Nom &func)
double eval(double x) override