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

Function AbstractState_set_fluid_parameter_double

src/CoolPropLib.cpp:889–899  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

887}
888
889EXPORT_CODE void CONVENTION AbstractState_set_fluid_parameter_double(const long handle, const long i, const char* parameter, const double value,
890 long* errcode, char* message_buffer, const long buffer_length) {
891 *errcode = 0;
892 fpu_reset_guard guard;
893 try {
894 shared_ptr<CoolProp::AbstractState>& AS = handle_manager.get(handle);
895 AS->set_fluid_parameter_double(static_cast<std::size_t>(i), parameter, value);
896 } catch (...) {
897 HandleException(errcode, message_buffer, buffer_length);
898 }
899}
900
901EXPORT_CODE void CONVENTION AbstractState_build_phase_envelope(const long handle, const char* level, long* errcode, char* message_buffer,
902 const long buffer_length) {

Callers

nothing calls this directly

Calls 3

HandleExceptionFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected