|
| Process (WaterContainer *container) |
|
void | Reset () |
|
virtual bool | IsOk ()=0 |
|
virtual void | SetHydroUnitProperties (HydroUnit *unit, Brick *brick) |
|
virtual void | SetParameters (const ProcessSettings &processSettings) |
|
virtual void | AttachForcing (Forcing *) |
|
void | AttachFluxOut (Flux *flux) |
|
vector< Flux * > | GetOutputFluxes () |
|
int | GetOutputFluxesNb () |
|
virtual bool | ToAtmosphere () |
|
virtual bool | NeedsTargetBrickLinking () |
|
virtual int | GetConnectionsNb ()=0 |
|
virtual vecDouble | GetChangeRates () |
|
virtual void | StoreInOutgoingFlux (double *rate, int index) |
|
void | ApplyChange (int connectionIndex, double rate, double timeStepInDays) |
|
virtual void | Finalize () |
|
virtual vecDoublePt | GetStateVariables () |
|
virtual double * | GetValuePointer (const string &name) |
|
string | GetName () |
|
void | SetName (const string &name) |
|
WaterContainer * | GetWaterContainer () |
|
virtual void | SetTargetBrick (Brick *) |
|
|
double | GetSumChangeRatesOtherProcesses () |
|
virtual vecDouble | GetRates ()=0 |
|
◆ AttachFluxOut()
void Process::AttachFluxOut |
( |
Flux * | flux | ) |
|
|
inline |
Attach outgoing flux.
- Parameters
-
◆ Factory()
Factory method to create a process.
- Parameters
-
processSettings | settings of the process. |
brick | the related brick. |
- Returns
- the created process.
◆ GetStateVariables()
virtual vecDoublePt Process::GetStateVariables |
( |
| ) |
|
|
inlinevirtual |
Get pointers to the state variables.
- Returns
- vector of pointers to the state variables.
◆ 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 |
◆ 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 |
◆ SetParameters()
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