Alpine3D 20240513.cd14b8b
SnowDrift.h File Reference
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <iostream>
#include <meteoio/MeteoIO.h>
#include <meteoio/plugins/ARPSIO.h>
#include <alpine3d/SnowpackInterface.h>
#include <alpine3d/ebalance/EnergyBalance.h>
#include <alpine3d/snowdrift/checksum.h>

Go to the source code of this file.

Classes

struct  WIND_FIELD
 
class  SnowDriftA3D
 

Macros

#define WS0   0.5
 
#define TKE   0
 
#define SALTATION   1
 
#define SUBLIMATION   0
 
#define FIELD3D_OUTPUT   0
 
#define SUBLIMATION_OUTPUT   0
 
#define T_FB   1
 
#define Q_FB   1
 
#define C_FB   1
 
#define READK   0
 
#define WRITE_DRIFT_FLUXES   0
 
#define dt_diff   0.5 /* Small calculation step length for snow diffusion */
 

Typedefs

typedef mio::Array2D< int > CElementArray
 
typedef mio::Array1D< double > CDoubleArray
 
typedef mio::Array1D< int > CIntArray
 

Enumerations

enum  DRIFT_OUTPUT { OUT_CONC , OUT_SUBL }
 
enum  param_type {
  CON , HUM , SUB , TEM ,
  SUB2
}
 
enum  aspect_type { OTHER , BOTTOM }
 

Macro Definition Documentation

◆ C_FB

#define C_FB   1

◆ dt_diff

#define dt_diff   0.5 /* Small calculation step length for snow diffusion */

◆ FIELD3D_OUTPUT

#define FIELD3D_OUTPUT   0

◆ Q_FB

#define Q_FB   1

◆ READK

#define READK   0

◆ SALTATION

#define SALTATION   1

◆ SUBLIMATION

#define SUBLIMATION   0

◆ SUBLIMATION_OUTPUT

#define SUBLIMATION_OUTPUT   0

◆ T_FB

#define T_FB   1

◆ TKE

#define TKE   0

◆ WRITE_DRIFT_FLUXES

#define WRITE_DRIFT_FLUXES   0

◆ WS0

#define WS0   0.5

Typedef Documentation

◆ CDoubleArray

typedef mio::Array1D<double> CDoubleArray

◆ CElementArray

typedef mio::Array2D<int> CElementArray

◆ CIntArray

typedef mio::Array1D<int> CIntArray

Enumeration Type Documentation

◆ aspect_type

Enumerator
OTHER 
BOTTOM 

◆ DRIFT_OUTPUT

Enumerator
OUT_CONC 
OUT_SUBL 

◆ param_type

enum param_type
Enumerator
CON 
HUM 
SUB 
TEM 
SUB2