driverchunkread Subroutine

public subroutine driverchunkread()

Uses

  • proc~~driverchunkread~~UsesGraph proc~driverchunkread driverchunkread module~modglobal modglobal proc~driverchunkread->module~modglobal module~modinletdata modinletdata proc~driverchunkread->module~modinletdata module~modmpi modmpi proc~driverchunkread->module~modmpi mpi mpi module~modmpi->mpi

Arguments

None

Calls

proc~~driverchunkread~~CallsGraph proc~driverchunkread driverchunkread proc~readdriverfile_chunk readdriverfile_chunk proc~driverchunkread->proc~readdriverfile_chunk

Called by

proc~~driverchunkread~~CalledByGraph proc~driverchunkread driverchunkread proc~boundary boundary proc~boundary->proc~driverchunkread program~dalesurban DALESURBAN program~dalesurban->proc~boundary

Source Code

  subroutine driverchunkread
    use modglobal,    only : timee,ibrank,idriver,lchunkread
    use modinletdata, only : storetdriver, chunkread_e
    use modmpi,       only : myid

    ! if (idriver==2 .and. lchunkread .and. timee > storetdriver(chunkread_e)) then
    !   if (myid==0) then
    !     write(6,*) 'Current timee = ', timee, '; last read storetdriver = ', storetdriver(chunkread_e), &
    !                'at driver step = ',chunkread_e,'. Hence, next driver chunk will be read now.'
    !   end if
    !   if (ibrank) call readdriverfile_chunk
    ! end if

    do while (timee > storetdriver(chunkread_e))
      if (myid==0) then
        write(6,*) 'Current timee = ', timee, '; last read storetdriver = ', storetdriver(chunkread_e), &
                   'at driver step = ',chunkread_e,'. Hence, next driver chunk will be read now.'
      end if
      if (ibrank) call readdriverfile_chunk
    end do

  end subroutine driverchunkread