constants_cgs_mod Module Reference

module for cgs units and physical constants More...

Data Types

type  constants_cgs
 

Functions/Subroutines

subroutine initconstants_cgs (this)
 Constructor of physical constants module using cgs units. More...
 

Variables

character(len=32), parameter units_name = 'cgs'
 

Detailed Description

module for cgs units and physical constants

Author
Jannes Klee

Function/Subroutine Documentation

◆ initconstants_cgs()

subroutine constants_cgs_mod::initconstants_cgs ( class(constants_cgs), intent(inout)  this)

Constructor of physical constants module using cgs units.

Parameters
[in,out]thisvacuum speed of light [cm/s]
[in,out]thisgravitational constant [cm^3/g/s^2]
[in,out]thisBoltzmann constant [erg/K]
[in,out]thisAvogadro constant [1/mol]
[in,out]thisStefan-Boltzmann constant [erg/s/cm^2/K^4]
[in,out]thiselectron scattering opacity [cm^2/g]
[in,out]this[s] -> [s]
[in,out]this[kg] -> [g]
[in,out]this[kg*m/s] -> [g*cm/s]
[in,out]this[kg*m/s] -> [g*cm/s]
[in,out]this[kg*m/s^2] -> [g*cm/s^2]
[in,out]this[K] -> [K]
[in,out]this[kg/m^3] -> [g/cm^3]
[in,out]this[m^2/kg] -> [cm^2/kg]

Definition at line 56 of file constants_cgs.f90.

Variable Documentation

◆ units_name

character(len=32), parameter constants_cgs_mod::units_name = 'cgs'
private

Definition at line 45 of file constants_cgs.f90.