!----- LGPL -------------------------------------------------------------------- ! ! Copyright (C) Stichting Deltares, 2011-2017. ! ! This library is free software; you can redistribute it and/or ! modify it under the terms of the GNU Lesser General Public ! License as published by the Free Software Foundation version 2.1. ! ! This library is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! Lesser General Public License for more details. ! ! You should have received a copy of the GNU Lesser General Public ! License along with this library; if not, see . ! ! contact: delft3d.support@deltares.nl ! Stichting Deltares ! P.O. Box 177 ! 2600 MH Delft, The Netherlands ! ! All indications and logos of, and references to, "Delft3D" and "Deltares" ! are registered trademarks of Stichting Deltares, and remain the property of ! Stichting Deltares. All rights reserved. ! !------------------------------------------------------------------------------- ! $Id: io_netcdf_version.F90.svn 6659 2016-10-18 09:04:07Z dam_ar $ ! $HeadURL$ module delwaq2_version_module implicit none character(*), public, parameter :: delwaq2_major = 'VN_MAJOR' character(*), public, parameter :: delwaq2_minor = 'VN_MINOR' character(*), public, parameter :: delwaq2_revision = 'VN_REVISION' character(*), public, parameter :: delwaq2_build_number = 'VN_BUILD_NUMBER' character(*), public, parameter :: delwaq2_company = 'Deltares' character(*), public, parameter :: delwaq2_company_url = 'http://www.deltares.nl' character(*), public, parameter :: delwaq2_program = 'DELWAQ2' character(*), public, parameter :: delwaq2_version = delwaq2_major//'.'//delwaq2_minor//'.'//delwaq2_revision//'.'//delwaq2_build_number character(*), public, parameter :: delwaq2_version_full = 'Deltares, '//delwaq2_program//' Version '//delwaq2_version//', '//__DATE__//', '//__TIME__ character(*), public, parameter :: delwaq2_version_id = '@(#)'//delwaq2_version_full contains subroutine getfullversionstring_delwaq2(stringout) character(*), intent(out) :: stringout integer :: length length = min(len_trim(delwaq2_version_full),len(stringout)) stringout = delwaq2_version_id(5:5+length-1) end subroutine getfullversionstring_delwaq2 end module delwaq2_version_module