Holdup
-
class CHoldup : public CBaseStream
Class describes the holdup material.
Public Functions
-
void CopyFromHoldup(double _time, const CHoldup *_source)
Copies all data at the given time point from another holdup.
All data after the time point are removed from this holdup. Uses function CBaseStream::Copy(double, const CBaseStream&).
- Parameters
_time – Time point to copy.
_source – Source holdup.
-
void CopyFromHoldup(double _timeBeg, double _timeEnd, const CHoldup *_source)
Copies all data at the given time interval from another holdup.
All data after the end time point are removed from this holdup. Uses function CBaseStream::Copy(double, double, const CBaseStream&).
- Parameters
_timeBeg – Begin of the time interval to copy.
_timeEnd – End of the time interval to copy.
_source – Source holdup.
-
void CopyFromHoldup(double _timeDst, const CHoldup *_source, double _timeSrc)
Copies all data from the given time point of another holdup to another time point of this holdup.
All data after the time point are removed from this holdup. Uses function CBaseStream::Copy(double, const CBaseStream&, double).
- Parameters
_timeDst – Time point of the destination holdup to copy.
_source – Source holdup.
_timeSrc – Time point of the source holdup to copy.
-
void AddStream(double _timeBeg, double _timeEnd, const CStream *_source)
Mixes the content of the specified material stream at the given time interval with the holdup.
Before mixing, all data after the end time point are removed. Takes into account only two given time points, regardless of whether they were defined in the material stream. All possible time points within the interval are discarded.
- Parameters
_timeBeg – Begin of the time interval.
_timeEnd – End of the time interval.
_source – Source material stream.
-
void AddHoldup(double _time, const CHoldup *_source)
Mixes the specified holdup with the current holdup at the given time point.
Uses function CBaseStream::Add(double, const CBaseStream&).
- Parameters
_time – Target time point.
_source – Source holdup.
-
void AddHoldup(double _timeBeg, double _timeEnd, const CHoldup *_source)
Mixes the specified holdup with the current holdup for each time point from the given time interval.
Uses function CBaseStream::Add(double, double, const CBaseStream&).
- Parameters
_timeBeg – Begin of the time interval.
_timeEnd – End of the time interval.
_source – Source holdup.
-
void CopyFromHoldup(double _time, const CHoldup *_source)