Block-Structured AMR Software Framework
amrex::NonLocalBC::Identity Struct Reference

This class acts as a default no-op operator. More...

#include <AMReX_NonLocalBC.H>

Public Member Functions

constexpr Dim3 operator() (Dim3 i) const noexcept
 The identity function for Dim3. More...
 
template<typename T >
constexpr T operator() (Array4< const T > array, Dim3 i, int comp=0) const noexcept(noexcept(array(i.x, i.y, i.z, comp)))
 
constexpr int operator() (int i) const noexcept
 The identity for int. More...
 

Static Public Member Functions

static constexpr Dim3 Inverse (Dim3 i) noexcept
 The identity function for Dim3. More...
 

Detailed Description

This class acts as a default no-op operator.

This class satisfies IndexMapping and FabProjection.

Member Function Documentation

◆ Inverse()

static constexpr Dim3 amrex::NonLocalBC::Identity::Inverse ( Dim3  i)
inlinestaticconstexprnoexcept

The identity function for Dim3.

◆ operator()() [1/3]

template<typename T >
constexpr T amrex::NonLocalBC::Identity::operator() ( Array4< const T >  array,
Dim3  i,
int  comp = 0 
) const
inlineconstexprnoexcept
Returns
Returns array(i.x,i.y,i.z,comp)

◆ operator()() [2/3]

constexpr Dim3 amrex::NonLocalBC::Identity::operator() ( Dim3  i) const
inlineconstexprnoexcept

The identity function for Dim3.

◆ operator()() [3/3]

constexpr int amrex::NonLocalBC::Identity::operator() ( int  i) const
inlineconstexprnoexcept

The identity for int.


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