1 #ifndef ABLATE_LIBRARY_CONSTANTS_HPP
2 #define ABLATE_LIBRARY_CONSTANTS_HPP
4 #include <petscsystypes.h>
6 namespace ablate::utilities {
10 constexpr
inline static PetscReal
sbc = 5.6696e-8;
13 constexpr
inline static PetscReal
h = 6.62607004e-34;
16 constexpr
inline static PetscReal
c = 299792458;
19 constexpr
inline static PetscReal
k = 1.380622e-23;
22 constexpr
inline static PetscReal
pi = 3.1415926535897932384626433832795028841971693993;
25 constexpr
inline static PetscReal
tiny = 1e-30;
28 constexpr
inline static PetscReal
small = 1e-10;
31 constexpr
inline static PetscReal
large = 1E10;
Definition: constants.hpp:7
constexpr static PetscReal pi
Pi.
Definition: constants.hpp:22
constexpr static PetscReal sbc
Stefan-Boltzman Constant (J/K)
Definition: constants.hpp:10
constexpr static PetscReal k
Boltzmann Constant.
Definition: constants.hpp:19
constexpr static PetscReal c
Speed of light.
Definition: constants.hpp:16
constexpr static PetscReal large
A somewhat large number.
Definition: constants.hpp:31
constexpr static PetscReal h
Planck Constant.
Definition: constants.hpp:13
constexpr static PetscReal small
A somewhat small number.
Definition: constants.hpp:28
constexpr static PetscReal tiny
A very tiny number.
Definition: constants.hpp:25