hydrobricks
Loading...
Searching...
No Matches
GenericLandCover Class Reference
Inheritance diagram for GenericLandCover:
LandCover Brick

Public Member Functions

void SetParameters (const BrickSettings &brickSettings) override
 
void ApplyConstraints (double timeStep) override
 
void Finalize () override
 
- Public Member Functions inherited from LandCover
bool CanHaveAreaFraction () const override
 
double GetAreaFraction () const
 
double * GetAreaFractionPointer ()
 
void SetAreaFraction (double value)
 
bool IsLandCover () const override
 
bool IsNull () const override
 
virtual void SurfaceComponentAdded (SurfaceComponent *brick)
 
- Public Member Functions inherited from Brick
virtual void AttachFluxIn (Flux *flux)
 
void AddProcess (std::unique_ptr< Process > process)
 
virtual void Reset ()
 
virtual void SaveAsInitialState ()
 
virtual bool IsValid (bool checkProcesses=true) const
 
virtual void Validate () const
 
bool NeedsSolver () const
 
BrickCategory GetCategory () const
 
bool HasProcesses () const
 
bool HasHydroUnit () const
 
virtual void SetInitialState (double value, ContentType type)
 
virtual double GetContent (ContentType type) const
 
virtual void UpdateContent (double value, ContentType type)
 
virtual void UpdateContentFromInputs ()
 
WaterContainerGetWaterContainer () const
 
size_t GetProcessCount () const
 
ProcessGetProcess (size_t index) const
 
const string & GetName () const
 
void SetName (const string &name)
 
HydroUnitGetHydroUnit () const
 
void SetHydroUnit (HydroUnit *hydroUnit)
 
virtual vecDoublePt GetDynamicContentChanges ()
 
vecDoublePt GetStateVariableChangesFromProcesses ()
 
int GetProcessConnectionCount () const
 
double * GetBaseValuePointer (const string &name)
 
virtual double * GetValuePointer (const string &name)
 

Additional Inherited Members

- Static Public Member Functions inherited from Brick
static BrickFactory (const BrickSettings &brickSettings)
 
static BrickFactory (BrickType type)
 
static bool HasParameter (const BrickSettings &brickSettings, const string &name)
 
static const float * GetParameterValuePointer (const BrickSettings &brickSettings, const string &name)
 
- Protected Attributes inherited from LandCover
double _areaFraction
 
- Protected Attributes inherited from Brick
string _name
 
bool _needsSolver
 
BrickCategory _category
 
std::unique_ptr< WaterContainer_water
 
std::vector< std::unique_ptr< Process > > _processes
 
HydroUnit_hydroUnit
 

Member Function Documentation

◆ ApplyConstraints()

void GenericLandCover::ApplyConstraints ( double timeStep)
overridevirtual

Apply the constraints to the water container.

Parameters
timeSteptime step for the simulation.

Reimplemented from Brick.

◆ Finalize()

void GenericLandCover::Finalize ( )
overridevirtual

Finalize the water transfer.

Reimplemented from Brick.

◆ SetParameters()

void GenericLandCover::SetParameters ( const BrickSettings & brickSettings)
overridevirtual

Assign the parameters to the brick element.

Parameters
brickSettingssettings of the brick containing the parameters.

Reimplemented from Brick.


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