16#include <Option_VDF.h>
56 Cerr <<
"Error in Option_VDF::" << __func__ <<
" !!!!!!!!!!!!" << finl;
57 Cerr <<
"You can not activate the option : " << mot_cle <<
" because the keyword all_options|toutes_les_options is already specified. Remove one of them !" << finl;
65 int rang = les_mots.
search(mot_lu);
68 Cerr <<
"Error in Option_VDF::" << __func__ <<
" !!!!!!!!!!!!" << finl;
69 Cerr <<
"The tested keyword is " << mot_lu <<
", while we expected a keyword among the following : oui/non" << finl;
80 if (mot_cle ==
"traitement_coins")
85 Cerr << mot_cle <<
" : will affect the action of the method Domaine_Cl_VDF::completer ..." << finl;
89 else if (mot_cle ==
"traitement_gradients")
94 Cerr << mot_cle <<
" : will affect the gradient calculation at the corners ! This option activates also traitement_coins ..." << finl;
98 else if (mot_cle ==
"P_imposee_aux_faces")
103 Cerr << mot_cle <<
" : will affect the action of the operator gradient for Neumann_sortie_libre boundary condition and therefore the assembleur action will also be affected ..." << finl;
107 else if (mot_cle ==
"DEACTIVATE_ARETE_MIXTE")
109 else if (mot_cle ==
"all_options" || mot_cle ==
"toutes_les_options")
111 Cerr <<
"Activating all VDF options ... This will affect the action of the method Domaine_Cl_VDF::completer, the gradient calculation at the corners and " << finl;
112 Cerr <<
"the action of the operator gradient for Neumann_sortie_libre boundary condition and therefore the assembleur action will also be affected ... " << finl;
Class defining operators and methods for all reading operation in an input flow (file,...
Base class for "interpreter" objects.
A character string (Nom) in uppercase.
An array of Motcle objects.
int search(const Motcle &t) const
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 int traitement_coins
Entree & interpreter(Entree &) override
int test_mot(const Motcle &mot_cle, const Motcle &mot_lu) const
int lire_motcle_non_standard(const Motcle &, Entree &) override
Reads non-simple-type parameters of an Objet_U from an input stream.
static double coeff_P_neumann
static bool DEACTIVATE_ARETE_MIXTE
static int traitement_gradients
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.
int lire_avec_accolades_depuis(Entree &is)
Parse the parameter block { ... } from is.
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Base class for output streams.