![]() |
Block-Structured AMR Software Framework
|
Set of Array4 views to EB data for a single box (plus helpers). More...
#include <AMReX_EBData.H>
Public Member Functions | |
| template<EBData_t T> | |
| __host__ __device__ auto | get (int i, int j, int k) const noexcept |
| Access scalar EB data entries at cell (i,j,k). | |
| template<EBData_t T> | |
| __host__ __device__ const auto & | get () const noexcept |
Access the Array4 backing EB data T. | |
| template<EBData_t T> requires ( T == EBData_t::centroid || T == EBData_t::bndrycent || T == EBData_t::bndrynorm || T==EBData_t::fcx || T==EBData_t::fcy || T==EBData_t::fcz ) | |
| __host__ __device__ auto | get (int i, int j, int k, int n) const noexcept |
| __host__ __device__ GpuArray< Real, 3 > | randomPointOnEB (int i, int j, int k, RandomEngine const &engine) const |
| Generate a uniformly random point on the EB face inside cell (i,j,k). | |
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) |
Set of Array4 views to EB data for a single box (plus helpers).
|
inlinenoexcept |
Access the Array4 backing EB data T.
|
inlinenoexcept |
Access scalar EB data entries at cell (i,j,k).
|
inlinenoexcept |
|
inline |
Generate a uniformly random point on the EB face inside cell (i,j,k).
Useful for Monte-Carlo flux evaluations or sampling with particles.
| Array4<EBCellFlag const> const* amrex::EBData::m_cell_flag = nullptr |
|
staticconstexpr |