version 3.11-dev
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
Dumux::Constants< Scalar > Class Template Reference

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

#include <dumux/material/constants.hh>

Static Public Attributes

static constexpr Scalar R = 8.314472
 The ideal gas constant [J/(molK)]. More...
 
static constexpr Scalar Na = 6.02214179e23
 The Avogadro constant [1/mol]. More...
 
static constexpr Scalar kb = R / Na
 The Boltzmann constant [J/K]. More...
 
static constexpr Scalar c = 299792458
 Speed of light in vacuum [m/s]. More...
 
static constexpr Scalar F = 96485.3365
 Faraday constant [C/mol]. More...
 
static constexpr Scalar G = 6.67428e-11
 Newtonian constant of gravitation [m3/(kgs2)]. More...
 
static constexpr Scalar h = 6.62606896e-34
 Planck constant [Js]. More...
 
static constexpr Scalar hRed = h / (2 * M_PI)
 Reduced Planck constant [Js]. More...
 

Member Data Documentation

◆ c

template<class Scalar >
constexpr Scalar Dumux::Constants< Scalar >::c = 299792458
staticconstexpr

◆ F

template<class Scalar >
constexpr Scalar Dumux::Constants< Scalar >::F = 96485.3365
staticconstexpr

Source: CODATA 2010

◆ G

template<class Scalar >
constexpr Scalar Dumux::Constants< Scalar >::G = 6.67428e-11
staticconstexpr

◆ h

template<class Scalar >
constexpr Scalar Dumux::Constants< Scalar >::h = 6.62606896e-34
staticconstexpr

◆ hRed

template<class Scalar >
constexpr Scalar Dumux::Constants< Scalar >::hRed = h / (2 * M_PI)
staticconstexpr

◆ kb

template<class Scalar >
constexpr Scalar Dumux::Constants< Scalar >::kb = R / Na
staticconstexpr

◆ Na

template<class Scalar >
constexpr Scalar Dumux::Constants< Scalar >::Na = 6.02214179e23
staticconstexpr

◆ R

template<class Scalar >
constexpr Scalar Dumux::Constants< Scalar >::R = 8.314472
staticconstexpr

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