Definition at line 189 of file dc_clock.f90.
◆ dcclockputline0()
subroutine dc_clock::putline::dcclockputline0 |
( |
type(clock), intent(in) |
clk, |
|
|
integer, intent(in), optional |
unit, |
|
|
character(*), intent(in), optional |
indent, |
|
|
logical, intent(out), optional |
err |
|
) |
| |
|
private |
Definition at line 468 of file dc_clock.f90.
485 type(clock),
intent(in):: clk
486 integer,
intent(in),
optional:: unit
487 character(*),
intent(in),
optional:: indent
491 logical,
intent(out),
optional:: err
493 character(STRING):: cause_c
496 character(STRING):: indent_str
497 character(*),
parameter:: subname =
'DCClockPutLine' 499 call beginsub(subname)
502 if (.not. clk % initialized)
then 503 call messagenotify(
'W', subname,
'Call Create before PutLine in dc_clock.')
504 call dbgmessage(
'Ignored because input argument was not initialized.')
508 if (
present(unit))
then 515 if (
present(indent))
then 516 if (len(indent) /= 0)
then 517 indent_len = len(indent)
518 indent_str(1:indent_len) = indent
522 & indent_str(1:indent_len) // &
523 &
'#<CLOCK:: @name=%c @clocking=%y @elapsed_time=%f sec. %c @start_date=%c>', &
524 & c1=trim(clk % name), l=(/clk % start_time > 0.0_dp/), &
525 & d=(/clk % elapsed_time/), &
526 & c2=trim(fit_unit_value(clk % elapsed_time)), &
527 & c3=trim(
tochar(clk % start_date)))
528 call dbgmessage(
'name=%c, output to device number %d', &
529 & c1=trim(clk % name), i=(/out_unit/))
integer, parameter, public dc_enotinit
subroutine, public storeerror(number, where, err, cause_c, cause_i)
integer, parameter, public dc_noerr
integer, parameter, public dp
倍精度実数型変数
integer, parameter, public stdout
標準出力の装置番号
The documentation for this interface was generated from the following file: