PartMC  2.2.0
Data Types | Public Attributes
pmc_constants Module Reference

Physical constants. More...

List of all members.

Data Types

type  const_t
 Physical constants. More...

Public Attributes

integer, parameter dp = kind(0.d0)
 Kind of a double precision real number.
integer, parameter dc = dp
 Kind of a double precision complex number.
type(const_t), save const
 Fixed variable for accessing the constant's values.

Detailed Description

Physical constants.

Definition at line 9 of file constants.F90.


Member Data Documentation

Fixed variable for accessing the constant's values.

To access a constant in a subroutine you should use pmc_constants and then the constant value is accessed with const%pi or similar. Note that the type is called const_t (with a trailing _t) but the single saved variable to access them is just called const.

Definition at line 68 of file constants.F90.

integer, parameter pmc_constants::dc = dp

Kind of a double precision complex number.

Definition at line 14 of file constants.F90.

integer, parameter pmc_constants::dp = kind(0.d0)

Kind of a double precision real number.

Definition at line 12 of file constants.F90.


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