Neko 1.99.3
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
utils::read_duration Interface Reference

Public Member Functions

subroutine read_duration_scalar (runtime_string, runtime_seconds, ierr)
 Parse runtime string to total seconds. Supported formats are:
 
subroutine read_duration_components (runtime_string, runtime_values, ierr)
 Parse runtime string to components. The output array maps to the largest unit available based on size:
 

Detailed Description

Definition at line 49 of file utils.f90.

Member Function/Subroutine Documentation

◆ read_duration_components()

subroutine utils::read_duration::read_duration_components ( character(len=*), intent(in runtime_string,
real(kind=rp), dimension(:), intent(inout runtime_values,
integer, intent(out), optional  ierr 
)
  • size 4: [dd, hh, mm, ss]
  • size 3: [hh, mm, ss]
  • size 2: [mm, ss]
  • size 1: [ss]

Definition at line 456 of file utils.f90.

Here is the call graph for this function:

◆ read_duration_scalar()

subroutine utils::read_duration::read_duration_scalar ( character(len=*), intent(in runtime_string,
real(kind=rp), intent(inout runtime_seconds,
integer, intent(out), optional  ierr 
)
  • seconds as an integer or real value (for example "5400" or "5400.0")
  • mm:ss
  • hh:mm:ss
  • dd-hh:mm:ss

Definition at line 431 of file utils.f90.

Here is the call graph for this function:

The documentation for this interface was generated from the following file: