mctc_version Module


Variables

Type Visibility Attributes Name Initial
integer, public, parameter :: mctc_version_compact(3) = [0, 3, 2]

Numeric representation of the mctc-lib version

character(len=*), public, parameter :: mctc_version_string = "0.3.2"

String representation of the mctc-lib version


Functions

public pure function get_mctc_feature(feature) result(has_feature)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: feature

Feature name

Return Value logical

Whether the feature is enabled


Subroutines

public pure subroutine get_mctc_version(major, minor, patch, string)

Getter function to retrieve mctc-lib version

Arguments

Type IntentOptional Attributes Name
integer, intent(out), optional :: major

Major version number of the mctc-lib version

integer, intent(out), optional :: minor

Minor version number of the mctc-lib version

integer, intent(out), optional :: patch

Patch version number of the mctc-lib version

character(len=:), intent(out), optional, allocatable :: string

String representation of the mctc-lib version