LCOV - code coverage report
Current view: top level - src/general - prow_pcol.F90 (source / functions) Hit Total Coverage
Test: coverage_50ab7a7628bba174fc62cee3ab72b26e81f87fe5.info Lines: 6 6 100.0 %
Date: 2018-01-10 09:29:53 Functions: 8 8 100.0 %

          Line data    Source code
       1             :   !Processor col for global col number
       2   564062072 :   pure function pcol(global_col, nblk, np_cols) result(local_col)
       3             :     use iso_c_binding, only : c_int
       4             :     implicit none
       5             :     integer(kind=c_int), intent(in) :: global_col, nblk, np_cols
       6             :     integer(kind=c_int)             :: local_col
       7   564062072 :     local_col = MOD((global_col-1)/nblk,np_cols)
       8   564062072 :   end function
       9             : 
      10             :   !Processor row for global row number
      11   857298240 :   pure function prow(global_row, nblk, np_rows) result(local_row)
      12             :     use iso_c_binding, only : c_int
      13             :     implicit none
      14             :     integer(kind=c_int), intent(in) :: global_row, nblk, np_rows
      15             :     integer(kind=c_int)             :: local_row
      16   857298240 :     local_row = MOD((global_row-1)/nblk,np_rows)
      17   857298240 :   end function
      18             : 

Generated by: LCOV version 1.12