16#ifndef Loi_Etat_GP_base_included
17#define Loi_Etat_GP_base_included
19#include <Loi_Etat_base.h>
48 inline double R()
const {
return R_; }
Base class for a dilatable fluid, inheriting from Fluide_base.
void initialiser() override
Initialises the state law by computing Pth.
const Nom type_fluide() const override
Returns the type of fluid associated.
void calculer_lambda() override
Computes the thermal conductivity.
void remplir_T() override
Fills the temperature array: T = temp + 273.15.
void calculer_Cp() override
Computes Cp. Does nothing: Cp is constant.
KOKKOS_INLINE_FUNCTION double calculer_masse_volumique(double P, double T, double R) const
double calculer_masse_volumique(double P, double T) const override
void associer_fluide(const Fluide_Dilatable_base &) override
Associates the fluid with the state law.
double inverser_Pth(double, double) override
Computes the thermodynamic pressure from temperature and density.
void calculer_alpha() override
Computes the thermal diffusivity.
virtual void calculer_masse_volumique()
Recomputes the density (masse volumique).
class Nom: a character string for naming TRUST objects.