CoolProp  4.2.5
An open-source fluid property and humid air property database
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
phir_gaussian Class Reference

#include <Helmholtz.h>

Inheritance diagram for phir_gaussian:
phi_BC

Public Member Functions

 phir_gaussian ()
 
 phir_gaussian (std::vector< double > a_in, std::vector< double > d_in, std::vector< double > t_in, std::vector< double > alpha_in, std::vector< double > epsilon_in, std::vector< double > beta_in, std::vector< double > gamma_in, unsigned int iStart_in, unsigned int iEnd_in)
 
 phir_gaussian (double a_in[], double d_in[], double t_in[], double alpha_in[], double epsilon_in[], double beta_in[], double gamma_in[], unsigned int iStart_in, unsigned int iEnd_in, unsigned int N)
 
 phir_gaussian (const double a_in[], const double d_in[], const double t_in[], const double alpha_in[], const double epsilon_in[], const double beta_in[], const double gamma_in[], unsigned int iStart_in, unsigned int iEnd_in, unsigned int N)
 
 ~phir_gaussian ()
 
void to_json (rapidjson::Value &el, rapidjson::Document &doc)
 
double base (double tau, double delta) throw ()
 
double dDelta (double tau, double delta) throw ()
 
double dTau (double tau, double delta) throw ()
 
double dDelta2 (double tau, double delta) throw ()
 
double dDelta_dTau (double tau, double delta) throw ()
 
double dTau2 (double tau, double delta) throw ()
 
double dDelta3 (double tau, double delta) throw ()
 
double dDelta2_dTau (double tau, double delta) throw ()
 
double dDelta_dTau2 (double tau, double delta) throw ()
 
double dTau3 (double tau, double delta) throw ()
 
- Public Member Functions inherited from phi_BC
 phi_BC ()
 
virtual ~phi_BC ()
 

Detailed Description

Terms are of the form

\[ \phi_r = a \delta ^d \tau^t \exp(-\alpha(\delta-\epsilon)^2-\beta(\tau-\gamma)^2) \]

Definition at line 200 of file Helmholtz.h.

Constructor & Destructor Documentation

phir_gaussian::phir_gaussian ( )
inline

Definition at line 206 of file Helmholtz.h.

phir_gaussian::phir_gaussian ( std::vector< double >  a_in,
std::vector< double >  d_in,
std::vector< double >  t_in,
std::vector< double >  alpha_in,
std::vector< double >  epsilon_in,
std::vector< double >  beta_in,
std::vector< double >  gamma_in,
unsigned int  iStart_in,
unsigned int  iEnd_in 
)

Definition at line 824 of file Helmholtz.cpp.

phir_gaussian::phir_gaussian ( double  a_in[],
double  d_in[],
double  t_in[],
double  alpha_in[],
double  epsilon_in[],
double  beta_in[],
double  gamma_in[],
unsigned int  iStart_in,
unsigned int  iEnd_in,
unsigned int  N 
)

Definition at line 839 of file Helmholtz.cpp.

phir_gaussian::phir_gaussian ( const double  a_in[],
const double  d_in[],
const double  t_in[],
const double  alpha_in[],
const double  epsilon_in[],
const double  beta_in[],
const double  gamma_in[],
unsigned int  iStart_in,
unsigned int  iEnd_in,
unsigned int  N 
)
phir_gaussian::~phir_gaussian ( )
inline

Definition at line 234 of file Helmholtz.h.

Member Function Documentation

double phir_gaussian::base ( double  tau,
double  delta 
)
throw (
)
virtual

Returns the base, non-dimensional, Helmholtz energy term (no derivatives) [-]

Parameters
tauReciprocal reduced temperature where tau=Tc/T
deltaReduced pressure where delta = rho / rhoc

Implements phi_BC.

Definition at line 893 of file Helmholtz.cpp.

double phir_gaussian::dDelta ( double  tau,
double  delta 
)
throw (
)
virtual

Returns the first partial derivative of Helmholtz energy term with respect to delta [-]

Parameters
tauReciprocal reduced temperature where tau=Tc / T
deltaReduced pressure where delta = rho / rhoc

Implements phi_BC.

Definition at line 938 of file Helmholtz.cpp.

double phir_gaussian::dDelta2 ( double  tau,
double  delta 
)
throw (
)
virtual

Returns the second partial derivative of Helmholtz energy term with respect to delta [-]

Parameters
tauReciprocal reduced temperature where tau=Tc / T
deltaReduced pressure where delta = rho / rhoc

Implements phi_BC.

Definition at line 948 of file Helmholtz.cpp.

double phir_gaussian::dDelta2_dTau ( double  tau,
double  delta 
)
throw (
)
virtual

Returns the third mixed partial derivative (delta2,dtau1) of Helmholtz energy term with respect to delta and tau [-]

Parameters
tauReciprocal reduced temperature where tau=Tc / T
deltaReduced pressure where delta = rho / rhoc

Implements phi_BC.

Definition at line 969 of file Helmholtz.cpp.

double phir_gaussian::dDelta3 ( double  tau,
double  delta 
)
throw (
)
virtual

Returns the third partial derivative of Helmholtz energy term with respect to delta [-]

Parameters
tauReciprocal reduced temperature where tau=Tc / T
deltaReduced pressure where delta = rho / rhoc

Implements phi_BC.

Definition at line 958 of file Helmholtz.cpp.

double phir_gaussian::dDelta_dTau ( double  tau,
double  delta 
)
throw (
)
virtual

Returns the second mixed partial derivative (delta1,dtau1) of Helmholtz energy term with respect to delta and tau [-]

Parameters
tauReciprocal reduced temperature where tau=Tc / T
deltaReduced pressure where delta = rho / rhoc

Implements phi_BC.

Definition at line 979 of file Helmholtz.cpp.

double phir_gaussian::dDelta_dTau2 ( double  tau,
double  delta 
)
throw (
)
virtual

Returns the third mixed partial derivative (delta1,dtau2) of Helmholtz energy term with respect to delta and tau [-]

Parameters
tauReciprocal reduced temperature where tau=Tc / T
deltaReduced pressure where delta = rho / rhoc

Implements phi_BC.

Definition at line 989 of file Helmholtz.cpp.

double phir_gaussian::dTau ( double  tau,
double  delta 
)
throw (
)
virtual

Returns the first partial derivative of Helmholtz energy term with respect to tau [-]

Parameters
tauReciprocal reduced temperature where tau=Tc/T
deltaReduced pressure where delta = rho / rhoc

Implements phi_BC.

Definition at line 903 of file Helmholtz.cpp.

double phir_gaussian::dTau2 ( double  tau,
double  delta 
)
throw (
)
virtual

Returns the second partial derivative of Helmholtz energy term with respect to tau [-]

Parameters
tauReciprocal reduced temperature where tau=Tc/T
deltaReduced pressure where delta = rho / rhoc

Implements phi_BC.

Definition at line 913 of file Helmholtz.cpp.

double phir_gaussian::dTau3 ( double  tau,
double  delta 
)
throw (
)
virtual

Returns the third partial derivative of Helmholtz energy term with respect to tau [-]

Parameters
tauReciprocal reduced temperature where tau=Tc / T
deltaReduced pressure where delta = rho / rhoc

Implements phi_BC.

Definition at line 923 of file Helmholtz.cpp.

void phir_gaussian::to_json ( rapidjson::Value el,
rapidjson::Document doc 
)
virtual

Implements phi_BC.

Definition at line 868 of file Helmholtz.cpp.


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