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

Method IntEnergy

wrappers/Modelica/src/FluidProp_IF.cpp:335–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333}
334
335double TFluidProp::IntEnergy(string InputSpec, double Input1, double Input2, string* ErrorMsg) {
336 double Output;
337
338 BSTR BSTR_InputSpec = _com_util::ConvertStringToBSTR(InputSpec.c_str());
339 BSTR BSTR_Error;
340
341 FluidProp_COM->IntEnergy(BSTR_InputSpec, Input1, Input2, &Output, &BSTR_Error);
342
343 char* lpszErrorMsg = _com_util::ConvertBSTRToString(BSTR_Error);
344 *ErrorMsg = lpszErrorMsg;
345 delete[] lpszErrorMsg;
346
347 SysFreeString(BSTR_Error);
348 SysFreeString(BSTR_InputSpec);
349
350 return Output;
351}
352
353double TFluidProp::VaporQual(string InputSpec, double Input1, double Input2, string* ErrorMsg) {
354 double Output;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected