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
Classes | Macros | Enumerations | Functions
Mixtures.cpp File Reference
#include "rapidjson_CoolProp.h"
#include "Mixtures.h"
#include "Solvers.h"
#include "CPExceptions.h"
#include "MatrixMath.h"
#include "mixture_excess_JSON.h"
#include "mixture_reducing_JSON.h"
#include <numeric>
#include "CoolProp.h"
#include "Spline.h"
#include "Catch/catch.hpp"

Go to the source code of this file.

Classes

class  gRR_resid
 A wrapper function around the Rachford-Rice residual. More...
 
class  rho_Tpz_resid
 A wrapper function around the density(T,p,x) residual. More...
 
class  WilsonK_resid
 

Macros

#define _CRT_SECURE_NO_WARNINGS
 

Enumerations

enum  PengRobinsonOptions { PR_SATL, PR_SATV }
 

Functions

bool has_string_array_member (const rapidjson::Value &a, const char *member)
 
std::vector< double > JSON_double_array (const rapidjson::Value &a)
 
std::vector< std::string > JSON_string_array (const rapidjson::Value &a)
 
bool match_CAS_entry (std::vector< std::string > CAS1, std::vector< std::string > CAS2, std::string FluidiCAS, std::string FluidjCAS)
 
void normalize_vector (std::vector< double > &x)
 
 TEST_CASE ("Mixture derivative checks","")
 

Macro Definition Documentation

#define _CRT_SECURE_NO_WARNINGS

Definition at line 2 of file Mixtures.cpp.

Enumeration Type Documentation

Enumerator
PR_SATL 
PR_SATV 

Definition at line 308 of file Mixtures.cpp.

Function Documentation

bool has_string_array_member ( const rapidjson::Value a,
const char *  member 
)

Definition at line 22 of file Mixtures.cpp.

std::vector<double> JSON_double_array ( const rapidjson::Value a)

Definition at line 41 of file Mixtures.cpp.

std::vector<std::string> JSON_string_array ( const rapidjson::Value a)

Definition at line 57 of file Mixtures.cpp.

bool match_CAS_entry ( std::vector< std::string >  CAS1,
std::vector< std::string >  CAS2,
std::string  FluidiCAS,
std::string  FluidjCAS 
)

Definition at line 66 of file Mixtures.cpp.

void normalize_vector ( std::vector< double > &  x)

Definition at line 298 of file Mixtures.cpp.

TEST_CASE ( "Mixture derivative checks"  ,
""   
)

Definition at line 2930 of file Mixtures.cpp.