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

Method growNonPeriodicDomain

Src/Base/AMReX_Geometry.cpp:484–494  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

482}
483
484Box
485Geometry::growNonPeriodicDomain (IntVect const& ngrow) const noexcept
486{
487 Box b = Domain();
488 for (int idim = 0; idim < AMREX_SPACEDIM; ++idim) {
489 if (!isPeriodic(idim)) {
490 b.grow(idim,ngrow[idim]);
491 }
492 }
493 return b;
494}
495
496Box
497Geometry::growPeriodicDomain (IntVect const& ngrow) const noexcept

Callers 1

FillPatchNLevelsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected