16#include <Traitement_particulier_NS_THI_new.h>
17#include <MD_Vector_base.h>
34 Motcle accouverte =
"{" , accfermee =
"}" ;
39 if (motbidon == accouverte)
43 les_mots[0] =
"init_Ec";
44 les_mots[1] =
"calc_spectre";
48 while(motlu != accfermee)
50 int rang=les_mots.
search(motlu);
62 Cerr <<
"With initialization of kinetic energy Ec_init= " <<
Ec_init << finl;
67 Cerr <<
"With initialization of kinetic energy on Ecspat (init_fac==0) or Ecspec (init_fac==1) : fac_init=" <<
fac_init << finl;
72 Cerr <<
"Error while reading Traitement_particulier_NS_THI_new_VDF" << finl;
73 Cerr <<
"The only possible keyword here is: val_Ec" << finl;
74 Cerr <<
"You read:" << motlu << finl;
89 Cerr <<
"Error while reading Traitement_particulier_NS_THI_new";
90 Cerr <<
"Possible keywords are: init_Ec, calc_spectre, { and }" << finl;
91 Cerr <<
"You read:" << motlu << finl;
99 if (motlu != accfermee)
101 Cerr <<
"Error while reading Traitement_particulier_NS_THI_new";
102 Cerr <<
"We expected a }" << finl;
109 Cerr <<
"Error while reading Traitement_particulier_NS_THI_new";
110 Cerr <<
"We expected a {" << finl;
142 Cerr <<
" finally Traitement_particulier_NS_THI_new::en_cours_de_resolution is indeed called (?) " << finl;
150 const char* methode_actuelle=
"Traitement_particulier_NS_THI_new::calcul_nb_som_dir";
153 double nb_som =
static_cast<double>(domaine.md_vector_sommets()->nb_items_seq_tot());
156 double nb=pow(nb_som*1.,1./3.);
173 Cerr <<
"Problem in " << methode_actuelle <<
" :" << finl;
174 Cerr <<
"Your mesh does not seem to have the same number of nodes" << finl;
175 Cerr <<
"in all directions. Check your data file... " << finl << finl;
Class defining operators and methods for all reading operation in an input flow (file,...
A character string (Nom) in uppercase.
An array of Motcle objects.
int search(const Motcle &t) 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 abort()
Abort routine for TRUST on a fatal error.
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
static int je_suis_maitre()
Returns 1 if on the master processor of the current group (i.e. me() == 0), 0 otherwise.
Base class for output streams.
Traitement_particulier_THI_new This class performs specific post-processing treatments.
void en_cours_de_resolution(int, DoubleTab &, DoubleTab &, double) override
void msg_erreur_maillage(const char *)
void post_traitement_particulier() override
Entree & lire(Entree &) override
virtual void calcul_spectre()=0
virtual void renorm_Ec()=0
void preparer_calcul_particulier() override
int & calcul_nb_som_dir(const Domaine &)
virtual void init_calc_spectre()=0
Traitement_particulier_NS_base Derives from Support_Champ_Masse_Volumique: use of rho.