CoolProp  6.6.0
An open-source fluid property and humid air property database
Public Member Functions | Public Attributes | List of all members
CoolProp::ExcessTerm Class Reference

Detailed Description

Definition at line 198 of file ExcessHEFunction.h.

#include <ExcessHEFunction.h>

Public Member Functions

 ExcessTerm ()
 
ExcessTermoperator= (ExcessTerm &other)
 
ExcessTerm copy ()
 
void resize (std::size_t N)
 Resize the parts of this term. More...
 
void update (double tau, double delta)
 Update the internal cached derivatives in each departure function. More...
 
virtual HelmholtzDerivatives all (const CoolPropDbl tau, const CoolPropDbl delta, const std::vector< CoolPropDbl > &mole_fractions, bool cache_values=false)
 Calculate all the derivatives that do not involve any composition derivatives. More...
 
HelmholtzDerivatives get_deriv_nocomp_notcached (const std::vector< CoolPropDbl > &x, double tau, double delta) const
 
double get_deriv_nocomp_cached (const std::vector< CoolPropDbl > &x, std::size_t itau, std::size_t idelta)
 
double alphar (const std::vector< CoolPropDbl > &x)
 
double dalphar_dDelta (const std::vector< CoolPropDbl > &x)
 
double d2alphar_dDelta2 (const std::vector< CoolPropDbl > &x)
 
double d2alphar_dDelta_dTau (const std::vector< CoolPropDbl > &x)
 
double dalphar_dTau (const std::vector< CoolPropDbl > &x)
 
double d2alphar_dTau2 (const std::vector< CoolPropDbl > &x)
 
double d3alphar_dTau3 (const std::vector< CoolPropDbl > &x)
 
double d3alphar_dDelta_dTau2 (const std::vector< CoolPropDbl > &x)
 
double d3alphar_dDelta2_dTau (const std::vector< CoolPropDbl > &x)
 
double d3alphar_dDelta3 (const std::vector< CoolPropDbl > &x)
 
double d4alphar_dTau4 (const std::vector< CoolPropDbl > &x)
 
double d4alphar_dDelta_dTau3 (const std::vector< CoolPropDbl > &x)
 
double d4alphar_dDelta2_dTau2 (const std::vector< CoolPropDbl > &x)
 
double d4alphar_dDelta3_dTau (const std::vector< CoolPropDbl > &x)
 
double d4alphar_dDelta4 (const std::vector< CoolPropDbl > &x)
 
double dalphar_dxi (const std::vector< CoolPropDbl > &x, std::size_t i, x_N_dependency_flag xN_flag)
 
double d2alphardxidxj (const std::vector< CoolPropDbl > &x, std::size_t i, std::size_t j, x_N_dependency_flag xN_flag)
 
double d3alphar_dxi_dxj_dDelta (const std::vector< CoolPropDbl > &x, std::size_t i, std::size_t j, x_N_dependency_flag xN_flag)
 
double d3alphar_dxi_dxj_dTau (const std::vector< CoolPropDbl > &x, std::size_t i, std::size_t j, x_N_dependency_flag xN_flag)
 
double d4alphar_dxi_dxj_dDelta2 (const std::vector< CoolPropDbl > &x, std::size_t i, std::size_t j, x_N_dependency_flag xN_flag)
 
double d4alphar_dxi_dxj_dDelta_dTau (const std::vector< CoolPropDbl > &x, std::size_t i, std::size_t j, x_N_dependency_flag xN_flag)
 
double d4alphar_dxi_dxj_dTau2 (const std::vector< CoolPropDbl > &x, std::size_t i, std::size_t j, x_N_dependency_flag xN_flag)
 
double d3alphardxidxjdxk (const std::vector< CoolPropDbl > &x, std::size_t i, std::size_t j, std::size_t k, x_N_dependency_flag xN_flag)
 
double d2alphar_dxi_dTau (const std::vector< CoolPropDbl > &x, std::size_t i, x_N_dependency_flag xN_flag)
 
double d2alphar_dxi_dDelta (const std::vector< CoolPropDbl > &x, std::size_t i, x_N_dependency_flag xN_flag)
 
double d3alphar_dxi_dDelta2 (const std::vector< CoolPropDbl > &x, std::size_t i, x_N_dependency_flag xN_flag)
 
