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
Macros | Functions
Helmholtz.cpp File Reference
#include <stdlib.h>
#include <limits>
#include "time.h"
#include <vector>
#include <iostream>
#include "math.h"
#include "Helmholtz.h"
#include "CoolPropTools.h"
#include "Catch/catch.hpp"

Go to the source code of this file.

Macros

#define DBL_EPSILON   std::numeric_limits<double>::epsilon()
 

Functions

void check_derivatives (phi_BC *phi, double tau, double delta, double ddelta, double dtau)
 
 TEST_CASE ("Power Helmholtz terms","[helmholtz],[fast]")
 
 TEST_CASE ((char *)"Non-analytic critical point Helmholtz derivative check",(char *)"[helmholtz],[fast]")
 
double Xdd (double X, double delta, double Delta, double Delta_d, double Delta_dd)
 
 TEST_CASE ("SAFT Helmholtz derivative check","[helmholtz],[fast]")
 
 TEST_CASE ("phi0_power Helmholtz derivative check","[helmholtz],[fast]")
 

Macro Definition Documentation

#define DBL_EPSILON   std::numeric_limits<double>::epsilon()

Definition at line 10 of file Helmholtz.cpp.

Function Documentation

void check_derivatives ( phi_BC phi,
double  tau,
double  delta,
double  ddelta = 1e-10,
double  dtau = 1e-10 
)

Check the derivatives for a Helmholtz energy term Fluid *fl = get_fluid(get_Fluid_index("Methanol")); check_derivatives(fl->phirlist.at(2),0.5,0.3);

Definition at line 24 of file Helmholtz.cpp.

TEST_CASE ( "Power Helmholtz terms"  ,
[helmholtz],
[fast] "   
)

Definition at line 350 of file Helmholtz.cpp.

TEST_CASE ( (char *)"Non-analytic critical point Helmholtz derivative check"  ,
(char *)"  [helmholtz],
[fast] "   
)

Definition at line 1441 of file Helmholtz.cpp.

TEST_CASE ( "SAFT Helmholtz derivative check"  ,
[helmholtz],
[fast] "   
)

Definition at line 1787 of file Helmholtz.cpp.

TEST_CASE ( "phi0_power Helmholtz derivative check"  ,
[helmholtz],
[fast] "   
)

Definition at line 2160 of file Helmholtz.cpp.

double Xdd ( double  X,
double  delta,
double  Delta,
double  Delta_d,
double  Delta_dd 
)

Definition at line 1667 of file Helmholtz.cpp.