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

Method Entropy

wrappers/Modelica/src/FluidProp_IF.cpp:317–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

315}
316
317double TFluidProp::Entropy(string InputSpec, double Input1, double Input2, string* ErrorMsg) {
318 double Output;
319
320 BSTR BSTR_InputSpec = _com_util::ConvertStringToBSTR(InputSpec.c_str());
321 BSTR BSTR_Error;
322
323 FluidProp_COM->Entropy(BSTR_InputSpec, Input1, Input2, &Output, &BSTR_Error);
324
325 char* lpszErrorMsg = _com_util::ConvertBSTRToString(BSTR_Error);
326 *ErrorMsg = lpszErrorMsg;
327 delete[] lpszErrorMsg;
328
329 SysFreeString(BSTR_Error);
330 SysFreeString(BSTR_InputSpec);
331
332 return Output;
333}
334
335double TFluidProp::IntEnergy(string InputSpec, double Input1, double Input2, string* ErrorMsg) {
336 double Output;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected