Generic DMPACK version formatters.
Returns allocatable string of application version, with optional
DMPACK library version appended if library
is .true.
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | name |
App name. |
||
integer, | intent(in) | :: | major |
App major version. |
||
integer, | intent(in) | :: | minor |
App minor version. |
||
integer, | intent(in) | :: | patch |
App patch version. |
||
logical, | intent(in), | optional | :: | library |
Append DMPACK library version. |
App and library version string.
Utility function that returns a five characters long version string
with patch level, for example, 1.0.0
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | major |
Major version number. |
||
integer, | intent(in) | :: | minor |
Minor version number. |
||
integer, | intent(in) | :: | patch |
Patch level. |
Output string.
Utility function that returns a three characters long version
string, for example, 1.0
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | major |
Major version number. |
||
integer, | intent(in) | :: | minor |
Minor version number. |
Output string.