Do not evaluate flash call if inputs are all in outputs; see #409

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
Ian Bell
2015-02-02 20:20:43 -05:00
parent 6d3181b7f9
commit b2018a4abc
3 changed files with 70 additions and 5 deletions

View File

@@ -355,6 +355,9 @@ std::string get_input_pair_short_desc(int pair);
/// Return the long description of an input pair key ("Molar density in mol/m^3, Temperature in K" for instance)
std::string get_input_pair_long_desc(int pair);
/// Split an input pair into parameters for the two parts that form the pair
void split_input_pair(input_pairs pair, parameters &p1, parameters &p2);
extern std::string get_mixture_binary_pair_data(const std::string &CAS1, const std::string &CAS2, const std::string &param);
} /* namespace CoolProp */