DMPACK version and auxiliary procedures.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=*), | public, | parameter | :: | DM_COPYRIGHT | = | 'Copyright (c) 2024, Philipp Engel' |
DMPACK copyright string. |
integer, | public, | parameter | :: | DM_VERSION_MAJOR | = | 0 |
DMPACK major version, from 0 to 9. |
integer, | public, | parameter | :: | DM_VERSION_MINOR | = | 9 |
DMPACK minor version, from 0 to 9. |
integer, | public, | parameter | :: | DM_VERSION_PATCH | = | 6 |
DMPACK patch level, from 0 to 9. |
character(len=*), | public, | parameter | :: | DM_VERSION_STRING | = | achar(DM_VERSION_MAJOR+48)//'.'//achar(DM_VERSION_MINOR+48)//'.'//achar(DM_VERSION_PATCH+48) |
DMPACK version as string. |
Generic DMPACK version output routine.
Prints application and DMPACK library version to standard output.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | name |
Application name. |
||
integer, | intent(in) | :: | major |
Major version number of application. |
||
integer, | intent(in) | :: | minor |
Minor version number of application. |
||
integer, | intent(in) | :: | patch |
Patch level of application. |
Prints DMPACK library version to standard output.
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.