hydrobricks
|
Public Member Functions | |
FluxToBrick (Brick *brick) | |
bool | IsOk () override |
double | GetAmount () override |
void | UpdateFlux (double amount) override |
![]() | |
virtual void | Reset () |
void | LinkChangeRate (double *rate) |
double * | GetChangeRatePointer () |
double * | GetAmountPointer () |
virtual bool | IsForcing () |
virtual bool | IsInstantaneous () |
void | SetAsStatic () |
bool | IsStatic () |
bool | NeedsWeighting () |
void | NeedsWeighting (bool value) |
void | SetFractionUnitArea (double value) |
void | SetFractionLandCover (double value) |
void | UpdateFractionTotal () |
string | GetType () |
void | SetType (const string &type) |
Protected Attributes | |
Brick * | m_toBrick |
![]() | |
double | m_amount |
double * | m_changeRate |
bool | m_static |
bool | m_needsWeighting |
double | m_fractionUnitArea |
double | m_fractionLandCover |
double | m_fractionTotal |
Modifier * | m_modifier |
string | m_type |
|
overridevirtual |
Get the amount of water outgoing the flux.
Implements Flux.
Reimplemented in FluxToBrickInstantaneous.
|
overridevirtual |
Check that everything is correctly defined.
Implements Flux.
Reimplemented in FluxToBrickInstantaneous.
|
overridevirtual |
Set the water amount of the flux.
amount | the water amount of the flux. |
Reimplemented from Flux.
Reimplemented in FluxToBrickInstantaneous.