This class takes a projection and a component map and combines them to form a new projection.
More...
#include <AMReX_NonLocalBC.H>
|
template<typename T , typename = std::enable_if_t<IsCallable<Base, Array4<const T>, Dim3, int>::value>, typename = std::enable_if_t<IsCallableR<int, Map, int>::value>> |
constexpr decltype(auto) | operator() (Array4< const T > array, Dim3 i, int comp) const noexcept(noexcept(base(array, i, map(comp)))) |
|
template<typename Base, typename Map = Identity>
struct amrex::NonLocalBC::MapComponents< Base, Map >
This class takes a projection and a component map and combines them to form a new projection.
We use this to apply a permutations on components FABs.
- See also
- SwapComponents
◆ operator()()
template<typename Base , typename Map = Identity>
template<typename T , typename = std::enable_if_t<IsCallable<Base, Array4<const T>, Dim3, int>::value>, typename = std::enable_if_t<IsCallableR<int, Map, int>::value>>
◆ base
template<typename Base , typename Map = Identity>
◆ map
template<typename Base , typename Map = Identity>
The documentation for this struct was generated from the following file: