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,...
Classe de base des objets "interprete".
Une chaine de caractere (Nom) en majuscules.
Un tableau d'objets de la classe Motcle.
int search(const Motcle &t) const
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 Sortie & printOn(Sortie &) const
Ecriture de l'objet sur un flot de sortie Methode a surcharger.
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
Lecture des parametres de type non simple d'un objet_U a partir d'un flot d'entree.
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)
Routine de sortie de TRUST dans une region Kokkos.
Classe de base des flux de sortie.