129 character (len=*),
intent(in) :: timer_name
132 real (c_double) :: remainder
134 select case(timer_name)
136 remainder = this%splittime
138 remainder = this%elapsedtime
140 remainder = this%elapsedtime
148 if ( int(remainder) >= 86400 )
then
149 this%days = int( remainder / 86400.0_c_double )
150 remainder = modulo(remainder, 86400.0_c_double)
153 if ( int(remainder) >= 3600)
then
154 this%hours = int( remainder / 3600.0_c_double )
155 remainder = modulo(remainder, 3600.0_c_double)
158 if ( int(remainder) >= 60)
then
159 this%minutes = int( remainder / 60.0_c_double )
160 remainder = modulo(remainder, 60.0_c_double)
163 this%seconds = int( remainder )