Block-Structured AMR Software Framework
amrex::EBData Struct Reference

#include <AMReX_EBData.H>

Public Member Functions

template<EBData_t T>
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE auto get (int i, int j, int k) const noexcept
 
template<EBData_t T, std::enable_if_t< T==EBData_t::centroid||T==EBData_t::bndrycent||T==EBData_t::bndrynorm AMREX_D_TERM(||T==EBData_t::fcx,||T==EBData_t::fcy,||T==EBData_t::fcz), int > = 0>
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE auto get (int i, int j, int k, int n) const noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE GpuArray< Real, AMREX_SPACEDIM > randomPointOnEB (int i, int j, int k, RandomEngine const &engine) const
 

Public Attributes

Array4< EBCellFlag const > const * m_cell_flag = nullptr
 
Array4< Real const > const * m_real_data = nullptr
 

Static Public Attributes

static constexpr int real_data_size = static_cast<int>(EBData_t::cellflag)
 

Member Function Documentation

◆ get() [1/2]

template<EBData_t T>
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE auto amrex::EBData::get ( int  i,
int  j,
int  k 
) const
inlinenoexcept

◆ get() [2/2]

template<EBData_t T, std::enable_if_t< T==EBData_t::centroid||T==EBData_t::bndrycent||T==EBData_t::bndrynorm AMREX_D_TERM(||T==EBData_t::fcx,||T==EBData_t::fcy,||T==EBData_t::fcz), int > = 0>
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE auto amrex::EBData::get ( int  i,
int  j,
int  k,
int  n 
) const
inlinenoexcept

◆ randomPointOnEB()

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE GpuArray<Real,AMREX_SPACEDIM> amrex::EBData::randomPointOnEB ( int  i,
int  j,
int  k,
RandomEngine const &  engine 
) const
inline

Member Data Documentation

◆ m_cell_flag

Array4<EBCellFlag const> const* amrex::EBData::m_cell_flag = nullptr

◆ m_real_data

Array4<Real const> const* amrex::EBData::m_real_data = nullptr

◆ real_data_size

constexpr int amrex::EBData::real_data_size = static_cast<int>(EBData_t::cellflag)
staticconstexpr

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