Physical Quantities  v1.0.0
C++ library of physical quantities, physical models, and units of measure for scientific computing. https://github.com/acodcha/phq
Public Member Functions | Static Public Member Functions | Protected Attributes | Private Member Functions | List of all members
PhQ::SpecificIsobaricHeatCapacity< NumericType > Class Template Reference

Mass-specific isobaric heat capacity, also known as mass-specific heat capacity at constant pressure, or isobaric heat capacity per unit mass; see PhQ::IsobaricHeatCapacity and PhQ::Mass. More...

#include "SpecificIsobaricHeatCapacity.hpp"

Public Member Functions

 SpecificIsobaricHeatCapacity ()=default
 Default constructor. Constructs a specific isobaric heat capacity with an uninitialized value. More...
 
 SpecificIsobaricHeatCapacity (const NumericType value, const Unit::SpecificHeatCapacity unit)
 Constructor. Constructs a specific isobaric heat capacity with a given value expressed in a given specific heat capacity unit. More...
 
constexpr SpecificIsobaricHeatCapacity (const SpecificIsochoricHeatCapacity< NumericType > &specific_isochoric_heat_capacity, const SpecificGasConstant< NumericType > &specific_gas_constant)
 Constructor. Constructs a specific isobaric heat capacity from a given specific gas constant and specific isochoric heat capacity using Mayer's relation. More...
 
constexpr SpecificIsobaricHeatCapacity (const HeatCapacityRatio< NumericType > &heat_capacity_ratio, const SpecificGasConstant< NumericType > &specific_gas_constant)
 Constructor. Constructs a specific isobaric heat capacity from a given specific gas constant and heat capacity ratio using the definition of the heat capacity ratio and Mayer's relation. More...
 
constexpr SpecificIsobaricHeatCapacity (const HeatCapacityRatio< NumericType > &heat_capacity_ratio, const SpecificIsochoricHeatCapacity< NumericType > &specific_isochoric_heat_capacity)
 Constructor. Constructs a specific isobaric heat capacity from a given specific isochoric heat capacity and heat capacity ratio using the definition of the heat capacity ratio. More...
 
constexpr SpecificIsobaricHeatCapacity (const IsobaricHeatCapacity< NumericType > &isobaric_heat_capacity, const Mass< NumericType > &mass)
 Constructor. Constructs a specific isobaric heat capacity from a given isobaric heat capacity and mass using the definition of the specific isobaric heat capacity. More...
 
constexpr SpecificIsobaricHeatCapacity (const ScalarThermalConductivity< NumericType > &scalar_thermal_conductivity, const MassDensity< NumericType > &mass_density, const ThermalDiffusivity< NumericType > &thermal_diffusivity)
 Constructor. Constructs a specific isobaric heat capacity from a given scalar thermal conductivity mass density, and thermal diffusivity using the definition of the specific isobaric heat capacity and Fourier's law of heat conduction. More...
 
constexpr SpecificIsobaricHeatCapacity (const PrandtlNumber< NumericType > &prandtl_number, const ScalarThermalConductivity< NumericType > &scalar_thermal_conductivity, const DynamicViscosity< NumericType > &dynamic_viscosity)
 Constructor. Constructs a specific isobaric heat capacity from a given Prandtl number, scalar thermal conductivity, and dynamic viscosity using the definition of the Prandtl number. More...
 
 ~SpecificIsobaricHeatCapacity () noexcept=default
 Destructor. Destroys this specific isobaric heat capacity. More...
 
constexpr SpecificIsobaricHeatCapacity (const SpecificIsobaricHeatCapacity< NumericType > &other)=default
 Copy constructor. Constructs a specific isobaric heat capacity by copying another one. More...
 
template<typename OtherNumericType >
constexpr SpecificIsobaricHeatCapacity (const SpecificIsobaricHeatCapacity< OtherNumericType > &other)
 Copy constructor. Constructs a specific isobaric heat capacity by copying another one. More...
 
constexpr SpecificIsobaricHeatCapacity (SpecificIsobaricHeatCapacity< NumericType > &&other) noexcept=default
 Move constructor. Constructs a specific isobaric heat capacity by moving another one. More...
 
