Phyth
v0.1.0
A dimensional safe C++ header-only mechanics and electromagnetics simulation library.
Loading...
Searching...
No Matches
include
Phyth
Physical
Constants.hpp
Go to the documentation of this file.
1
#ifndef PHYTH_CONSTANTS_HPP
2
#define PHYTH_CONSTANTS_HPP
3
4
namespace
Phyth::Consts
{
5
constexpr
double
pi
= 3.14159265358979323846;
6
constexpr
double
eta
=
pi
/ 2;
7
constexpr
double
tau
= 2 *
pi
;
8
constexpr
double
varpi
= 4 *
pi
;
9
constexpr
double
phi
= 1.618033988749895;
10
constexpr
double
e
= 2.718281828459045;
11
}
12
13
#endif
//PHYTH_CONSTANTS_HPP
Phyth::Consts
Definition
Constants.hpp:4
Phyth::Consts::phi
constexpr double phi
Definition
Constants.hpp:9
Phyth::Consts::tau
constexpr double tau
Definition
Constants.hpp:7
Phyth::Consts::e
constexpr double e
Definition
Constants.hpp:10
Phyth::Consts::varpi
constexpr double varpi
Definition
Constants.hpp:8
Phyth::Consts::pi
constexpr double pi
Definition
Constants.hpp:5
Phyth::Consts::eta
constexpr double eta
Definition
Constants.hpp:6
Generated by
1.9.8