CPL_proc_portion Subroutine

public subroutine CPL_proc_portion(coord, realm, limits, portion, ncells)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: coord(3)
integer, intent(in) :: realm
integer, intent(in) :: limits(6)
integer, intent(out) :: portion(6)
integer, intent(out), optional :: ncells

Description

Get maximum and minimum cell indices, i.e. the 'portion', of the input cell extents 'limits' that is contributed by the current overlapping processor.

  • Synopsis

    • CPL_proc_portion(coord,realm,limits,portion,ncells)
  • Input

    • coord

      • processor cartesian coordinate (3 x integer)
    • realm

      • cfd_realm (1) or md_realm (2) (integer)
    • limits(6)

      • Array of cell extents that specify the input region.
  • Input/Output

    • NONE
  • Output

    • portion(6)

      • Array of cell extents that define the local processor's contribution to the input region 'limits'.

      • ncells (optional)

        • number of cells in portion (integer)
  • Note: limits(6) and portion(6) are of the form: (xmin,xmax,ymin,ymax,zmin,zmax)

@author David Trevelyan


Variables

TypeVisibility AttributesNameInitial
integer, public :: extents(6)


© 2015 Fortran Program was written by Edward Smith David Trevelyan.
Documentation generated by FORD.