gtool5 Fortran 90/95 ライブラリ 1.0.0-rc5
English
Loading...
Searching...
No Matches
dcdatetimesetsecofday.f90 File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine dcdatetimesetsecofday (sec)
 1日の秒数の設定

Function/Subroutine Documentation

◆ dcdatetimesetsecofday()

subroutine dcdatetimesetsecofday ( real(dp), intent(in) sec)

1日の秒数の設定

Author
Yasuhiro MORIKAWA

このファイルで提供される手続き群は dc_date モジュールにて提供されます。

1日の秒数のデフォルトを設定

1 日の秒数のデフォルトを設定します.

なお, この手続きを呼ばない場合, デフォルトの 1 日の秒数は dc_date_types#DAY_SECONDS_EARTH に設定されています.

Parameters
[in]secデフォルトに設定する1日の秒数

Definition at line 43 of file dcdatetimesetsecofday.f90.

44
45 use dc_date_types, only: day_seconds_default => day_seconds
46 use dc_types, only: dp
47 use dc_trace, only: beginsub, endsub
48 implicit none
49 real(DP), intent(in):: sec
50 character(*), parameter :: subname = 'DCDateTimeSetSecOfDay'
51continue
52 call beginsub(subname, 'sec=<%f>', d=(/sec/))
53 day_seconds_default = sec
54 call endsub(subname, 'dc_date_types#day_seconds=<%f>', d=(/day_seconds_default/))
日付・時刻に関する構造データ型と定数
real(dp), save, public day_seconds
1日の秒数 (可変, デフォルトは地球の1日)
デバッグ時の追跡用モジュール
Definition dc_trace.f90:150
subroutine, public beginsub(name, fmt, i, r, d, l, n, c1, c2, c3, ca, version)
Definition dc_trace.f90:457
subroutine, public endsub(name, fmt, i, r, d, l, n, c1, c2, c3, ca)
Definition dc_trace.f90:580
種別型パラメタを提供します。
Definition dc_types.f90:55
integer, parameter, public dp
倍精度実数型変数
Definition dc_types.f90:92

References dc_trace::beginsub(), dc_date_types::day_seconds, dc_types::dp, and dc_trace::endsub().

Here is the call graph for this function: