mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
Merge branch 'master' into cpp_review
This commit is contained in:
@@ -891,6 +891,15 @@ double Props1SI(std::string FluidName, std::string Output) {
|
||||
return val1;
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<std::vector<double>> Props1SImulti(const std::vector<std::string>& Outputs, const std::string& backend, const std::vector<std::string>& fluids, const std::vector<double>& fractions) {
|
||||
std::vector<double> zero_vector(1, 0.);
|
||||
std::vector<std::vector<double>> val1 = PropsSImulti(Outputs, "", zero_vector, "", zero_vector, backend, fluids, fractions);
|
||||
// error handling is done in PropsSImulti, val1 will be an empty vector if an error occured
|
||||
return val1;
|
||||
}
|
||||
|
||||
|
||||
#if defined(ENABLE_CATCH)
|
||||
TEST_CASE("Check inputs to Props1SI", "[Props1SI],[PropsSI]") {
|
||||
SECTION("Good fluid, good parameter") {
|
||||
|
||||
Reference in New Issue
Block a user