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

Public Member Functions

void Reset () override
 
void SaveAsInitialState () override
 
void SetParameters (const BrickSettings &brickSettings) override
 
void AttachFluxIn (Flux *flux) override
 
bool IsOk () override
 
WaterContainerGetIceContainer ()
 
bool IsGlacier () override
 
void Finalize () override
 
void UpdateContentFromInputs () override
 
void ApplyConstraints (double timeStep) override
 
vecDoublePt GetDynamicContentChanges () override
 
double * GetValuePointer (const string &name) override
 
void SurfaceComponentAdded (SurfaceComponent *brick) override
 
- Public Member Functions inherited from LandCover
bool CanHaveAreaFraction () override
 
double GetAreaFraction ()
 
double * GetAreaFractionPointer ()
 
void SetAreaFraction (double value)
 
bool IsLandCover () override
 
bool IsNull () override
 
- Public Member Functions inherited from Brick
void AddProcess (Process *process)
 
bool NeedsSolver () const
 
virtual bool IsSnowpack ()
 
WaterContainerGetWaterContainer ()
 
ProcessGetProcess (int index)
 
vector< Process * > & GetProcesses ()
 
string GetName ()
 
void SetName (const string &name)
 
vecDoublePt GetStateVariableChangesFromProcesses ()
 
int GetProcessesConnectionsNb ()
 
double * GetBaseValuePointer (const string &name)
 

Protected Attributes

IceContainerm_ice
 
- Protected Attributes inherited from LandCover
double m_areaFraction
 
- Protected Attributes inherited from Brick
string m_name
 
bool m_needsSolver
 
WaterContainerm_container
 
vector< Process * > m_processes
 

Additional Inherited Members

- Static Public Member Functions inherited from Brick
static BrickFactory (const BrickSettings &brickSettings)
 
static bool HasParameter (const BrickSettings &brickSettings, const string &name)
 
static float * GetParameterValuePointer (const BrickSettings &brickSettings, const string &name)
 

Member Function Documentation

◆ ApplyConstraints()

void Glacier::ApplyConstraints ( double  timeStep)
overridevirtual

Reimplemented from Brick.

◆ AttachFluxIn()

void Glacier::AttachFluxIn ( Flux flux)
overridevirtual

Attach incoming flux.

Parameters
fluxincoming flux

Reimplemented from Brick.

◆ Finalize()

void Glacier::Finalize ( )
overridevirtual

Reimplemented from Brick.

◆ GetDynamicContentChanges()

vecDoublePt Glacier::GetDynamicContentChanges ( )
overridevirtual

Get pointers to the state variables.

Returns
vector of pointers to the state variables.

Reimplemented from Brick.

◆ GetValuePointer()

double * Glacier::GetValuePointer ( const string &  name)
overridevirtual

Reimplemented from Brick.

◆ IsGlacier()

bool Glacier::IsGlacier ( )
inlineoverridevirtual

Reimplemented from Brick.

◆ IsOk()

bool Glacier::IsOk ( )
overridevirtual

Check that everything is correctly defined.

Returns
true is everything is correctly defined.

Reimplemented from Brick.

◆ Reset()

void Glacier::Reset ( )
overridevirtual

Reimplemented from Brick.

◆ SaveAsInitialState()

void Glacier::SaveAsInitialState ( )
overridevirtual

Reimplemented from Brick.

◆ SetParameters()

void Glacier::SetParameters ( const BrickSettings brickSettings)
overridevirtual

Assign the parameters to the brick element.

Parameters
brickSettingssettings of the brick containing the parameters.

Reimplemented from Brick.

◆ SurfaceComponentAdded()

void Glacier::SurfaceComponentAdded ( SurfaceComponent brick)
overridevirtual

Reimplemented from LandCover.

◆ UpdateContentFromInputs()

void Glacier::UpdateContentFromInputs ( )
overridevirtual

Reimplemented from Brick.


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