My Project
Loading...
Searching...
No Matches
Opm::Constants< Scalar > Class Template Reference

A central place for various physical constants occuring in some equations. More...

#include <Constants.hpp>

Static Public Attributes

static const Scalar R = 8.314472
 The ideal gas constant [J/(mol K)].
 
static const Scalar Na = 6.02214179e23
 The Avogadro constant [1/mol].
 
static const Scalar kb = R/Na
 The Boltzmann constant [J/K].
 
static const Scalar c = 299792458.0
 Speed of light in vacuum [m/s].
 
static const Scalar G = 6.67428e-11
 Newtonian constant of gravitation [m^3/(kg s^2)].
 
static const Scalar h = 6.62606896e-34
 Planck constant [J s].
 
static const Scalar hRed = h / (2 * M_PI)
 Reduced Planck constant [J s].
 

Detailed Description

template<class Scalar>
class Opm::Constants< Scalar >

A central place for various physical constants occuring in some equations.


The documentation for this class was generated from the following file: