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

Detailed Description

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

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

Member Data Documentation

◆ c

template<class Scalar >
const Scalar Opm::Constants< Scalar >::c = 299792458.0
static

Speed of light in vacuum [m/s].

◆ G

template<class Scalar >
const Scalar Opm::Constants< Scalar >::G = 6.67428e-11
static

Newtonian constant of gravitation [m^3/(kg s^2)].

◆ h

template<class Scalar >
const Scalar Opm::Constants< Scalar >::h = 6.62606896e-34
static

Planck constant [J s].

◆ hRed

template<class Scalar >
const Scalar Opm::Constants< Scalar >::hRed = h / (2 * M_PI)
static

Reduced Planck constant [J s].

◆ kb

template<class Scalar >
const Scalar Opm::Constants< Scalar >::kb = R/Na
static

The Boltzmann constant [J/K].

◆ Na

template<class Scalar >
const Scalar Opm::Constants< Scalar >::Na = 6.02214179e23
static

The Avogadro constant [1/mol].

◆ R

template<class Scalar >
const Scalar Opm::Constants< Scalar >::R = 8.314472
static

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