Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
amrex::NonLocalBC::IsMonotoneIndexMapping< IndexMap > Struct Template Reference

Type trait for index mappings that are monotone in each component over the whole index space, and whose inverse is too. More...

#include <AMReX_NonLocalBC.H>

Inheritance diagram for amrex::NonLocalBC::IsMonotoneIndexMapping< IndexMap >:

Detailed Description

template<class IndexMap>
struct amrex::NonLocalBC::IsMonotoneIndexMapping< IndexMap >

Type trait for index mappings that are monotone in each component over the whole index space, and whose inverse is too.

A permutation of the directions with shifts and reflections is such a mapping. A mapping that wraps around is not. MultiBlockCommMetaData is built faster for these mappings. The trait is false unless it is specialized, so specialize it for your own index mapping if it has this property.


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