16#include <Traitement_particulier_NS_chmoy_faceperio.h>
17#include <LecFicDistribue.h>
18#include <Navier_Stokes_std.h>
19#include <Schema_Temps_base.h>
48 Motcle accouverte =
"{" , accfermee =
"}" ;
51 if (motbidon == accouverte)
54 les_mots[0] =
"stats";
57 while(motlu != accfermee)
59 int rang=les_mots.
search(motlu);
69 Cerr <<
"Reading time statitics parameters..." << finl;
76 Cerr <<
"Default case..." << finl;
77 Cerr <<
"Possible keywords are "<< les_mots <<
" { and }" << finl;
78 Cerr <<
"You read:" << motlu << finl;
85 if (motlu != accfermee)
87 Cerr <<
"Error while reading in Traitement_particulier_NS_canal" << finl;;
88 Cerr <<
"We were expecting a }" << finl;
94 Cerr <<
"Error while reading in Traitement_particulier_NS_canal" << finl;
95 Cerr <<
"We were expecting a {" << finl;
108 Cerr <<
" Traitement_particulier_NS_chmoy_faceperio : not designed for calculations other than 3D " << finl;
115 double temps = mon_equation->inconnue().temps();
116 int Nbfaces,num_face;
120 Nom fichier =
"chmoy_face_perio";
121 ifstream fic(fichier);
124 Cerr <<
" no file : chmoy_face_perio - resuming calculations not possible" << finl;
132 for (
int i=0; i<Nbfaces; i++)
140 double temps = mon_equation->inconnue().temps();
141 double dt = mon_equation->schema_temps().pas_de_temps();
Class defining operators and methods for all reading operation in an input flow (file,...
This class implements the operators and virtual methods of the EFichier class as follows: there are a...
A character string (Nom) in uppercase.
An array of Motcle objects.
int search(const Motcle &t) const
class Nom: a character string for naming TRUST objects.
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.
Traitement_particulier_NS_base Derives from Support_Champ_Masse_Volumique: use of rho.
Traitement_particulier_chmoy_faceperio This class performs specific post-processing treatments.
Entree & lire(Entree &) override
void post_traitement_particulier() override
virtual void calcul_chmoy_faceperio(double, double, double)=0
DoubleTab chmoy_faceperio
void preparer_calcul_particulier() override
virtual void init_calcul_stats()=0