Tsunami Project Lab
Loading...
Searching...
No Matches
constants.h
Go to the documentation of this file.
1
7#ifndef TSUNAMI_LAB_CONSTANTS_H
8#define TSUNAMI_LAB_CONSTANTS_H
9
10#include <cstddef>
11
12namespace tsunami_lab {
14 typedef std::size_t t_idx;
15
17 typedef float t_real;
18
20 t_real constexpr g = 9.80665;
21
23 // 3.1315571206669694084256639406635379977990304194840518762243564954...
24 t_real constexpr gSqrt = 3.131557121;
25}
26
27#endif
Definition constants.h:12
float t_real
floating point type
Definition constants.h:17
t_real constexpr gSqrt
square root of gravity
Definition constants.h:24
t_real constexpr g
gravity constant (9.80665 m/s^2)
Definition constants.h:20
std::size_t t_idx
integral type for cell-ids, pointer arithmetic, etc.
Definition constants.h:14