|
| 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:
|
Definition at line 50 of file utils.f90.
◆ 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 516 of file utils.f90.
◆ 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 491 of file utils.f90.
The documentation for this interface was generated from the following file:
- /home/runner/work/neko/neko/src/common/utils.f90