| 737 | } |
| 738 | |
| 739 | EXPORT_CODE double CONVENTION AbstractState_second_two_phase_deriv(const long handle, const long Of1, const long Wrt1, const long Constant1, |
| 740 | const long Wrt2, const long Constant2, long* errcode, char* message_buffer, |
| 741 | const long buffer_length) { |
| 742 | *errcode = 0; |
| 743 | fpu_reset_guard guard; |
| 744 | try { |
| 745 | shared_ptr<CoolProp::AbstractState>& AS = handle_manager.get(handle); |
| 746 | return AS->second_two_phase_deriv(static_cast<CoolProp::parameters>(Of1), static_cast<CoolProp::parameters>(Wrt1), |
| 747 | static_cast<CoolProp::parameters>(Constant1), static_cast<CoolProp::parameters>(Wrt2), |
| 748 | static_cast<CoolProp::parameters>(Constant2)); |
| 749 | } catch (...) { |
| 750 | HandleException(errcode, message_buffer, buffer_length); |
| 751 | } |
| 752 | return _HUGE; |
| 753 | } |
| 754 | |
| 755 | EXPORT_CODE double CONVENTION AbstractState_first_two_phase_deriv(const long handle, const long Of, const long Wrt, const long Constant, |
| 756 | long* errcode, char* message_buffer, const long buffer_length) { |
nothing calls this directly
no test coverage detected