create_batches Subroutine

subroutine create_batches(blk_sizes, nbatch, start_batch, end_batch)

Arguments

Type IntentOptional Attributes Name
integer, intent(in), dimension(:) :: blk_sizes
integer, intent(in) :: nbatch
integer, intent(out), dimension(:), allocatable :: start_batch
integer, intent(out), dimension(:), allocatable :: end_batch