hydrobricks
Loading...
Searching...
No Matches
IceContainer Class Reference
Inheritance diagram for IceContainer:
WaterContainer

Public Member Functions

 IceContainer (Brick *brick)
 
void ApplyConstraints (double timeStep) override
 
void SetNoMeltWhenSnowCover (const float *value)
 
void SetRelatedSnowpack (Snowpack *snowpack)
 
bool ContentAccessible () const override
 
- Public Member Functions inherited from WaterContainer
 WaterContainer (Brick *brick)
 
virtual bool IsOk ()
 
void SubtractAmountFromDynamicContentChange (double change)
 
void AddAmountToDynamicContentChange (double change)
 
void AddAmountToStaticContentChange (double change)
 
void SetOutgoingRatesToZero ()
 
void Finalize ()
 
void Reset ()
 
void SaveAsInitialState ()
 
vecDoublePt GetDynamicContentChanges ()
 
bool HasMaximumCapacity () const
 
double GetMaximumCapacity ()
 
void SetMaximumCapacity (float *value)
 
void SetAsInfiniteStorage ()
 
double GetContentWithChanges () const
 
double GetContentWithDynamicChanges () const
 
double GetContentWithoutChanges () const
 
double * GetContentPointer ()
 
void UpdateContent (double value)
 
double GetTargetFillingRatio ()
 
bool IsNotEmpty ()
 
bool HasOverflow ()
 
void LinkOverflow (Process *overflow)
 
void AttachFluxIn (Flux *flux)
 
virtual double SumIncomingFluxes ()
 
BrickGetParentBrick ()
 

Member Function Documentation

◆ ApplyConstraints()

void IceContainer::ApplyConstraints ( double  timeStep)
overridevirtual

Reimplemented from WaterContainer.

◆ ContentAccessible()

bool IceContainer::ContentAccessible ( ) const
overridevirtual

Reimplemented from WaterContainer.


The documentation for this class was generated from the following files: