dtimer_write Subroutine

private subroutine dtimer_write(this, file_name)

The routine writes the current elapsed_dtime value. Existing files are opened in append mode; missing files are created.

Type Bound

timer

Arguments

Type IntentOptional Attributes Name
class(timer), intent(in) :: this

Timer instance whose elapsed_dtime value is written.

character(len=*), intent(in) :: file_name

Path to the output text file.


Calls

proc~~dtimer_write~~CallsGraph proc~dtimer_write timer%dtimer_write proc~write_to_file write_to_file proc~dtimer_write->proc~write_to_file

Called by

proc~~dtimer_write~~CalledByGraph proc~dtimer_write timer%dtimer_write proc~run_test26 run_test26 proc~run_test26->proc~dtimer_write proc~run_test27 run_test27 proc~run_test27->proc~dtimer_write proc~run_test29 run_test29 proc~run_test29->proc~dtimer_write proc~run_test30 run_test30 proc~run_test30->proc~dtimer_write program~example6 example6 program~example6->proc~dtimer_write program~check check program~check->proc~run_test26 program~check->proc~run_test27 program~check->proc~run_test29 program~check->proc~run_test30

Source Code

   subroutine dtimer_write(this, file_name)
      class(timer), intent(in) :: this
         !! Timer instance whose `elapsed_dtime` value is written.
      character(*), intent(in) :: file_name
         !! Path to the output text file.
      call write_to_file(this%elapsed_dtime, file_name)
   end subroutine dtimer_write