double d4alphar_dxi_dDelta3 (const std::vector< CoolPropDbl > &x, std::size_t i, x_N_dependency_flag xN_flag)
 
double d3alphar_dxi_dTau2 (const std::vector< CoolPropDbl > &x, std::size_t i, x_N_dependency_flag xN_flag)
 
double d4alphar_dxi_dTau3 (const std::vector< CoolPropDbl > &x, std::size_t i, x_N_dependency_flag xN_flag)
 
double d3alphar_dxi_dDelta_dTau (const std::vector< CoolPropDbl > &x, std::size_t i, x_N_dependency_flag xN_flag)
 
double d4alphar_dxi_dDelta2_dTau (const std::vector< CoolPropDbl > &x, std::size_t i, x_N_dependency_flag xN_flag)
 
double d4alphar_dxi_dDelta_dTau2 (const std::vector< CoolPropDbl > &x, std::size_t i, x_N_dependency_flag xN_flag)
 

Public Attributes

std::size_t N
 
std::vector< std::vector< DepartureFunctionPointer > > DepartureFunctionMatrix
 
STLMatrix F
 

Constructor & Destructor Documentation

◆ ExcessTerm()

CoolProp::ExcessTerm::ExcessTerm ( )
inline

Definition at line 205 of file ExcessHEFunction.h.

Member Function Documentation

◆ all()

virtual HelmholtzDerivatives CoolProp::ExcessTerm::all ( const CoolPropDbl  tau,
const CoolPropDbl  delta,
const std::vector< CoolPropDbl > &  mole_fractions,
bool  cache_values = false 
)
inlinevirtual

Calculate all the derivatives that do not involve any composition derivatives.

Definition at line 255 of file ExcessHEFunction.h.

◆ alphar()

double CoolProp::ExcessTerm::alphar ( const std::vector< CoolPropDbl > &  x)
inline

Definition at line 320 of file ExcessHEFunction.h.

◆ copy()

ExcessTerm CoolProp::ExcessTerm::copy ( )
inline

Definition at line 219 of file ExcessHEFunction.h.

◆ d2alphar_dDelta2()

double CoolProp::ExcessTerm::d2alphar_dDelta2 ( const std::vector< CoolPropDbl > &  x)
inline

Definition at line 326 of file ExcessHEFunction.h.

◆ d2alphar_dDelta_dTau()

double CoolProp::ExcessTerm::d2alphar_dDelta_dTau ( const std::vector< CoolPropDbl > &  x)
inline

Definition at line 329 of file ExcessHEFunction.h.

◆ d2alphar_dTau2()

double CoolProp::ExcessTerm::d2alphar_dTau2 ( const std::vector< CoolPropDbl > &  x)
inline

Definition at line 335 of file ExcessHEFunction.h.

◆ d2alphar_dxi_dDelta()

double CoolProp::ExcessTerm::d2alphar_dxi_dDelta ( const std::vector< CoolPropDbl > &  x,
std::size_t  i,
x_N_dependency_flag  xN_flag 
)
inline

Definition at line 564 of file ExcessHEFunction.h.

◆ d2alphar_dxi_dTau()

double CoolProp::ExcessTerm::d2alphar_dxi_dTau ( const std::vector< CoolPropDbl > &  x,
std::size_t  i,
x_N_dependency_flag  xN_flag 
)
inline

Definition at line 534 of file ExcessHEFunction.h.

◆ d2alphardxidxj()

double CoolProp::ExcessTerm::d2alphardxidxj ( const std::vector< CoolPropDbl > &  x,
std::size_t  i,
std::size_t  j,
x_N_dependency_flag  xN_flag 
)
inline

Definition at line 397 of file ExcessHEFunction.h.

◆ d3alphar_dDelta2_dTau()

double CoolProp::ExcessTerm::d3alphar_dDelta2_dTau ( const std::vector< CoolPropDbl > &  x)
inline

Definition at line 344 of file ExcessHEFunction.h.

◆ d3alphar_dDelta3()

double CoolProp::ExcessTerm::d3alphar_dDelta3 ( const std::vector< CoolPropDbl > &  x)
inline

Definition at line 347 of file ExcessHEFunction.h.

◆ d3alphar_dDelta_dTau2()

