dcdatetimesetsecofday.f90
Go to the documentation of this file.
1 !== 1 日の秒数の設定
2 !
3 ! Authors:: Yasuhiro MORIKAWA
4 ! Version:: $Id: dcdatetimesetsecofday.f90,v 1.1 2009-03-20 09:09:52 morikawa Exp $
5 ! Tag Name:: $Name: $
6 ! Copyright:: Copyright (C) GFD Dennou Club, 2000-2005. All rights reserved.
7 ! License:: See COPYRIGHT[link:../../COPYRIGHT]
8 !
9 ! このファイルで提供される手続き群は dc_date モジュールにて提供されます。
10 !
11 
12 subroutine dcdatetimesetsecofday(sec)
13  !
14  ! 1 日の秒数のデフォルトを設定します.
15  !
16  ! なお, この手続きを呼ばない場合, デフォルトの 1 日の秒数は
17  ! dc_date_types#DAY_SECONDS_EARTH に設定されています.
18  !
19  use dc_date_types, only: day_seconds_default => day_seconds
20  use dc_types, only: dp
21  use dc_trace, only: beginsub, endsub
22  implicit none
23  real(DP), intent(in):: sec
24  character(*), parameter :: subname = 'DCDateTimeSetSecOfDay'
25 continue
26  call beginsub(subname, 'sec=<%f>', d=(/sec/))
27  day_seconds_default = sec
28  call endsub(subname, 'dc_date_types#day_seconds=<%f>', d=(/day_seconds_default/))
29 end subroutine dcdatetimesetsecofday
integer, parameter, public dp
倍精度実数型変数
Definition: dc_types.f90:83
subroutine, public beginsub(name, fmt, i, r, d, L, n, c1, c2, c3, ca, version)
Definition: dc_trace.f90:351
種別型パラメタを提供します。
Definition: dc_types.f90:49
subroutine dcdatetimesetsecofday(sec)
real(dp), save, public day_seconds
subroutine, public endsub(name, fmt, i, r, d, L, n, c1, c2, c3, ca)
Definition: dc_trace.f90:446