ScalES-PPM
Loading...
Searching...
No Matches
ppm_sparse_mask_index.f90 File Reference

sparsely populated mask array indices More...

Data Types

type  ppm_sparse_mask_index::index_sparse_nd
 
interface  ppm_sparse_mask_index::index_from_mask
 
interface  ppm_sparse_mask_index::fold_mask
 

Modules

module  ppm_sparse_mask_index
 ppm_sparse_mask_index supposing you have a mask array and use it in something like a WHERE, then it can be beneficial to only visit those indices of the array expression with the condition evaluating to .TRUE., in case this is relatively sparse or the ensuing conditional is expensive in comparison to the WHERE/FORALL body
 

Functions/Subroutines

pure subroutine, public ppm_sparse_mask_index::build_ranges_1d (mask, ofs, d_ranges, d_ranges_base, rcount)
 construct ranges to represent true elements of mask
 
pure integer function, public ppm_sparse_mask_index::count_ranges_1d (mask)
 
pure subroutine ppm_sparse_mask_index::index_from_mask_1d (idx, mask, offsets)
 
pure subroutine ppm_sparse_mask_index::fold_mask_2d (mask, dim, reduction)
 
pure subroutine ppm_sparse_mask_index::fold_mask_3d (mask, dim, reduction)
 
pure subroutine ppm_sparse_mask_index::build_ranges_2d (mask, subscript_sequence, offsets, d_ranges, num_tl_ranges, d_ranges_base, rcount)
 
pure integer function ppm_sparse_mask_index::count_ranges_2d (mask, subscript_sequence)
 
pure subroutine ppm_sparse_mask_index::index_from_mask_2d (idx, mask, offsets, sseq)
 
pure subroutine ppm_sparse_mask_index::build_ranges_3d (mask, subscript_sequence, offsets, d_ranges, num_tl_ranges, rcount)
 
pure integer function ppm_sparse_mask_index::count_ranges_3d (mask, subscript_sequence)
 
pure subroutine ppm_sparse_mask_index::index_from_mask_3d (idx, mask, offsets, sseq)
 

Detailed Description

sparsely populated mask array indices

Version
1.0
Author
Thomas Jahns jahns.nosp@m.@dkr.nosp@m.z.de

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.