Block-Structured AMR Software Framework
amrex::ReduceOps< Ps > Class Template Reference

#include <AMReX_Reduce.H>

Public Member Functions

template<typename I , typename MF , typename D , typename F >
void eval_mf (I, MF const &mf, IntVect const &nghost, int ncomp, D &reduce_data, F const &f)
 
template<typename MF , typename D , typename F >
std::enable_if_t< IsFabArray< MF >::valueeval (MF const &mf, IntVect const &nghost, D &reduce_data, F &&f)
 
template<typename MF , typename D , typename F >
std::enable_if_t< IsFabArray< MF >::valueeval (MF const &mf, IntVect const &nghost, int ncomp, D &reduce_data, F &&f)
 
template<typename D , typename F >
void eval (Box const &box, D &reduce_data, F const &f)
 
template<typename N , typename D , typename F , typename M = std::enable_if_t<std::is_integral<N>::value>>
void eval (Box const &box, N ncomp, D &reduce_data, F const &f)
 
template<typename N , typename D , typename F , typename M = std::enable_if_t<std::is_integral<N>::value>>
void eval (N n, D &reduce_data, F const &f)
 
template<typename D >
D::Type value (D &reduce_data)
 
void resetResultReadiness ()
 

Private Attributes

bool m_result_is_ready = false
 

Member Function Documentation

◆ eval() [1/5]

template<typename... Ps>
template<typename D , typename F >
void amrex::ReduceOps< Ps >::eval ( Box const &  box,
D &  reduce_data,
F const &  f 
)
inline

◆ eval() [2/5]

template<typename... Ps>
template<typename N , typename D , typename F , typename M = std::enable_if_t<std::is_integral<N>::value>>
void amrex::ReduceOps< Ps >::eval ( Box const &  box,
ncomp,
D &  reduce_data,
F const &  f 
)
inline

◆ eval() [3/5]

template<typename... Ps>
template<typename MF , typename D , typename F >
std::enable_if_t<IsFabArray<MF>::value > amrex::ReduceOps< Ps >::eval ( MF const &  mf,
IntVect const &  nghost,
D &  reduce_data,
F &&  f 
)
inline

◆ eval() [4/5]

template<typename... Ps>
template<typename MF , typename D , typename F >
std::enable_if_t<IsFabArray<MF>::value > amrex::ReduceOps< Ps >::eval ( MF const &  mf,
IntVect const &  nghost,
int  ncomp,
D &  reduce_data,
F &&  f 
)
inline

◆ eval() [5/5]

template<typename... Ps>
template<typename N , typename D , typename F , typename M = std::enable_if_t<std::is_integral<N>::value>>
void amrex::ReduceOps< Ps >::eval ( n,
D &  reduce_data,
F const &  f 
)
inline

◆ eval_mf()

template<typename... Ps>
template<typename I , typename MF , typename D , typename F >
void amrex::ReduceOps< Ps >::eval_mf ( ,
MF const &  mf,
IntVect const &  nghost,
int  ncomp,
D &  reduce_data,
F const &  f 
)
inline

◆ resetResultReadiness()

template<typename... Ps>
void amrex::ReduceOps< Ps >::resetResultReadiness ( )
inline

◆ value()

template<typename... Ps>
template<typename D >
D::Type amrex::ReduceOps< Ps >::value ( D &  reduce_data)
inline

Member Data Documentation

◆ m_result_is_ready

template<typename... Ps>
bool amrex::ReduceOps< Ps >::m_result_is_ready = false
private

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