2024-02-06 17:57:59 +11:00
|
|
|
|
|
|
|
#include "sink.hpp"
|
|
|
|
|
|
|
|
using namespace sim::coolant;
|
|
|
|
|
|
|
|
sink::sink(fluid_t type, double heat, double pressure, double steam_density) :
|
|
|
|
heat(heat),
|
|
|
|
pressure(pressure),
|
|
|
|
steam_density(steam_density),
|
2024-02-07 16:04:22 +11:00
|
|
|
fluid_holder(type, 2e9, 0)
|
2024-02-06 17:57:59 +11:00
|
|
|
{
|
2024-02-07 16:04:22 +11:00
|
|
|
level = 1e9;
|
2024-02-06 17:57:59 +11:00
|
|
|
}
|
|
|
|
|