constexpr SpecificIsobaricHeatCapacity< NumericType > & operator= (const SpecificIsobaricHeatCapacity< NumericType > &other)=default
 Copy assignment operator. Assigns this specific isobaric heat capacity by copying another one. More...
 
template<typename OtherNumericType >
constexpr SpecificIsobaricHeatCapacity< NumericType > & operator= (const SpecificIsobaricHeatCapacity< OtherNumericType > &other)
 Copy assignment operator. Assigns this specific isobaric heat capacity by copying another one. More...
 
constexpr SpecificIsobaricHeatCapacity< NumericType > & operator= (SpecificIsobaricHeatCapacity< NumericType > &&other) noexcept=default
 Move assignment operator. Assigns this specific isobaric heat capacity by moving another one. More...
 
constexpr SpecificIsobaricHeatCapacity< NumericType > operator+ (const SpecificIsobaricHeatCapacity< NumericType > &specific_isobaric_heat_capacity) const
 
constexpr SpecificIsobaricHeatCapacity< NumericType > operator- (const SpecificIsobaricHeatCapacity< NumericType > &specific_isobaric_heat_capacity) const
 
constexpr SpecificGasConstant< NumericType > operator- (const SpecificIsochoricHeatCapacity< NumericType > &specific_isochoric_heat_capacity) const
 
constexpr SpecificIsochoricHeatCapacity< NumericType > operator- (const SpecificGasConstant< NumericType > &specific_gas_constant) const
 
constexpr SpecificIsobaricHeatCapacity< NumericType > operator* (const NumericType number) const
 
constexpr IsobaricHeatCapacity< NumericType > operator* (const Mass< NumericType > &mass) const
 
constexpr SpecificIsobaricHeatCapacity< NumericType > operator/ (const NumericType number) const
 
constexpr NumericType operator/ (const SpecificIsobaricHeatCapacity< NumericType > &specific_isobaric_heat_capacity) const noexcept
 
constexpr HeatCapacityRatio< NumericType > operator/ (const SpecificIsochoricHeatCapacity< NumericType > &specific_isochoric_heat_capacity) const
 
constexpr SpecificIsochoricHeatCapacity< NumericType > operator/ (const HeatCapacityRatio< NumericType > &heat_capacity_ratio) const
 
constexpr void operator+= (const SpecificIsobaricHeatCapacity< NumericType > &specific_isobaric_heat_capacity) noexcept
 
constexpr void operator-= (const SpecificIsobaricHeatCapacity< NumericType > &specific_isobaric_heat_capacity) noexcept
 
constexpr void operator*= (const NumericType number) noexcept
 
constexpr void operator/= (const NumericType number) noexcept
 
constexpr double Value () const noexcept
 Value of this physical quantity expressed in its standard unit of measure. More...
 
double Value (const Unit::SpecificHeatCapacity unit) const
 Value of this physical quantity expressed in a given unit of measure. More...
 
constexpr double StaticValue () const
 Value of this physical quantity expressed in a given unit of measure. This method can be evaluated statically at compile-time. More...
 
constexpr double & MutableValue () noexcept
 Returns the value of this physical quantity expressed in its standard unit of measure as a mutable value. More...
 
constexpr void SetValue (const double value) noexcept
 Sets the value of this physical quantity expressed in its standard unit of measure to the given value. More...
 
std::string Print () const
 Prints this physical quantity as a string. This physical quantity's value is expressed in its standard unit of measure. More...
 
std::string Print (const Unit::SpecificHeatCapacity unit) const
 Prints this physical quantity as a string. This physical quantity's value is expressed in the given unit of measure. More...
 
std::string JSON () const
 Serializes this physical quantity as a JSON message. This physical quantity's value is expressed in its standard unit of measure. More...
 
std::string JSON (const Unit::SpecificHeatCapacity unit) const
 Serializes this physical quantity as a JSON message. This physical quantity's value is expressed in the given unit of measure. More...
 
std::string XML () const
 Serializes this physical quantity as an XML message. This physical quantity's value is expressed in its standard unit of measure. More...
 
