hydrobricks
Loading...
Searching...
No Matches
FluxToBrickInstantaneous Class Reference
Inheritance diagram for FluxToBrickInstantaneous:
FluxToBrick Flux

Public Member Functions

 FluxToBrickInstantaneous (Brick *brick)
 
bool IsOk () override
 
bool IsInstantaneous () override
 
double GetAmount () override
 
double GetRealAmount ()
 
void UpdateFlux (double amount) override
 
- Public Member Functions inherited from FluxToBrick
 FluxToBrick (Brick *brick)
 
- Public Member Functions inherited from Flux
virtual void Reset ()
 
void LinkChangeRate (double *rate)
 
double * GetChangeRatePointer ()
 
double * GetAmountPointer ()
 
virtual bool IsForcing ()
 
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)
 

Additional Inherited Members

- Protected Attributes inherited from FluxToBrick
Brickm_toBrick
 
- Protected Attributes inherited from Flux
double m_amount
 
double * m_changeRate
 
bool m_static
 
bool m_needsWeighting
 
double m_fractionUnitArea
 
double m_fractionLandCover
 
double m_fractionTotal
 
Modifierm_modifier
 
string m_type
 

Member Function Documentation

◆ GetAmount()

double FluxToBrickInstantaneous::GetAmount ( )
overridevirtual

Get the amount of water outgoing the flux.

Returns
the amount of water outgoing the flux

Reimplemented from FluxToBrick.

◆ IsInstantaneous()

bool FluxToBrickInstantaneous::IsInstantaneous ( )
inlineoverridevirtual

Reimplemented from Flux.

◆ IsOk()

bool FluxToBrickInstantaneous::IsOk ( )
overridevirtual

Check that everything is correctly defined.

Returns
true is everything is correctly defined.

Reimplemented from FluxToBrick.

◆ UpdateFlux()

void FluxToBrickInstantaneous::UpdateFlux ( double  amount)
overridevirtual

Set the water amount of the flux.

Parameters
amountthe water amount of the flux.

Reimplemented from FluxToBrick.


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