Alpine3D 20240510.cd14b8b
AlpineMain.h
Go to the documentation of this file.
1/***********************************************************************************/
2/* Copyright 2009-2015 WSL Institute for Snow and Avalanche Research SLF-DAVOS */
3/***********************************************************************************/
4/* This file is part of Alpine3D.
5 Alpine3D is free software: you can redistribute it and/or modify
6 it under the terms of the GNU Lesser General Public License as published by
7 the Free Software Foundation, either version 3 of the License, or
8 (at your option) any later version.
9
10 Alpine3D is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public License
16 along with Alpine3D. If not, see <http://www.gnu.org/licenses/>.
17*/
18#ifndef ALPINEMAIN_H
19#define ALPINEMAIN_H
20
21// _VERSION is given as a compilation flag to tell us what is the version number
22// Please only use A3D_VERSION in the code
23#ifndef A3D_VERSION
24 //here below, the double-expansion stringification macro trick...
25 #define STR1(x) #x
26 #define STR2(x) STR1(x)
27 #define A3D_VERSION STR2( _VERSION )
28#endif
29
30//Only for ALPINE3d the time steps are defined here
31#define dt_main 3600. /* Large Calculation step length for EB, Saltation, Snowpack etc. */
32
33#endif