std::string XML (const Unit::SpecificHeatCapacity unit) const
 Serializes this physical quantity as an XML message. This physical quantity's value is expressed in the given unit of measure. More...
 
std::string YAML () const
 Serializes this physical quantity as a YAML message. This physical quantity's value is expressed in its standard unit of measure. More...
 
std::string YAML (const Unit::SpecificHeatCapacity unit) const
 Serializes this physical quantity as a YAML message. This physical quantity's value is expressed in the given unit of measure. More...
 

Static Public Member Functions

static constexpr SpecificIsobaricHeatCapacity< NumericType > Zero ()
 Statically creates a specific isobaric heat capacity of zero. More...
 
template<Unit::SpecificHeatCapacity Unit>
static constexpr SpecificIsobaricHeatCapacity< NumericType > Create (const NumericType value)
 Statically creates a specific isobaric heat capacity with a given value expressed in a given specific heat capacity unit. More...
 
static constexpr const PhQ::DimensionsDimensions ()
 Physical dimension set of this physical quantity. More...
 
static constexpr Unit::SpecificHeatCapacity Unit ()
 Standard unit of measure for this physical quantity. This physical quantity's value is stored internally in this unit of measure. More...
 

Protected Attributes

double value
 Value of this physical quantity expressed in its standard unit of measure. More...
 

Private Member Functions

constexpr SpecificIsobaricHeatCapacity (const NumericType value)
 Constructor. Constructs a specific isobaric heat capacity with a given value expressed in the standard specific heat capacity unit. More...
 

Detailed Description

template<typename NumericType = double>
class PhQ::SpecificIsobaricHeatCapacity< NumericType >

Mass-specific isobaric heat capacity, also known as mass-specific heat capacity at constant pressure, or isobaric heat capacity per unit mass; see PhQ::IsobaricHeatCapacity and PhQ::Mass.

Definition at line 64 of file SpecificIsobaricHeatCapacity.hpp.

Constructor & Destructor Documentation

◆ SpecificIsobaricHeatCapacity() [1/12]

template<typename NumericType = double>
PhQ::SpecificIsobaricHeatCapacity< NumericType >::SpecificIsobaricHeatCapacity ( )
default

Default constructor. Constructs a specific isobaric heat capacity with an uninitialized value.

◆ SpecificIsobaricHeatCapacity() [2/12]

template<typename NumericType = double>
PhQ::SpecificIsobaricHeatCapacity< NumericType >::SpecificIsobaricHeatCapacity ( const NumericType  value,
const Unit::SpecificHeatCapacity  unit 
)
inline

Constructor. Constructs a specific isobaric heat capacity with a given value expressed in a given specific heat capacity unit.

Definition at line 73 of file SpecificIsobaricHeatCapacity.hpp.

◆ SpecificIsobaricHeatCapacity() [3/12]

template<typename NumericType >
constexpr PhQ::SpecificIsobaricHeatCapacity< NumericType >::SpecificIsobaricHeatCapacity ( const SpecificIsochoricHeatCapacity< NumericType > &  specific_isochoric_heat_capacity,
const SpecificGasConstant< NumericType > &  specific_gas_constant 
)
inlineconstexpr

Constructor. Constructs a specific isobaric heat capacity from a given specific gas constant and specific isochoric heat capacity using Mayer's relation.

Definition at line 278 of file SpecificGasConstant.hpp.

◆ SpecificIsobaricHeatCapacity() [4/12]

template<typename NumericType >
constexpr PhQ::SpecificIsobaricHeatCapacity< NumericType >::SpecificIsobaricHeatCapacity ( const HeatCapacityRatio< NumericType > &  heat_capacity_ratio,
const SpecificGasConstant< NumericType > &  specific_gas_constant 
)
inlineconstexpr

Constructor. Constructs a specific isobaric heat capacity from a given specific gas constant and heat capacity ratio using the definition of the heat capacity ratio and Mayer's relation.

Definition at line 285 of file SpecificGasConstant.hpp.

◆ SpecificIsobaricHeatCapacity() [5/12]

template<typename NumericType = double>
constexpr PhQ::SpecificIsobaricHeatCapacity< NumericType >::SpecificIsobaricHeatCapacity ( const HeatCapacityRatio< NumericType > &  heat_capacity_ratio,
const SpecificIsochoricHeatCapacity< NumericType > &  specific_isochoric_heat_capacity 
)
inlineconstexpr

Constructor. Constructs a specific isobaric heat capacity from a given specific isochoric heat capacity and heat capacity ratio using the definition of the heat capacity ratio.

Definition at line 92 of file SpecificIsobaricHeatCapacity.hpp.

◆ SpecificIsobaricHeatCapacity() [6/12]

template<typename NumericType = double>
constexpr PhQ::SpecificIsobaricHeatCapacity< NumericType >::SpecificIsobaricHeatCapacity ( const IsobaricHeatCapacity< NumericType > &  isobaric_heat_capacity,
const Mass< NumericType > &  mass 
)
inlineconstexpr

Constructor. Constructs a specific isobaric heat capacity from a given isobaric heat capacity and mass using the definition of the specific isobaric heat capacity.

Definition at line 100 of file SpecificIsobaricHeatCapacity.hpp.

◆ SpecificIsobaricHeatCapacity() [7/12]

template<typename NumericType >
constexpr PhQ::SpecificIsobaricHeatCapacity< NumericType >::SpecificIsobaricHeatCapacity ( const ScalarThermalConductivity< NumericType > &  scalar_thermal_conductivity,
const MassDensity< NumericType > &  mass_density,
const ThermalDiffusivity< NumericType > &  thermal_diffusivity 
)
inlineconstexpr

Constructor. Constructs a specific isobaric heat capacity from a given scalar thermal conductivity mass density, and thermal diffusivity using the definition of the specific isobaric heat capacity and Fourier's law of heat conduction.

Definition at line 233 of file ThermalDiffusivity.hpp.

◆ SpecificIsobaricHeatCapacity() [8/12]

template<typename NumericType >
constexpr PhQ::SpecificIsobaricHeatCapacity< NumericType >::SpecificIsobaricHeatCapacity ( const PrandtlNumber< NumericType > &  prandtl_number,
const ScalarThermalConductivity< NumericType > &  scalar_thermal_conductivity,
const DynamicViscosity< NumericType > &  dynamic_viscosity 
)
inlineconstexpr

Constructor. Constructs a specific isobaric heat capacity from a given Prandtl number, scalar thermal conductivity, and dynamic viscosity using the definition of the Prandtl number.

Definition at line 239 of file PrandtlNumber.hpp.

◆ ~SpecificIsobaricHeatCapacity()

template<typename NumericType = double>
PhQ::SpecificIsobaricHeatCapacity< NumericType >::~SpecificIsobaricHeatCapacity ( )
defaultnoexcept

Destructor. Destroys this specific isobaric heat capacity.

◆ SpecificIsobaricHeatCapacity() [9/12]

template<typename NumericType = double>
constexpr PhQ::SpecificIsobaricHeatCapacity< NumericType >::SpecificIsobaricHeatCapacity ( const SpecificIsobaricHeatCapacity< NumericType > &  other)
constexprdefault

Copy constructor. Constructs a specific isobaric heat capacity by copying another one.

◆ SpecificIsobaricHeatCapacity() [10/12]

template<typename NumericType = double>
template<typename OtherNumericType >
constexpr PhQ::SpecificIsobaricHeatCapacity< NumericType >::SpecificIsobaricHeatCapacity ( const SpecificIsobaricHeatCapacity< OtherNumericType > &  other)
inlineexplicitconstexpr

Copy constructor. Constructs a specific isobaric heat capacity by copying another one.

Definition at line 129 of file SpecificIsobaricHeatCapacity.hpp.

◆ SpecificIsobaricHeatCapacity() [11/12]

template<typename NumericType = double>
constexpr PhQ::SpecificIsobaricHeatCapacity< NumericType >::SpecificIsobaricHeatCapacity ( SpecificIsobaricHeatCapacity< NumericType > &&  other)
constexprdefaultnoexcept

Move constructor. Constructs a specific isobaric heat capacity by moving another one.

◆ SpecificIsobaricHeatCapacity() [12/12]

template<typename NumericType = double>
constexpr PhQ::SpecificIsobaricHeatCapacity< NumericType >::SpecificIsobaricHeatCapacity ( const NumericType  value)
inlineexplicitconstexprprivate

Constructor. Constructs a specific isobaric heat capacity with a given value expressed in the standard specific heat capacity unit.

Definition at line 238 of file SpecificIsobaricHeatCapacity.hpp.

Member Function Documentation

◆ Create()

template<typename NumericType = double>
template<Unit::SpecificHeatCapacity Unit>
static constexpr SpecificIsobaricHeatCapacity<NumericType> PhQ::SpecificIsobaricHeatCapacity< NumericType >::Create ( const NumericType  value)
inlinestaticconstexpr

Statically creates a specific isobaric heat capacity with a given value expressed in a given specific heat capacity unit.

Definition at line 164 of file SpecificIsobaricHeatCapacity.hpp.

References PhQ::DimensionalScalar< Unit::SpecificHeatCapacity, double >::value.

◆ Dimensions()

static constexpr const PhQ::Dimensions& PhQ::DimensionalScalar< Unit::SpecificHeatCapacity , double >::Dimensions ( )
inlinestaticconstexprinherited

Physical dimension set of this physical quantity.

Definition at line 54 of file DimensionalScalar.hpp.

◆ JSON() [1/2]

std::string PhQ::DimensionalScalar< Unit::SpecificHeatCapacity , double >::JSON ( ) const
inlineinherited

Serializes this physical quantity as a JSON message. This physical quantity's value is expressed in its standard unit of measure.

Definition at line 107 of file DimensionalScalar.hpp.

◆ JSON() [2/2]

std::string PhQ::DimensionalScalar< Unit::SpecificHeatCapacity , double >::JSON ( const Unit::SpecificHeatCapacity  unit) const
inlineinherited

Serializes this physical quantity as a JSON message. This physical quantity's value is expressed in the given unit of measure.

Definition at line 117 of file DimensionalScalar.hpp.

◆ MutableValue()

constexpr double & PhQ::DimensionalScalar< Unit::SpecificHeatCapacity , double >::MutableValue ( )
inlineconstexprnoexceptinherited

Returns the value of this physical quantity expressed in its standard unit of measure as a mutable value.

Definition at line 83 of file DimensionalScalar.hpp.

◆ operator*() [1/2]

template<typename NumericType = double>
constexpr IsobaricHeatCapacity<NumericType> PhQ::SpecificIsobaricHeatCapacity< NumericType >::operator* ( const Mass< NumericType > &  mass) const
inlineconstexpr

Definition at line 193 of file SpecificIsobaricHeatCapacity.hpp.

◆ operator*() [2/2]

template<typename NumericType = double>
constexpr SpecificIsobaricHeatCapacity<NumericType> PhQ::SpecificIsobaricHeatCapacity< NumericType >::operator* ( const NumericType  number) const
inlineconstexpr

◆ operator*=()

template<typename NumericType = double>
constexpr void PhQ::SpecificIsobaricHeatCapacity< NumericType >::operator*= ( const NumericType  number)
inlineconstexprnoexcept

◆ operator+()

template<typename NumericType = double>
constexpr SpecificIsobaricHeatCapacity<NumericType> PhQ::SpecificIsobaricHeatCapacity< NumericType >::operator+ ( const SpecificIsobaricHeatCapacity< NumericType > &  specific_isobaric_heat_capacity) const
inlineconstexpr

◆ operator+=()

template<typename NumericType = double>
constexpr void PhQ::SpecificIsobaricHeatCapacity< NumericType >::operator+= ( const SpecificIsobaricHeatCapacity< NumericType > &  specific_isobaric_heat_capacity)
inlineconstexprnoexcept

◆ operator-() [1/3]

template<typename NumericType >
constexpr SpecificIsochoricHeatCapacity< NumericType > PhQ::SpecificIsobaricHeatCapacity< NumericType >::operator- ( const SpecificGasConstant< NumericType > &  specific_gas_constant) const
inlineconstexpr

Definition at line 308 of file SpecificGasConstant.hpp.

◆ operator-() [2/3]

template<typename NumericType = double>
constexpr SpecificIsobaricHeatCapacity<NumericType> PhQ::SpecificIsobaricHeatCapacity< NumericType >::operator- ( const SpecificIsobaricHeatCapacity< NumericType > &  specific_isobaric_heat_capacity) const
inlineconstexpr

◆ operator-() [3/3]

template<typename NumericType >
constexpr SpecificGasConstant< NumericType > PhQ::SpecificIsobaricHeatCapacity< NumericType >::operator- ( const SpecificIsochoricHeatCapacity< NumericType > &  specific_isochoric_heat_capacity) const
inlineconstexpr

Definition at line 301 of file SpecificGasConstant.hpp.

◆ operator-=()

template<typename NumericType = double>
constexpr void PhQ::SpecificIsobaricHeatCapacity< NumericType >::operator-= ( const SpecificIsobaricHeatCapacity< NumericType > &  specific_isobaric_heat_capacity)
inlineconstexprnoexcept

◆ operator/() [1/4]

template<typename NumericType = double>
constexpr SpecificIsochoricHeatCapacity<NumericType> PhQ::SpecificIsobaricHeatCapacity< NumericType >::operator/ ( const HeatCapacityRatio< NumericType > &  heat_capacity_ratio) const
inlineconstexpr

Definition at line 212 of file SpecificIsobaricHeatCapacity.hpp.

◆ operator/() [2/4]

template<typename NumericType = double>
constexpr SpecificIsobaricHeatCapacity<NumericType> PhQ::SpecificIsobaricHeatCapacity< NumericType >::operator/ ( const NumericType  number) const
inlineconstexpr

◆ operator/() [3/4]

template<typename NumericType = double>
constexpr NumericType PhQ::SpecificIsobaricHeatCapacity< NumericType >::operator/ ( const SpecificIsobaricHeatCapacity< NumericType > &  specific_isobaric_heat_capacity) const
inlineconstexprnoexcept

◆ operator/() [4/4]

template<typename NumericType = double>
constexpr HeatCapacityRatio<NumericType> PhQ::SpecificIsobaricHeatCapacity< NumericType >::operator/ ( const SpecificIsochoricHeatCapacity< NumericType > &  specific_isochoric_heat_capacity) const
inlineconstexpr

Definition at line 207 of file SpecificIsobaricHeatCapacity.hpp.

◆ operator/=()

template<typename NumericType = double>
constexpr void PhQ::SpecificIsobaricHeatCapacity< NumericType >::operator/= ( const NumericType  number)
inlineconstexprnoexcept

◆ operator=() [1/3]

template<typename NumericType = double>
constexpr SpecificIsobaricHeatCapacity<NumericType>& PhQ::SpecificIsobaricHeatCapacity< NumericType >::operator= ( const SpecificIsobaricHeatCapacity< NumericType > &  other)
constexprdefault

Copy assignment operator. Assigns this specific isobaric heat capacity by copying another one.

◆ operator=() [2/3]

template<typename NumericType = double>
template<typename OtherNumericType >
constexpr SpecificIsobaricHeatCapacity<NumericType>& PhQ::SpecificIsobaricHeatCapacity< NumericType >::operator= ( const SpecificIsobaricHeatCapacity< OtherNumericType > &  other)
inlineconstexpr

Copy assignment operator. Assigns this specific isobaric heat capacity by copying another one.

Definition at line 145 of file SpecificIsobaricHeatCapacity.hpp.

References PhQ::DimensionalScalar< UnitType, NumericType >::Value(), and PhQ::DimensionalScalar< Unit::SpecificHeatCapacity, double >::value.

◆ operator=() [3/3]

template<typename NumericType = double>
constexpr SpecificIsobaricHeatCapacity<NumericType>& PhQ::SpecificIsobaricHeatCapacity< NumericType >::operator= ( SpecificIsobaricHeatCapacity< NumericType > &&  other)
constexprdefaultnoexcept

Move assignment operator. Assigns this specific isobaric heat capacity by moving another one.

◆ Print() [1/2]

std::string PhQ::DimensionalScalar< Unit::SpecificHeatCapacity , double >::Print ( ) const
inlineinherited

Prints this physical quantity as a string. This physical quantity's value is expressed in its standard unit of measure.

Definition at line 95 of file DimensionalScalar.hpp.

◆ Print() [2/2]

std::string PhQ::DimensionalScalar< Unit::SpecificHeatCapacity , double >::Print ( const Unit::SpecificHeatCapacity  unit) const
inlineinherited

Prints this physical quantity as a string. This physical quantity's value is expressed in the given unit of measure.

Definition at line 101 of file DimensionalScalar.hpp.

◆ SetValue()

constexpr void PhQ::DimensionalScalar< Unit::SpecificHeatCapacity , double >::SetValue ( const double  value)
inlineconstexprnoexceptinherited

Sets the value of this physical quantity expressed in its standard unit of measure to the given value.

Definition at line 89 of file DimensionalScalar.hpp.

◆ StaticValue()

constexpr double PhQ::DimensionalScalar< Unit::SpecificHeatCapacity , double >::StaticValue ( ) const
inlineconstexprinherited

Value of this physical quantity expressed in a given unit of measure. This method can be evaluated statically at compile-time.

Definition at line 77 of file DimensionalScalar.hpp.

◆ Unit()

static constexpr Unit::SpecificHeatCapacity PhQ::DimensionalScalar< Unit::SpecificHeatCapacity , double >::Unit ( )
inlinestaticconstexprinherited

Standard unit of measure for this physical quantity. This physical quantity's value is stored internally in this unit of measure.

Definition at line 60 of file DimensionalScalar.hpp.

◆ Value() [1/2]

constexpr double PhQ::DimensionalScalar< Unit::SpecificHeatCapacity , double >::Value ( ) const
inlineconstexprnoexceptinherited

Value of this physical quantity expressed in its standard unit of measure.

Definition at line 65 of file DimensionalScalar.hpp.

◆ Value() [2/2]

double PhQ::DimensionalScalar< Unit::SpecificHeatCapacity , double >::Value ( const Unit::SpecificHeatCapacity  unit) const
inlineinherited

Value of this physical quantity expressed in a given unit of measure.

Definition at line 70 of file DimensionalScalar.hpp.

◆ XML() [1/2]

std::string PhQ::DimensionalScalar< Unit::SpecificHeatCapacity , double >::XML ( ) const
inlineinherited

Serializes this physical quantity as an XML message. This physical quantity's value is expressed in its standard unit of measure.

Definition at line 127 of file DimensionalScalar.hpp.

◆ XML() [2/2]

std::string PhQ::DimensionalScalar< Unit::SpecificHeatCapacity , double >::XML ( const Unit::SpecificHeatCapacity  unit) const
inlineinherited

Serializes this physical quantity as an XML message. This physical quantity's value is expressed in the given unit of measure.

Definition at line 137 of file DimensionalScalar.hpp.

◆ YAML() [1/2]

std::string PhQ::DimensionalScalar< Unit::SpecificHeatCapacity , double >::YAML ( ) const
inlineinherited

Serializes this physical quantity as a YAML message. This physical quantity's value is expressed in its standard unit of measure.

Definition at line 147 of file DimensionalScalar.hpp.

◆ YAML() [2/2]

std::string PhQ::DimensionalScalar< Unit::SpecificHeatCapacity , double >::YAML ( const Unit::SpecificHeatCapacity  unit) const
inlineinherited

Serializes this physical quantity as a YAML message. This physical quantity's value is expressed in the given unit of measure.

Definition at line 157 of file DimensionalScalar.hpp.

◆ Zero()

template<typename NumericType = double>
static constexpr SpecificIsobaricHeatCapacity<NumericType> PhQ::SpecificIsobaricHeatCapacity< NumericType >::Zero ( )
inlinestaticconstexpr

Statically creates a specific isobaric heat capacity of zero.

Definition at line 157 of file SpecificIsobaricHeatCapacity.hpp.

Member Data Documentation

◆ value

double PhQ::DimensionalScalar< Unit::SpecificHeatCapacity , double >::value
protectedinherited

Value of this physical quantity expressed in its standard unit of measure.

Definition at line 221 of file DimensionalScalar.hpp.


The documentation for this class was generated from the following files: