#include <DataClasses.h>
|
| | MainControl (const SnowpackConfig &cfg) |
| |
| void | getOutputControl (const mio::Date &step, const mio::Date &sno_step) |
| | Determine which outputs need to be done for the current time step.
|
| |
| void | reset () |
| | Reset all fields not read from the config file to zero or false.
|
| |
|
| double | tsstart |
| | Start time for time series dump (Julian)
|
| |
| double | tsdaysbetween |
| | Interval (days) between time series dumps.
|
| |
| double | profstart |
| | Start time for profile dump (Julian)
|
| |
| double | profdaysbetween |
| | Interval (days) between profile dumps.
|
| |
| double | first_backup |
| | Start time for first Xdata backup (Julian)
|
| |
| double | backup_days_between |
| | Interval (days) between Xdata backups.
|
| |
| double | calculation_step_length |
| | Length of each calculation step (minutes)
|
| |
| double | sn_dt |
| | calculation step length in seconds
|
| |
| size_t | nStep |
| | Time step number.
|
| |
| size_t | nAvg |
| | Number of calculation time steps to average fluxes etc.
|
| |
| size_t | HzStep |
| | Hazard step number (should be half of nStep in operational mode)
|
| |
| bool | TsDump |
| | Flag for time series dump.
|
| |
| bool | HzDump |
| | Calculation of hazard information will be performed.
|
| |
| bool | PrDump |
| | Flag for profile dump.
|
| |
| bool | XdataDump |
| | Backup of Xdata will be performed.
|
| |
| bool | sdbDump |
| | Dump to data base if required in operational mode.
|
| |
| bool | resFirstDump |
| | Flag to dump initial state of snowpack.
|
| |
◆ MainControl()
◆ getOutputControl()
| void MainControl::getOutputControl |
( |
const mio::Date & |
step, |
|
|
const mio::Date & |
sno_step |
|
) |
| |
Determine which outputs need to be done for the current time step.
- Parameters
-
| step | current time integration step |
| sno_step | current step in the sno files (current sno profile) |
◆ reset()
| void MainControl::reset |
( |
| ) |
|
Reset all fields not read from the config file to zero or false.
◆ backup_days_between
| double MainControl::backup_days_between |
Interval (days) between Xdata backups.
◆ calculation_step_length
| double MainControl::calculation_step_length |
Length of each calculation step (minutes)
◆ first_backup
| double MainControl::first_backup |
Start time for first Xdata backup (Julian)
◆ HzDump
Calculation of hazard information will be performed.
◆ HzStep
| size_t MainControl::HzStep |
Hazard step number (should be half of nStep in operational mode)
◆ nAvg
Number of calculation time steps to average fluxes etc.
◆ nStep
| size_t MainControl::nStep |
◆ PrDump
◆ profdaysbetween
| double MainControl::profdaysbetween |
Interval (days) between profile dumps.
◆ profstart
| double MainControl::profstart |
Start time for profile dump (Julian)
◆ resFirstDump
| bool MainControl::resFirstDump |
Flag to dump initial state of snowpack.
◆ sdbDump
| bool MainControl::sdbDump |
Dump to data base if required in operational mode.
◆ sn_dt
| double MainControl::sn_dt |
calculation step length in seconds
◆ tsdaysbetween
| double MainControl::tsdaysbetween |
Interval (days) between time series dumps.
◆ TsDump
Flag for time series dump.
◆ tsstart
| double MainControl::tsstart |
Start time for time series dump (Julian)
◆ XdataDump
| bool MainControl::XdataDump |
Backup of Xdata will be performed.
The documentation for this class was generated from the following files: