Block-Structured AMR Software Framework
amrex::BndryFuncArray Class Reference

This version calls function working on array. More...

#include <AMReX_PhysBCFunct.H>

Public Member Functions

 BndryFuncArray () noexcept=default
 
 BndryFuncArray (BndryFuncDefault inFunc) noexcept
 
 BndryFuncArray (BndryFunc3DDefault inFunc) noexcept
 
void operator() (Box const &bx, FArrayBox &dest, int dcomp, int numcomp, Geometry const &geom, Real time, const Vector< BCRec > &bcr, int bcomp, int orig_comp)
 
bool RunOnGPU () const noexcept
 

Protected Attributes

BndryFuncDefault m_func = nullptr
 
BndryFunc3DDefault m_func3D = nullptr
 
bool m_run_on_gpu = false
 

Detailed Description

This version calls function working on array.

Constructor & Destructor Documentation

◆ BndryFuncArray() [1/3]

amrex::BndryFuncArray::BndryFuncArray ( )
defaultnoexcept

◆ BndryFuncArray() [2/3]

amrex::BndryFuncArray::BndryFuncArray ( BndryFuncDefault  inFunc)
inlinenoexcept

◆ BndryFuncArray() [3/3]

amrex::BndryFuncArray::BndryFuncArray ( BndryFunc3DDefault  inFunc)
inlinenoexcept

Member Function Documentation

◆ operator()()

void amrex::BndryFuncArray::operator() ( Box const &  bx,
FArrayBox dest,
int  dcomp,
int  numcomp,
Geometry const &  geom,
Real  time,
const Vector< BCRec > &  bcr,
int  bcomp,
int  orig_comp 
)

◆ RunOnGPU()

bool amrex::BndryFuncArray::RunOnGPU ( ) const
inlinenoexcept

Member Data Documentation

◆ m_func

BndryFuncDefault amrex::BndryFuncArray::m_func = nullptr
protected

◆ m_func3D

BndryFunc3DDefault amrex::BndryFuncArray::m_func3D = nullptr
protected

◆ m_run_on_gpu

bool amrex::BndryFuncArray::m_run_on_gpu = false
protected

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