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

Function AbstractState_set_binary_interaction_double

src/CoolPropLib.cpp:864–875  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

862}
863
864EXPORT_CODE void CONVENTION AbstractState_set_binary_interaction_double(const long handle, const long i, const long j, const char* parameter,
865 const double value, long* errcode, char* message_buffer,
866 const long buffer_length) {
867 *errcode = 0;
868 fpu_reset_guard guard;
869 try {
870 shared_ptr<CoolProp::AbstractState>& AS = handle_manager.get(handle);
871 AS->set_binary_interaction_double(static_cast<std::size_t>(i), static_cast<std::size_t>(j), parameter, value);
872 } catch (...) {
873 HandleException(errcode, message_buffer, buffer_length);
874 }
875}
876
877EXPORT_CODE void CONVENTION AbstractState_set_cubic_alpha_C(const long handle, const long i, const char* parameter, const double c1, const double c2,
878 const double c3, long* errcode, char* message_buffer, const long buffer_length) {

Callers

nothing calls this directly

Calls 3

HandleExceptionFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected