#include <exception>
#include <iostream>
#include <csignal>
#include <unistd.h>
#include <getopt.h>
#include <ctime>
#include <meteoio/MeteoIO.h>
#include <snowpack/libsnowpack.h>
#include <alpine3d/AlpineMain.h>
#include <alpine3d/AlpineControl.h>
#include <alpine3d/MPIControl.h>
#include <alpine3d/ebalance/EnergyBalance.h>
#include <alpine3d/snowdrift/SnowDrift.h>
#include <alpine3d/SnowpackInterface.h>
#include <alpine3d/DataAssimilation.h>
Functions | |
void | Usage (char *prog) |
void | parseCmdLine (int argc, char **argv, Config &cfg) |
void | setStaticData (const Config &cfg, IOManager &io, DEMObject &dem, Grid2DObject &landuse, std::vector< Coords > &vec_pts) |
void | setModules (const Config &cfg, IOManager &io, const DEMObject &dem, const Grid2DObject &landuse, const std::vector< Coords > &vec_pts, SnowDriftA3D *&drift, EnergyBalance *&eb, SnowpackInterface *&snowpack, DataAssimilation *&da, Runoff *&runoff) |
void | cleanDestroyAll (SnowDriftA3D *&drift, EnergyBalance *&eb, SnowpackInterface *&snowpack, DataAssimilation *&da, Runoff *&runoff) |
void | start_message (int argc, char **argv) |
void | real_main (int argc, char **argv) |
int | main (int argc, char *argv[]) |
Variables | |
static int | steps = 0 |
static Date | startdate |
static bool | enable_eb =false |
static bool | enable_drift =false |
static bool | enable_runoff =false |
static bool | enable_da =false |
static bool | nocompute =false |
static bool | restart =false |
static int | npsnowpack =1 |
static int | npebalance =1 |
|
inline |
int main | ( | int | argc, |
char * | argv[] | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |