| Cantera 3.0.0

Loading...
Searching...
No Matches
PDSS_IdealGas.h
Go to the documentation of this file.
1/**
2 * @file PDSS_IdealGas.h
3 * Declarations for the class PDSS_IdealGas (pressure dependent standard state)
4 * which handles calculations for a single ideal gas species in a phase
5 * (see @ref pdssthermo and class @link Cantera::PDSS_IdealGas PDSS_IdealGas@endlink).
6 */
7
8// This file is part of Cantera. See License.txt in the top-level directory or
9// at https://cantera.org/license.txt for license and copyright information.
10
11#ifndef CT_PDSS_IDEALGAS_H
12#define CT_PDSS_IDEALGAS_H
13
14#include "PDSS.h"
15
16 namespace Cantera
17{
18//! Derived class for pressure dependent standard states of an ideal gas species
19/*!
20 * This class is for a single Ideal Gas species.
21 *
22 * @ingroup pdssthermo
23 * @deprecated To be removed after %Cantera 3.0.
24 */
25 class PDSS_IdealGas : public PDSS_Nondimensional
26{
27 public:
28 //! Default Constructor
29 PDSS_IdealGas();
30
31 //! @name Molar Thermodynamic Properties of the Species Standard State
32 //! @{
33
34 // See PDSS.h for documentation of functions overridden from Class PDSS
35
36 double intEnergy_mole() const override;
37 double cv_mole() const override;
38
39 //! @}
40 //! @name Mechanical Equation of State Properties
41 //! @{
42
43 double pressure() const override;
44 void setPressure(double pres) override;
45 void setTemperature(double temp) override;
46 void setState_TP(double temp, double pres) override;
47 void setState_TR(double temp, double rho) override;
48
49 //! @}
50 //! @name Initialization of the Object
51 //! @{
52
53 void initThermo() override;
54 void getParameters(AnyMap& eosNode) const override;
55 //! @}
56};
57}
58
59#endif
PDSS.h
Declarations for the virtual base class PDSS (pressure dependent standard state) which handles calcul...
Cantera::AnyMap
A map of string keys to values whose type can vary at runtime.
Definition AnyMap.h:427
Cantera::PDSS_IdealGas
Derived class for pressure dependent standard states of an ideal gas species.
Definition PDSS_IdealGas.h:26
Cantera::PDSS_IdealGas::setPressure
void setPressure(double pres) override
Sets the pressure in the object.
Definition PDSS_IdealGas.cpp:51
Cantera::PDSS_IdealGas::setTemperature
void setTemperature(double temp) override
Set the internal temperature.
Definition PDSS_IdealGas.cpp:58
Cantera::PDSS_IdealGas::pressure
double pressure() const override
Returns the pressure (Pa)
Definition PDSS_IdealGas.cpp:46
Cantera::PDSS_IdealGas::initThermo
void initThermo() override
Initialization routine.
Definition PDSS_IdealGas.cpp:22
Cantera::PDSS_IdealGas::cv_mole
double cv_mole() const override
Return the molar const volume heat capacity in units of J kmol-1 K-1.
Definition PDSS_IdealGas.cpp:41
Cantera::PDSS_IdealGas::setState_TR
void setState_TR(double temp, double rho) override
Set the internal temperature and density.
Definition PDSS_IdealGas.cpp:77
Cantera::PDSS_IdealGas::getParameters
void getParameters(AnyMap &eosNode) const override
Store the parameters needed to reconstruct a copy of this PDSS object.
Definition PDSS_IdealGas.cpp:30
Cantera::PDSS_IdealGas::intEnergy_mole
double intEnergy_mole() const override
Return the molar internal Energy in units of J kmol-1.
Definition PDSS_IdealGas.cpp:36
Cantera::PDSS_IdealGas::PDSS_IdealGas
PDSS_IdealGas()
Default Constructor.
Definition PDSS_IdealGas.cpp:17
Cantera::PDSS_IdealGas::setState_TP
void setState_TP(double temp, double pres) override
Set the internal temperature and pressure.
Definition PDSS_IdealGas.cpp:71
Cantera::PDSS_Nondimensional
Base class for PDSS classes which compute nondimensional properties directly.
Definition PDSS.h:487
Cantera
Namespace for the Cantera kernel.
Definition AnyMap.cpp:564