REMORA
Energy Research and Forecasting: An Atmospheric Modeling Code
REMORA_Constants.H
Go to the documentation of this file.
1
#ifndef REMORA_CONSTANTS_H_
2
#define REMORA_CONSTANTS_H_
3
4
#include <AMReX_REAL.H>
5
6
constexpr amrex::Real
PI
= 3.14159265358979323846264338327950288;
7
8
//TODO: Change these types of macros to 'const'
9
#define R_d 287.0
// gas constant for dry air [J/(kg-K)]
10
#define R_v 461.6
// gas constant for dry air [J/(kg-K)]
11
#define c_p 1004.5
// specific heat at constant pressure for dry air [J/(kg-K)]
12
#define p_0 1.0e5
// reference surface pressure [Pa]
13
#define Gamma 1.4
// C_p/C_v [-]
14
#define KAPPA 0.41
// von Karman constant
15
16
// Derived Constants
17
#define ip_0 (1./p_0)
18
#define iR_d (1./R_d)
19
#define iGamma (1./Gamma)
20
#define rdOcp (R_d/c_p)
21
22
#endif
PI
constexpr amrex::Real PI
Definition:
REMORA_Constants.H:6
Source
REMORA_Constants.H
Generated by
1.9.1