16#include <Fermeture_Systeme_Binaire.h>
28 Cerr <<
"Reading the " <<
que_suis_je() <<
" closures ..." << finl;
39 param.lire_avec_accolades_depuis(is);
52 if (mot ==
"potentiel_chimique")
57 Cerr <<
"Fermeture_Systeme_Binaire::readOn: We are expecting { after potentiel_chimique instead of " << motlu << finl;
60 Motcle temp_potentiel_chimique;
61 is >> temp_potentiel_chimique;
62 if (temp_potentiel_chimique ==
"defaut")
64 else if (temp_potentiel_chimique ==
"fonction")
71 Cerr <<
"Fermeture_Systeme_Binaire::readOn: " << temp_potentiel_chimique <<
" is not a valid keyword in potentiel_chimique block" << finl;
77 Cerr <<
"Fermeture_Systeme_Binaire::readOn: We are expecting } at the end of potentiel_chimique block instead of " << motlu << finl;
82 else if (mot ==
"kappa_variable")
87 Cerr <<
"Fermeture_Systeme_Binaire::readOn: We are expecting { at the end of kappa_variable block instead of " << motlu << finl;
91 is >> temp_type_kappa;
92 if (temp_type_kappa ==
"non")
97 if (temp_type_kappa ==
"defaut")
99 else if (temp_type_kappa ==
"fonction")
106 Cerr <<
"Fermeture_Systeme_Binaire::readOn: " << temp_type_kappa <<
" is not a valid keyword in kappa_variable block" << finl;
107 Cerr <<
"You can specify only non, defaut or fonction expression for kappa_variable" << finl;
114 Cerr <<
"Fermeture_Systeme_Binaire::readOn: We are expecting } at the end of kappa_variable block instead of " << motlu << finl;
Class defining operators and methods for all reading operation in an input flow (file,...
double kappa_func_c_general(const double) const
double(Fermeture_Phase_field_base::* kappa_func_c)(const double) const
Table potentiel_chimique_expr_
double(Fermeture_Phase_field_base::* dWdc)(const double) const
double kappa_func_c_defaut(const double) const
double dWdc_defaut(const double) const
double dWdc_general(const double) const
int lire_motcle_non_standard(const Motcle &, Entree &) override
Lecture des parametres de type non simple d'un objet_U a partir d'un flot d'entree.
Une chaine de caractere (Nom) en majuscules.
const Nom & que_suis_je() const
renvoie la chaine identifiant la classe.
virtual Entree & readOn(Entree &)
Lecture d'un Objet_U sur un flot d'entree Methode a surcharger.
virtual const Nom & le_nom() const
Donne le nom de l'Objet_U Methode a surcharger : renvoie "neant" dans cette implementation.
virtual Sortie & printOn(Sortie &) const
Ecriture de l'objet sur un flot de sortie Methode a surcharger.
static void exit(int exit_code=-1)
Routine de sortie de TRUST dans une region Kokkos.
Classe de base des flux de sortie.