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

Method Fi

wrappers/Modelica/src/FluidProp_IF.cpp:537–553  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

535}
536
537double TFluidProp::Fi(string InputSpec, double Input1, double Input2, string* ErrorMsg) {
538 double Output;
539
540 BSTR BSTR_InputSpec = _com_util::ConvertStringToBSTR(InputSpec.c_str());
541 BSTR BSTR_Error;
542
543 FluidProp_COM->Fi(BSTR_InputSpec, Input1, Input2, &Output, &BSTR_Error);
544
545 char* lpszErrorMsg = _com_util::ConvertBSTRToString(BSTR_Error);
546 *ErrorMsg = lpszErrorMsg;
547 delete[] lpszErrorMsg;
548
549 SysFreeString(BSTR_Error);
550 SysFreeString(BSTR_InputSpec);
551
552 return Output;
553}
554
555double TFluidProp::Ksi(string InputSpec, double Input1, double Input2, string* ErrorMsg) {
556 double Output;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected