Block-Structured AMR Software Framework
AssignGridFilter Struct Reference

#include <AMReX_ParticleContainerI.H>

Public Member Functions

 AssignGridFilter (amrex::AmrAssignGrid< amrex::DenseBinIteratorFactory< amrex::Box >> assign_grid, int gid, int level, int nGrow)
 This filters based on matching grids. More...
 
template<typename SrcData >
AMREX_GPU_HOST_DEVICE int operator() (const SrcData &src, int src_i) const noexcept
 

Public Attributes

int m_lev_min
 
int m_lev_max
 
int m_nGrow
 
int m_gid
 
amrex::AmrAssignGrid< amrex::DenseBinIteratorFactory< amrex::Box > > m_assign_grid
 

Constructor & Destructor Documentation

◆ AssignGridFilter()

AssignGridFilter::AssignGridFilter ( amrex::AmrAssignGrid< amrex::DenseBinIteratorFactory< amrex::Box >>  assign_grid,
int  gid,
int  level,
int  nGrow 
)
inline

This filters based on matching grids.

Member Function Documentation

◆ operator()()

template<typename SrcData >
AMREX_GPU_HOST_DEVICE int AssignGridFilter::operator() ( const SrcData &  src,
int  src_i 
) const
inlinenoexcept

Member Data Documentation

◆ m_assign_grid

◆ m_gid

int AssignGridFilter::m_gid

◆ m_lev_max

int AssignGridFilter::m_lev_max

◆ m_lev_min

int AssignGridFilter::m_lev_min

◆ m_nGrow

int AssignGridFilter::m_nGrow

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