constants_base_mod Module Reference

generic module for units and physical constants More...

Data Types

type  constants_base
 physical constants data structure More...
 

Variables

integer, parameter, public si = 1
 
integer, parameter, public cgs = 2
 
integer, parameter, public geometrical = 3
 

Conversion factors from SI to other units

subroutine initconstants (this, units, units_name)
 

Detailed Description

generic module for units and physical constants

Author
Tobias Illenseer

Function/Subroutine Documentation

◆ initconstants()

subroutine constants_base_mod::initconstants ( class(constants_base), intent(inout)  this,
integer, intent(in)  units,
character(len=*)  units_name 
)
private

Definition at line 86 of file constants_base.f90.

Variable Documentation

◆ cgs

integer, parameter, public constants_base_mod::cgs = 2

Definition at line 45 of file constants_base.f90.

◆ geometrical

integer, parameter, public constants_base_mod::geometrical = 3

Definition at line 46 of file constants_base.f90.

◆ si

integer, parameter, public constants_base_mod::si = 1

Definition at line 44 of file constants_base.f90.