16#include <Fluide_Weakly_Compressible.h>
17#include <Loi_Etat_GP_WC.h>
36 Cerr <<
"Reading the perfect gas equation of state for WC ... " << finl;
39 if(rho_constant_pour_debug_)
41 Cerr <<
"Remove the keyword rho_constant_pour_debug from your data file !" << finl;
54 Cerr <<
"Should not enter in the method Loi_Etat_GP_WC::inverser_Pth !" << finl;
64 const DoubleTab& tab_ICh = le_fluide->inco_chaleur().valeurs();
66 DoubleTab& tab_rho = le_fluide->masse_volumique().valeurs();
68 const int n = tab_rho.
size();
69 for (
int som=0 ; som<n ; som++)
78 Debog::verifier(
"Loi_Etat_GP_WC::calculer_masse_volumique, tab_rho",tab_rho);
static void verifier(const char *const msg, double)
Class defining operators and methods for all reading operation in an input flow (file,...
const DoubleTab & pression_th_tab() const
State law class for ideal gases in the weakly compressible (WC) framework.
void calculer_masse_volumique() override
Computes the density.
double inverser_Pth(double, double) override
Computes the thermodynamic pressure from temperature and density.
Base state law class for mono-species ideal gases.
friend class Fluide_Weakly_Compressible
virtual void calculer_masse_volumique()
Recomputes the density (masse volumique).
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 void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Base class for output streams.
virtual void echange_espace_virtuel(IsExchangeBlocking exchange_type=IsExchangeBlocking::DefaultBlocking, const std::string kernel_name="noname")