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 | Functions
FluidClass.cpp File Reference
#include "rapidjson_CoolProp.h"
#include <stdlib.h>
#include <string>
#include <vector>
#include <map>
#include <algorithm>
#include <list>
#include <exception>
#include <iostream>
#include <fstream>
#include <stdio.h>
#include "math.h"
#include <cmath>
#include "MatrixMath.h"
#include "Helmholtz.h"
#include "FluidClass.h"
#include "CoolProp.h"
#include "REFPROP.h"
#include "Solvers.h"
#include "CPState.h"
#include "Brine.h"
#include "CriticalSplineConstants.h"

Go to the source code of this file.

Classes

class  DensityTpResids
 A stub class to do the density(T,p) calculations for near the critical point using Brent solver. More...
 
class  rhosatPure_BrentrhoVResidClass
 
class  HSSatFuncClass
 
class  SaturationFunctionOfPressureResids
 
class  SaturationPressureGivenResids
 
class  Saturation_p_IterateSaturationT_Resids
 
class  ConformalTempResids
 

Macros

#define _CRT_SECURE_NO_WARNINGS
 

Functions

double JSON_lookup_double (rapidjson::Document &root, std::string FluidName, std::string key)
 
std::string JSON_lookup_string (rapidjson::Document &root, std::string FluidName, std::string key)
 
std::string JSON_lookup_CAS (rapidjson::Document &root, std::string FluidName)
 
std::vector< double > JSON_lookup_dblvector (rapidjson::Document &root, std::string FluidName, std::string key)
 
std::vector< int > JSON_lookup_intvector (rapidjson::Document &root, std::string FluidName, std::string key)
 
bool isBetween (double x1, double x2, double x)
 
void rebuild_CriticalSplineConstants_T ()
 Rebuild the constants. More...
 

Macro Definition Documentation

#define _CRT_SECURE_NO_WARNINGS

Definition at line 1 of file FluidClass.cpp.

Function Documentation

bool isBetween ( double  x1,
double  x2,
double  x 
)

Definition at line 1344 of file FluidClass.cpp.

std::string JSON_lookup_CAS ( rapidjson::Document root,
std::string  FluidName 
)

Definition at line 72 of file FluidClass.cpp.

std::vector<double> JSON_lookup_dblvector ( rapidjson::Document root,
std::string  FluidName,
std::string  key 
)

Definition at line 82 of file FluidClass.cpp.

double JSON_lookup_double ( rapidjson::Document root,
std::string  FluidName,
std::string  key 
)

Definition at line 49 of file FluidClass.cpp.

std::vector<int> JSON_lookup_intvector ( rapidjson::Document root,
std::string  FluidName,
std::string  key 
)

Definition at line 101 of file FluidClass.cpp.

std::string JSON_lookup_string ( rapidjson::Document root,
std::string  FluidName,
std::string  key 
)

Definition at line 62 of file FluidClass.cpp.

void rebuild_CriticalSplineConstants_T ( )

Rebuild the constants.

Definition at line 3945 of file FluidClass.cpp.