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

Method getCellCenteredBox

Src/Base/AMReX_BoxArray.H:744–746  ·  view source on GitHub ↗

Return cell-centered box at element index of this BoxArray.

Source from the content-addressed store, hash-verified

742
743 //! Return cell-centered box at element index of this BoxArray.
744 [[nodiscard]] Box getCellCenteredBox (int index) const noexcept {
745 return m_bat.coarsen(m_ref->m_abox[index]);
746 }
747
748 /**
749 * \brief Return true if Box is valid and they all have the same

Callers 3

WhereMethod · 0.80
EnforcePeriodicWhereMethod · 0.80
buildTileArrayMethod · 0.80

Calls 1

coarsenMethod · 0.45

Tested by

no test coverage detected