|
hydrobricks
|
Public Member Functions | |
| bool | CanHaveAreaFraction () override |
| double | GetAreaFraction () const |
| void | SetAreaFraction (double value) |
| double | GetParentAreaFraction () |
| bool | IsNull () override |
| virtual void | SetParent (LandCover *parent) |
Public Member Functions inherited from Brick | |
| virtual void | SetParameters (const BrickSettings &brickSettings) |
| virtual void | AttachFluxIn (Flux *flux) |
| void | AddProcess (Process *process) |
| virtual void | Reset () |
| virtual void | SaveAsInitialState () |
| virtual bool | IsOk () |
| bool | NeedsSolver () const |
| virtual bool | IsSnowpack () |
| virtual bool | IsGlacier () |
| virtual bool | IsLandCover () |
| virtual void | Finalize () |
| virtual void | SetInitialState (double value, ContentType type) |
| virtual double | GetContent (ContentType type) |
| virtual void | UpdateContent (double value, ContentType type) |
| virtual void | UpdateContentFromInputs () |
| virtual void | ApplyConstraints (double timeStep) |
| WaterContainer * | GetWaterContainer () |
| Process * | GetProcess (int index) |
| vector< Process * > & | GetProcesses () |
| string | GetName () const |
| void | SetName (const string &name) |
| HydroUnit * | GetHydroUnit () const |
| void | SetHydroUnit (HydroUnit *hydroUnit) |
| virtual vecDoublePt | GetDynamicContentChanges () |
| vecDoublePt | GetStateVariableChangesFromProcesses () |
| int | GetProcessesConnectionsNb () |
| double * | GetBaseValuePointer (const string &name) |
| virtual double * | GetValuePointer (const string &name) |
Protected Attributes | |
| LandCover * | _parent |
| double | _areaFraction |
Protected Attributes inherited from Brick | |
| string | _name |
| bool | _needsSolver |
| std::unique_ptr< WaterContainer > | _water |
| vector< Process * > | _processes |
| HydroUnit * | _hydroUnit |
Additional Inherited Members | |
Static Public Member Functions inherited from Brick | |
| static Brick * | Factory (const BrickSettings &brickSettings) |
| static Brick * | Factory (BrickType type) |
| static bool | HasParameter (const BrickSettings &brickSettings, const string &name) |
| static float * | GetParameterValuePointer (const BrickSettings &brickSettings, const string &name) |
|
inlinenodiscardoverridevirtual |
Check if the brick can have an area fraction.
Reimplemented from Brick.
|
inline |
Gets the area fraction of this component.
| double SurfaceComponent::GetParentAreaFraction | ( | ) |
Gets the area fraction of the parent land cover of this component.
|
nodiscardoverridevirtual |
Check if the brick is null (e.g., if the area fraction is null).
Reimplemented from Brick.
| void SurfaceComponent::SetAreaFraction | ( | double | value | ) |
Sets the area fraction of this component.
| value | The area fraction of this component. |
|
inlinevirtual |
Sets the parent land cover of this component.
| parent | The parent land cover of this component. |