Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
amrex::EBDataArrays Struct Reference

#include <AMReX_EBData.H>

Public Member Functions

template<EBData_t T>
__host__ __device__ auto get (int box_no, 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||T==EBData_t::fcx||T==EBData_t::fcy||T==EBData_t::fcz, int > = 0>
__host__ __device__ auto get (int box_no, int i, int j, int k, int n) const noexcept
 
__host__ __device__ EBData get (int box_no) const noexcept
 

Public Attributes

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

Static Public Attributes

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

Member Function Documentation

◆ get() [1/3]

__host__ __device__ EBData amrex::EBDataArrays::get ( int  box_no) const
inlinenoexcept

◆ get() [2/3]

template<EBData_t T>
__host__ __device__ auto amrex::EBDataArrays::get ( int  box_no,
int  i,
int  j,
int  k 
) const
inlinenoexcept

◆ get() [3/3]

__host__ __device__ auto amrex::EBDataArrays::get ( int  box_no,
int  i,
int  j,
int  k,
int  n 
) const
inlinenoexcept

Member Data Documentation

◆ m_cell_flag

Array4<EBCellFlag const> const* __restrict__ amrex::EBDataArrays::m_cell_flag = nullptr

◆ m_real_data

Array4<Real const> const* __restrict__ amrex::EBDataArrays::m_real_data = nullptr

◆ real_data_size

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

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