psmile_get_initial_date.F90

Go to the documentation of this file.
00001 !-----------------------------------------------------------------------
00002 ! Copyright 2006-2010, NEC Europe Ltd., London, UK.
00003 ! All rights reserved. Use is subject to OASIS4 license terms.
00004 !-----------------------------------------------------------------------
00005 !BOP
00006 !
00007 ! !ROUTINE: PSMILe_get_initial_date
00008 !
00009 ! !INTERFACE:
00010 
00011       subroutine psmile_get_initial_date ( initial_date, ierror )
00012 !
00013 ! !USES:
00014 !
00015       use PRISM_constants, only : PRISM_Time_struct, PRISM_Initial_date
00016 !
00017       use PSMILe, only : ch_id, len_cvs_string
00018 
00019       implicit none
00020 !
00021 ! !OUTPUT PARAMETERS:
00022 !
00023       Type(PRISM_Time_struct), Intent(Out) :: initial_date
00024 
00025       Integer, Intent(Out)                 :: ierror
00026 !
00027 !
00028 ! !DESCRIPTION:
00029 !
00030 ! Subroutine "PSMILe_get_initial_date" returns the initial date.
00031 !
00032 ! !REVISION HISTORY:
00033 !
00034 !   Date      Programmer   Description
00035 ! ----------  ----------   -----------
00036 ! 03.10.20    R. Redler    created
00037 !
00038 !EOP
00039 !----------------------------------------------------------------------
00040 !
00041 !  $Id: psmile_get_initial_date.F90 2325 2010-04-21 15:00:07Z valcke $
00042 !  $Author: valcke $
00043 !
00044    Character(len=len_cvs_string), save :: mycvs = 
00045        '$Id: psmile_get_initial_date.F90 2325 2010-04-21 15:00:07Z valcke $'
00046 !
00047 !----------------------------------------------------------------------
00048 
00049 #ifdef VERBOSE
00050       print *, trim(ch_id), ': PSMILe_get_initial_date'
00051 
00052       call psmile_flushstd
00053 #endif /* VERBOSE */
00054 
00055       initial_date = PRISM_Initial_date
00056 
00057       ierror = 0
00058 
00059 #ifdef VERBOSE
00060       print *, trim(ch_id), ': PSMILe_get_initial_date: eof ierror', ierror
00061 
00062       call psmile_flushstd
00063 #endif /* VERBOSE */
00064 
00065       end subroutine PSMILe_get_initial_date

Generated on 18 Mar 2011 for Oasis4 by  doxygen 1.6.1