ScalES-PPM
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ppm_compact_mask_index::index_from_mask Interface Reference

compute index from mask array More...

Public Member Functions

pure subroutine index_from_mask_2d (idx, mask, offsets, sseq)
 compute index from mask array
 
subroutine index_from_mask_3d (idx, mask, offsets, sseq)
 construct compact index from mask
 

Detailed Description

compute index from mask array

Member Function/Subroutine Documentation

◆ index_from_mask_2d()

pure subroutine ppm_compact_mask_index::index_from_mask::index_from_mask_2d ( type(range_compact_2d), dimension(:), intent(out), allocatable idx,
logical, dimension(:, :), intent(in) mask,
integer, dimension(2), intent(in), optional offsets,
integer, dimension(2), intent(in), optional sseq )

compute index from mask array

Parameters
idxindex to construct
maskto be indexed
offsetslow bounds of mask (if not present assumed to be 1)
sseqsequence in which to travel indices, e.g. if mask is transposed, one would pass (/ 2, 1 /) to the routine

◆ index_from_mask_3d()

subroutine ppm_compact_mask_index::index_from_mask::index_from_mask_3d ( type(range_compact_3d), dimension(:), intent(out), allocatable idx,
logical, dimension(:, :, :), intent(in) mask,
integer, dimension(3), intent(in), optional offsets,
integer, dimension(3), intent(in), optional sseq )

construct compact index from mask

Parameters
idxindex to construct
maskto be indexed
offsetslow bounds of mask (if not present assumed to be 1)
sseqsubscript sequence i.e. sequence by which to store ranges in index

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.