13 std::shared_ptr<PrvWithoutDesuperheating> lowPressurePrv;
20 const std::shared_ptr<PrvWithoutDesuperheating>& prvWithoutPtr = domain.lowPressurePrv;
22 stream <<
"LowPressureHeaderCalculationsDomain[";
24 if (prvWithoutPtr->isWithDesuperheating()) {
25 std::shared_ptr<PrvWithDesuperheating> prvWithPtr =
26 std::static_pointer_cast<PrvWithDesuperheating>(prvWithoutPtr);
27 stream <<
"lowPressurePrv=" << prvWithPtr;
30 stream <<
"lowPressurePrv=" << prvWithoutPtr;
33 stream <<
", lowPressureHeaderOutput=" << domain.lowPressureHeaderOutput
34 <<
", lowPressureHeaderHeatLoss=" << domain.lowPressureHeaderHeatLoss
35 <<
", lowPressureCondensate=" << domain.lowPressureCondensate
36 <<
", lowPressureFlashedSteamIntoHeaderCalculatorDomain="
37 << domain.lowPressureFlashedSteamIntoHeaderCalculatorDomain <<
"]";
42 friend std::ostream& operator<<(std::ostream& stream,
43 const std::shared_ptr<LowPressureHeaderCalculationsDomain>& domain) {
44 if (domain ==
nullptr) {
45 stream <<
"LowPressureHeaderCalculationsDomain[nullptr]";