Classes | |
struct | const_t |
Useful physical constants. More... | |
Variables | |
type(const_t), save | const |
Fixed variable for accessing the constant's values. |
type(const_t),save pmc_constants::const |
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
.