MCPcopy Create free account
hub / github.com/CoolProp/CoolProp / Psi

Method Psi

wrappers/Modelica/src/FluidProp_IF.cpp:573–589  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

571}
572
573double TFluidProp::Psi(string InputSpec, double Input1, double Input2, string* ErrorMsg) {
574 double Output;
575
576 BSTR BSTR_InputSpec = _com_util::ConvertStringToBSTR(InputSpec.c_str());
577 BSTR BSTR_Error;
578
579 FluidProp_COM->Psi(BSTR_InputSpec, Input1, Input2, &Output, &BSTR_Error);
580
581 char* lpszErrorMsg = _com_util::ConvertBSTRToString(BSTR_Error);
582 *ErrorMsg = lpszErrorMsg;
583 delete[] lpszErrorMsg;
584
585 SysFreeString(BSTR_Error);
586 SysFreeString(BSTR_InputSpec);
587
588 return Output;
589}
590
591double TFluidProp::Zeta(string InputSpec, double Input1, double Input2, string* ErrorMsg) {
592 double Output;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected