16#include <Fluide_Quasi_Compressible.h>
17#include <Loi_Etat_Binaire_GP_QC.h>
39 Cerr<<
"Reading the binary mixture equation of state QC ... "<<finl;
53 const DoubleTab& tab_Y1 = le_fluide->inco_chaleur().valeurs();
54 DoubleTab& tab_rho = le_fluide->masse_volumique().valeurs();
55 double Pth = le_fluide->pression_th();
57 const int n = tab_rho.
size();
58 for (
int som=0 ; som<n ; som++)
64 const Champ_base& rho_m=le_fluide->get_champ(
"rho_gaz");
70 Debog::verifier(
"Loi_Etat_Binaire_GP_QC::calculer_masse_volumique, tab_rho",tab_rho);
virtual DoubleTab & valeurs()=0
class Champ_base This class is the base of the fields hierarchy.
static void verifier(const char *const msg, double)
Class defining operators and methods for all reading operation in an input flow (file,...
State law class for binary ideal-gas mixtures in the quasi-compressible (QC) framework.
void calculer_masse_volumique() override
Recomputes the density.
Base state law class for binary ideal-gas mixtures, defining a dilatable binary fluid with the equati...
void calculer_masse_volumique() override=0
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.
Base class for output streams.
virtual void echange_espace_virtuel(IsExchangeBlocking exchange_type=IsExchangeBlocking::DefaultBlocking, const std::string kernel_name="noname")