1 #ifndef VTESTBED_BASE_CONSTANTS_HH     2 #define VTESTBED_BASE_CONSTANTS_HH    15             static constexpr 
const T 
g() { 
return T{9.82}; }
    18             static constexpr 
const T 
pi() { 
return T{M_PI}; }
    21             static constexpr 
const T 
pi(T x) { 
return T{x}*
pi(); }
    38 #endif // vim:filetype=cpp static constexpr const T g()
Gravitational acceleration.
 
static constexpr const T water_density()
Sea water density.
 
static constexpr T atmospheric_pressure()
Sea-level atmospheric pressure.
 
static constexpr const T pi()
 
static constexpr const T pi(T x)
 
static constexpr const T air_density()
Air density.