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

19 lines
241 B
C++
Raw Normal View History

2024-01-16 20:30:22 +11:00
#pragma once
namespace sim::coolant
{
struct vapor_pressure
{
const double A, B, C;
2024-01-16 20:30:22 +11:00
constexpr vapor_pressure(double A, double B, double C) : A(A), B(B), C(C) { }
2024-01-16 20:30:22 +11:00
double calc_p(double t) const;
double calc_t(double p) const;
};
}