|
hydrobricks
|
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 | IsValid (bool checkProcesses=true) const |
| virtual void | Validate () const |
| 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 noexcept |
| double | GetMaximumCapacity () const |
| void | SetMaximumCapacity (const float *value) |
| void | SetAsInfiniteStorage () |
| double | GetContentWithChanges () const |
| double | GetContentWithDynamicChanges () const |
| double | GetContentWithoutChanges () const |
| double * | GetContentPointer () |
| void | SetInitialState (double value) |
| void | UpdateContent (double value) |
| double | GetTargetFillingRatio () const |
| bool | IsNotEmpty () const |
| bool | HasOverflow () const |
| void | LinkOverflow (Process *overflow) |
| void | AttachFluxIn (Flux *flux) |
| void | AttachFluxInOwned (std::unique_ptr< Flux > flux) |
| virtual double | SumIncomingFluxes () const |
| Brick * | GetParentBrick () const |
| bool | HasIncomingFluxes () const |
| bool | IsInfiniteStorage () const |
| bool | IsEmpty () const |
| bool | HasParentBrick () const |
| bool | HasInitialState () const |
|
overridevirtual |
Apply the constraints to the water container.
| timeStep | time step [s] |
Reimplemented from WaterContainer.
|
overridevirtual |
Check if the water content is accessible.
Reimplemented from WaterContainer.
|
inline |
Set the option to not melt when snow cover is present.
| value | Pointer to a float value. If the value is greater than 0, melting is disabled when snow cover is present. |
|
inline |
Set the related snowpack.
| snowpack | Pointer to a Snowpack object. This is used to check if there is snow cover present. |