fast-nuclear-sim/src/coolant/vapor_pressure.hpp

19 lines
241 B
C++

#pragma once
namespace sim::coolant
{
struct vapor_pressure
{
const double A, B, C;
constexpr vapor_pressure(double A, double B, double C) : A(A), B(B), C(C) { }
double calc_p(double t) const;
double calc_t(double p) const;
};
}