double CoolProp::ExcessTerm::d3alphar_dDelta_dTau2 ( const std::vector< CoolPropDbl > &  x)
inline

Definition at line 341 of file ExcessHEFunction.h.

◆ d3alphar_dTau3()

double CoolProp::ExcessTerm::d3alphar_dTau3 ( const std::vector< CoolPropDbl > &  x)
inline

Definition at line 338 of file ExcessHEFunction.h.

◆ d3alphar_dxi_dDelta2()

double CoolProp::ExcessTerm::d3alphar_dxi_dDelta2 ( const std::vector< CoolPropDbl > &  x,
std::size_t  i,
x_N_dependency_flag  xN_flag 
)
inline

Definition at line 595 of file ExcessHEFunction.h.

◆ d3alphar_dxi_dDelta_dTau()

double CoolProp::ExcessTerm::d3alphar_dxi_dDelta_dTau ( const std::vector< CoolPropDbl > &  x,
std::size_t  i,
x_N_dependency_flag  xN_flag 
)
inline

Definition at line 689 of file ExcessHEFunction.h.

◆ d3alphar_dxi_dTau2()

double CoolProp::ExcessTerm::d3alphar_dxi_dTau2 ( const std::vector< CoolPropDbl > &  x,
std::size_t  i,
x_N_dependency_flag  xN_flag 
)
inline

Definition at line 642 of file ExcessHEFunction.h.

◆ d3alphar_dxi_dxj_dDelta()

double CoolProp::ExcessTerm::d3alphar_dxi_dxj_dDelta ( const std::vector< CoolPropDbl > &  x,
std::size_t  i,
std::size_t  j,
x_N_dependency_flag  xN_flag 
)
inline

Definition at line 427 of file ExcessHEFunction.h.

◆ d3alphar_dxi_dxj_dTau()

double CoolProp::ExcessTerm::d3alphar_dxi_dxj_dTau ( const std::vector< CoolPropDbl > &  x,
std::size_t  i,
std::size_t  j,
x_N_dependency_flag  xN_flag 
)
inline

Definition at line 457 of file ExcessHEFunction.h.

◆ d3alphardxidxjdxk()

double CoolProp::ExcessTerm::d3alphardxidxjdxk ( const std::vector< CoolPropDbl > &  x,
std::size_t  i,
std::size_t  j,
std::size_t  k,
x_N_dependency_flag  xN_flag 
)
inline

Definition at line 531 of file ExcessHEFunction.h.

◆ d4alphar_dDelta2_dTau2()

double CoolProp::ExcessTerm::d4alphar_dDelta2_dTau2 ( const std::vector< CoolPropDbl > &  x)
inline

Definition at line 356 of file ExcessHEFunction.h.

◆ d4alphar_dDelta3_dTau()

double CoolProp::ExcessTerm::d4alphar_dDelta3_dTau ( const std::vector< CoolPropDbl > &  x)
inline

Definition at line 359 of file ExcessHEFunction.h.

◆ d4alphar_dDelta4()

double CoolProp::ExcessTerm::d4alphar_dDelta4 ( const std::vector< CoolPropDbl > &  x)
inline

Definition at line 362 of file ExcessHEFunction.h.

◆ d4alphar_dDelta_dTau3()

double CoolProp::ExcessTerm::d4alphar_dDelta_dTau3 ( const std::vector< CoolPropDbl > &  x)
inline

Definition at line 353 of file ExcessHEFunction.h.

◆ d4alphar_dTau4()

double CoolProp::ExcessTerm::d4alphar_dTau4 ( const std::vector< CoolPropDbl > &  x)
inline

Definition at line 350 of file ExcessHEFunction.h.

◆ d4alphar_dxi_dDelta2_dTau()

double CoolProp::ExcessTerm::d4alphar_dxi_dDelta2_dTau ( const std::vector< CoolPropDbl > &  x,
std::size_t  i,
x_N_dependency_flag  xN_flag 
)
inline

Definition at line 706 of file ExcessHEFunction.h.

◆ d4alphar_dxi_dDelta3()

double CoolProp::ExcessTerm::d4alphar_dxi_dDelta3 ( const std::vector< CoolPropDbl > &  x,
std::size_t  i,
x_N_dependency_flag  xN_flag 
)
inline

