1 #ifndef COOLPROPPLOT_H_
2 #define COOLPROPPLOT_H_
25 inline std::shared_ptr<CoolProp::AbstractState>
get_critical_point(
const std::shared_ptr<CoolProp::AbstractState>& state);
37 std::vector<double>
x;
38 std::vector<double>
y;
44 size_t size()
const {
return x.size(); };
47 std::shared_ptr<CoolProp::AbstractState> state_;
48 std::shared_ptr<CoolProp::AbstractState> critical_state_;
56 void calc_sat_range(
int count);
57 void update_pair(
int& ipos,
int& xpos,
int& ypos,
int& pair);
58 void calc_range(std::vector<double>& xvals, std::vector<double>& yvals);
183 bool swap_axis_inputs_for_update_;
184 std::shared_ptr<CoolProp::AbstractState> state_;
185 std::shared_ptr<CoolProp::AbstractState> critical_state_;
189 Range2D get_Tp_limits()
const;