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

Method minimalBox

Src/Base/AMReX_BoxList.cpp:746–760  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

744}
745
746Box
747BoxList::minimalBox () const
748{
749 Box minbox(IntVect::TheUnitVector(), IntVect::TheZeroVector(), ixType());
750 if ( !isEmpty() )
751 {
752 auto bli = cbegin(), End = cend();
753 minbox = *bli;
754 while ( bli != End )
755 {
756 minbox.minBox(*bli++);
757 }
758 }
759 return minbox;
760}
761
762BoxList&
763BoxList::maxSize (const IntVect& chunk)

Callers 15

AMREX_D_TERMFunction · 0.45
testFunction · 0.45
main_mainFunction · 0.45
ReadNonPlotfileDataMethod · 0.45
RunSendsPFMethod · 0.45
RunTimelinePFMethod · 0.45
RunACTPFMethod · 0.45
UpdateStatsMethod · 0.45
defineGridsMethod · 0.45
update_singular_flagsMethod · 0.45
prepareForSolveMethod · 0.45
constructAreaNotToTagMethod · 0.45

Calls 2

minBoxMethod · 0.80
isEmptyFunction · 0.70

Tested by

no test coverage detected