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

Method set

Src/Base/AMReX_BoxArray.cpp:877–885  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

875}
876
877void
878BoxArray::set (int i, const Box& ibox)
879{
880 BL_ASSERT(m_bat.is_simple() && crseRatio() == IntVect::TheUnitVector());
881 if (i == 0) {
882 m_bat.set_index_type(ibox.ixType());
883 }
884 m_ref->m_abox[i] = amrex::enclosedCells(ibox);
885}
886
887Box
888BoxArray::operator[] (const MFIter& mfi) const noexcept

Callers 15

InterpFromCoarseLevelFunction · 0.45
boxArrayMethod · 0.45
defineMethod · 0.45
interp_arrMethod · 0.45
FillCoarsePatchMethod · 0.45
AMReX_Box.HFile · 0.45
boxListMethod · 0.45
complementInMethod · 0.45
intersectFunction · 0.45

Calls 3

is_simpleMethod · 0.80
set_index_typeMethod · 0.80
ixTypeMethod · 0.45

Tested by 1

MakeBoxArrayFunction · 0.36