ScalES-PPM
Private Member Functions | List of all members
ppm_uniform_partition::uniform_decomposition Interface Reference

Private Member Functions

subroutine uniform_decomposition_1d (set_interval, nparts, parts, symmetric)
 divide integer set interval into evenly sized sub-intervals forming a partition More...
 
subroutine uniform_decomposition_nd (pgrid, rect, nparts, symmetric)
 Compute uniform divisions of rectilinear structure. More...
 

Member Function/Subroutine Documentation

◆ uniform_decomposition_1d()

subroutine ppm_uniform_partition::uniform_decomposition::uniform_decomposition_1d ( type(extent), intent(in)  set_interval,
integer, intent(in)  nparts,
type(extent), dimension(nparts), intent(out)  parts,
logical, intent(in), optional  symmetric 
)
private

divide integer set interval into evenly sized sub-intervals forming a partition

Parameters
set_intervalinterval to partition
npartsnumber of parts to compute
partsnparts sub-intervals
symmetricif .true. partitions(i) will be same-size as partitions(nparts-i+1)

◆ uniform_decomposition_nd()

subroutine ppm_uniform_partition::uniform_decomposition::uniform_decomposition_nd ( type(block_decomposition), dimension(:), intent(out)  pgrid,
type(extent), dimension(:), intent(in)  rect,
integer, dimension(:), intent(in)  nparts,
logical, dimension(:), intent(in), optional  symmetric 
)
private

Compute uniform divisions of rectilinear structure.

Parameters
pgridsame dimension as rect and nparts, holds list of partition extents
rectintervals for indices of rectilinear to partition
npartsnumber of parts to compute in each dimension
symmetricsymmetry requirements for each dimension

The documentation for this interface was generated from the following file:

Das diesem Bericht zugrundeliegende Vorhaben wurde mit Mitteln des Bundesministeriums für Bildung, und Forschung unter dem Förderkennzeichen 01IH08004E gefördert. Die Verantwortung für den Inhalt dieser Veröffentlichung liegt beim Autor.