Getter function to retrieve dftd4 version
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(out), | optional | :: | major |
Major version number of the dftd4 version |
|
integer, | intent(out), | optional | :: | minor |
Minor version number of the dftd4 version |
|
integer, | intent(out), | optional | :: | patch |
Patch version number of the dftd4 version |
|
character(len=:), | intent(out), | optional, | allocatable | :: | string |
String representation of the dftd4 version |
subroutine get_dftd4_version(major, minor, patch, string) !DEC$ ATTRIBUTES DLLEXPORT :: get_dftd4_version !> Major version number of the dftd4 version integer, intent(out), optional :: major !> Minor version number of the dftd4 version integer, intent(out), optional :: minor !> Patch version number of the dftd4 version integer, intent(out), optional :: patch !> String representation of the dftd4 version character(len=:), allocatable, intent(out), optional :: string if (present(major)) then major = dftd4_version_compact(1) end if if (present(minor)) then minor = dftd4_version_compact(2) end if if (present(patch)) then patch = dftd4_version_compact(3) end if if (present(string)) then string = dftd4_version_string end if end subroutine get_dftd4_version