hydrobricks
Loading...
Searching...
No Matches
ProcessMeltDegreeDay Class Reference
Inheritance diagram for ProcessMeltDegreeDay:
ProcessMelt Process

Public Member Functions

 ProcessMeltDegreeDay (WaterContainer *container)
 
bool IsOk () override
 
void SetParameters (const ProcessSettings &processSettings) override
 
void AttachForcing (Forcing *forcing) override
 
- Public Member Functions inherited from ProcessMelt
 ProcessMelt (WaterContainer *container)
 
int GetConnectionsNb () override
 
double * GetValuePointer (const string &name) override
 
- Public Member Functions inherited from Process
 Process (WaterContainer *container)
 
void Reset ()
 
virtual void SetHydroUnitProperties (HydroUnit *unit, Brick *brick)
 
void AttachFluxOut (Flux *flux)
 
vector< Flux * > GetOutputFluxes ()
 
int GetOutputFluxesNb ()
 
virtual bool ToAtmosphere ()
 
virtual bool NeedsTargetBrickLinking ()
 
virtual vecDouble GetChangeRates ()
 
virtual void StoreInOutgoingFlux (double *rate, int index)
 
void ApplyChange (int connectionIndex, double rate, double timeStepInDays)
 
virtual void Finalize ()
 
virtual vecDoublePt GetStateVariables ()
 
string GetName ()
 
void SetName (const string &name)
 
WaterContainerGetWaterContainer ()
 
virtual void SetTargetBrick (Brick *)
 

Static Public Member Functions

static void RegisterProcessParametersAndForcing (SettingsModel *modelSettings)
 
- Static Public Member Functions inherited from Process
static ProcessFactory (const ProcessSettings &processSettings, Brick *brick)
 
static bool RegisterParametersAndForcing (SettingsModel *modelSettings, const string &processType)
 
static bool HasParameter (const ProcessSettings &processSettings, const string &name)
 
static float * GetParameterValuePointer (const ProcessSettings &processSettings, const string &name)
 

Protected Member Functions

vecDouble GetRates () override
 
- Protected Member Functions inherited from Process
double GetSumChangeRatesOtherProcesses ()
 

Protected Attributes

Forcingm_temperature
 
float * m_degreeDayFactor
 
float * m_meltingTemperature
 
- Protected Attributes inherited from Process
string m_name
 
WaterContainerm_container
 
vector< Flux * > m_outputs
 

Member Function Documentation

◆ AttachForcing()

void ProcessMeltDegreeDay::AttachForcing ( Forcing forcing)
overridevirtual

Reimplemented from Process.

◆ GetRates()

vecDouble ProcessMeltDegreeDay::GetRates ( )
overrideprotectedvirtual

Implements Process.

◆ IsOk()

bool ProcessMeltDegreeDay::IsOk ( )
overridevirtual

Check that everything is correctly defined.

Returns
true is everything is correctly defined.

Reimplemented from ProcessMelt.

◆ SetParameters()

void ProcessMeltDegreeDay::SetParameters ( const ProcessSettings processSettings)
overridevirtual

Assign the parameters to the process.

Parameters
processSettingssettings of the process containing the parameters.

Reimplemented from Process.


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