◆ ApplyChange()
void Process::ApplyChange |
( |
int | connectionIndex, |
|
|
double | rate, |
|
|
double | timeStepInDays ) |
Apply the change rates to the process.
- Parameters
-
connectionIndex | index of the connection. |
rate | change rates. |
timeStepInDays | time step in days. |
◆ AttachFluxOut()
void Process::AttachFluxOut |
( |
Flux * | flux | ) |
|
|
inline |
Attach outgoing flux.
- Parameters
-
◆ AttachForcing()
virtual void Process::AttachForcing |
( |
Forcing * | | ) |
|
|
inlinevirtual |
◆ Factory()
Factory method to create a process.
- Parameters
-
processSettings | settings of the process. |
brick | the related brick. |
- Returns
- the created process.
◆ Finalize()
virtual void Process::Finalize |
( |
| ) |
|
|
inlinevirtual |
◆ GetChangeRates()
vecDouble Process::GetChangeRates |
( |
| ) |
|
|
virtual |
Get the change rates of the process.
- Returns
- vector of change rates.
◆ GetConnectionsNb()
virtual int Process::GetConnectionsNb |
( |
| ) |
|
|
pure virtual |
◆ GetName()
string Process::GetName |
( |
| ) |
|
|
inline |
Get the name of the process.
- Returns
- name of the process.
◆ GetOutputFluxes()
vector< Flux * > Process::GetOutputFluxes |
( |
| ) |
|
|
inline |
Get the outgoing fluxes.
- Returns
- vector of pointers to the outgoing fluxes.
◆ GetOutputFluxesNb()
int Process::GetOutputFluxesNb |
( |
| ) |
|
|
inline |
Get the number of outgoing fluxes.
- Returns
- number of outgoing fluxes.
◆ GetParameterValuePointer()
float * Process::GetParameterValuePointer |
( |
const ProcessSettings & | processSettings, |
|
|
const string & | name ) |
|
static |
Get the value pointer of a parameter.
- Parameters
-
processSettings | settings of the process containing the parameters. |
name | name of the parameter to get. |
- Returns
- pointer to the value of the parameter.
◆ GetRates()
virtual vecDouble Process::GetRates |
( |
| ) |
|
|
protectedpure virtual |
Get the rates of the process.
- Returns
- vector of rates.
Implemented in ProcessETSocont, ProcessInfiltrationSocont, ProcessMeltDegreeDay, ProcessMeltDegreeDayAspect, ProcessMeltTemperatureIndex, ProcessOutflowDirect, ProcessOutflowLinear, ProcessOutflowOverflow, ProcessOutflowPercolation, ProcessOutflowRestDirect, ProcessRunoffSocont, and ProcessTransformSnowToIce.
◆ GetStateVariables()
virtual vecDoublePt Process::GetStateVariables |
( |
| ) |
|
|
inlinevirtual |
Get pointers to the state variables.
- Returns
- vector of pointers to the state variables.
◆ GetSumChangeRatesOtherProcesses()
double Process::GetSumChangeRatesOtherProcesses |
( |
| ) |
|
|
protected |
Get the sum of change rates from other processes.
- Returns
- sum of change rates from other processes.
◆ GetValuePointer()
double * Process::GetValuePointer |
( |
const string & | name | ) |
|
|
virtual |
◆ GetWaterContainer()
Get the water container associated with the process.
- Returns
- pointer to the water container.
◆ HasParameter()
bool Process::HasParameter |
( |
const ProcessSettings & | processSettings, |
|
|
const string & | name ) |
|
static |
Check if the process has a parameter with the provided name.
- Parameters
-
processSettings | settings of the process containing the parameters. |
name | name of the parameter to check. |
- Returns
- true if the process has a parameter with the provided name.
◆ IsOk()
virtual bool Process::IsOk |
( |
| ) |
|
|
pure virtual |
◆ NeedsTargetBrickLinking()
virtual bool Process::NeedsTargetBrickLinking |
( |
| ) |
|
|
inlinevirtual |
Check if the process needs to link the target brick.
- Returns
- true if the process needs to link the target brick.
Reimplemented in ProcessInfiltration.
◆ RegisterParametersAndForcing()
bool Process::RegisterParametersAndForcing |
( |
SettingsModel * | modelSettings, |
|
|
const string & | processType ) |
|
static |
Register the parameters and the needed forcing for the process.
- Parameters
-
modelSettings | settings of the model. |
processType | type of process. |
- Returns
- true if everything is correctly defined.
◆ Reset()
Reset all the fluxes connected to the process.
◆ SetHydroUnitProperties()
void Process::SetHydroUnitProperties |
( |
HydroUnit * | unit, |
|
|
Brick * | brick ) |
|
virtual |
◆ SetName()
void Process::SetName |
( |
const string & | name | ) |
|
|
inline |
Set the name of the process.
- Parameters
-
◆ SetParameters()
◆ SetTargetBrick()
virtual void Process::SetTargetBrick |
( |
Brick * | | ) |
|
|
inlinevirtual |
◆ StoreInOutgoingFlux()
void Process::StoreInOutgoingFlux |
( |
double * | rate, |
|
|
int | index ) |
|
virtual |
Store the water corresponding to the change rates in the outgoing fluxes.
- Parameters
-
rate | change rates. |
index | index of the flux. |
Reimplemented in ProcessOutflowOverflow.
◆ ToAtmosphere()
virtual bool Process::ToAtmosphere |
( |
| ) |
|
|
inlinevirtual |
Check if the process sends water to the atmosphere.
- Returns
- true if the process sends water to the atmosphere.
Reimplemented in ProcessET.
The documentation for this class was generated from the following files:
- /github/workspace/core/src/processes/Process.h
- /github/workspace/core/src/processes/Process.cpp