Definition at line 625 of file ExcessHEFunction.h.

◆ d4alphar_dxi_dDelta_dTau2()

double CoolProp::ExcessTerm::d4alphar_dxi_dDelta_dTau2 ( const std::vector< CoolPropDbl > &  x,
std::size_t  i,
x_N_dependency_flag  xN_flag 
)
inline

Definition at line 723 of file ExcessHEFunction.h.

◆ d4alphar_dxi_dTau3()

double CoolProp::ExcessTerm::d4alphar_dxi_dTau3 ( const std::vector< CoolPropDbl > &  x,
std::size_t  i,
x_N_dependency_flag  xN_flag 
)
inline

Definition at line 672 of file ExcessHEFunction.h.

◆ d4alphar_dxi_dxj_dDelta2()

double CoolProp::ExcessTerm::d4alphar_dxi_dxj_dDelta2 ( const std::vector< CoolPropDbl > &  x,
std::size_t  i,
std::size_t  j,
x_N_dependency_flag  xN_flag 
)
inline

Definition at line 472 of file ExcessHEFunction.h.

◆ d4alphar_dxi_dxj_dDelta_dTau()

double CoolProp::ExcessTerm::d4alphar_dxi_dxj_dDelta_dTau ( const std::vector< CoolPropDbl > &  x,
std::size_t  i,
std::size_t  j,
x_N_dependency_flag  xN_flag 
)
inline

Definition at line 487 of file ExcessHEFunction.h.

◆ d4alphar_dxi_dxj_dTau2()

double CoolProp::ExcessTerm::d4alphar_dxi_dxj_dTau2 ( const std::vector< CoolPropDbl > &  x,
std::size_t  i,
std::size_t  j,
x_N_dependency_flag  xN_flag 
)
inline

Definition at line 515 of file ExcessHEFunction.h.

◆ dalphar_dDelta()

double CoolProp::ExcessTerm::dalphar_dDelta ( const std::vector< CoolPropDbl > &  x)
inline

Definition at line 323 of file ExcessHEFunction.h.

◆ dalphar_dTau()

double CoolProp::ExcessTerm::dalphar_dTau ( const std::vector< CoolPropDbl > &  x)
inline

Definition at line 332 of file ExcessHEFunction.h.

◆ dalphar_dxi()

double CoolProp::ExcessTerm::dalphar_dxi ( const std::vector< CoolPropDbl > &  x,
std::size_t  i,
x_N_dependency_flag  xN_flag 
)
inline

Definition at line 366 of file ExcessHEFunction.h.

◆ get_deriv_nocomp_cached()

double CoolProp::ExcessTerm::get_deriv_nocomp_cached ( const std::vector< CoolPropDbl > &  x,
std::size_t  itau,
std::size_t  idelta 
)
inline

Definition at line 306 of file ExcessHEFunction.h.

◆ get_deriv_nocomp_notcached()

HelmholtzDerivatives CoolProp::ExcessTerm::get_deriv_nocomp_notcached ( const std::vector< CoolPropDbl > &  x,
double  tau,
double  delta 
) const
inline

Definition at line 291 of file ExcessHEFunction.h.

◆ operator=()

ExcessTerm& CoolProp::ExcessTerm::operator= ( ExcessTerm other)
inline

Definition at line 208 of file ExcessHEFunction.h.

◆ resize()

void CoolProp::ExcessTerm::resize ( std::size_t  N)
inline

Resize the parts of this term.

Definition at line 234 of file ExcessHEFunction.h.

◆ update()

void CoolProp::ExcessTerm::update ( double  tau,
double  delta 
)
inline

Update the internal cached derivatives in each departure function.

Definition at line 243 of file ExcessHEFunction.h.

Member Data Documentation

◆ DepartureFunctionMatrix

std::vector<std::vector<DepartureFunctionPointer> > CoolProp::ExcessTerm::DepartureFunctionMatrix

Definition at line 202 of file ExcessHEFunction.h.

◆ F

STLMatrix CoolProp::ExcessTerm::F

Definition at line 203 of file ExcessHEFunction.h.

◆ N

std::size_t CoolProp::ExcessTerm::N

Definition at line 201 of file ExcessHEFunction.h.


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