MCPcopy Create free account
hub / github.com/AMReX-Codes/amrex / get

Method get

Src/EB/AMReX_EBData.H:237–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235 //! Return an EBData wrapper anchored at box \p box_no.
236 [[nodiscard]] AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
237 EBData get (int box_no) const noexcept
238 {
239 return EBData{.m_cell_flag = m_cell_flag + box_no,
240 .m_real_data = m_real_data + (box_no * real_data_size)};
241 }
242
243 static constexpr int real_data_size = static_cast<int>(EBData_t::cellflag);
244

Callers 9

ReadDataMethod · 0.45
ReadGridMethod · 0.45
WriteEBSurfaceFunction · 0.45
pushMethod · 0.45
eraseMethod · 0.45
BuildFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected