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

Function average_down_edges

Src/Base/AMReX_MultiFabUtil.cpp:492–499  ·  view source on GitHub ↗

Average fine edge-based MultiFab onto crse edge-based MultiFab. This routine does NOT assume that the crse BoxArray is a coarsened version of the fine BoxArray.

Source from the content-addressed store, hash-verified

490 //! Average fine edge-based MultiFab onto crse edge-based MultiFab.
491 //! This routine does NOT assume that the crse BoxArray is a coarsened version of the fine BoxArray.
492 void average_down_edges (const Vector<const MultiFab*>& fine, const Vector<MultiFab*>& crse,
493 const IntVect& ratio, int ngcrse)
494 {
495 for (int idim = 0; idim < AMREX_SPACEDIM; ++idim)
496 {
497 average_down_edges(*fine[idim], *crse[idim], ratio, ngcrse);
498 }
499 }
500
501 void average_down_edges (const Array<const MultiFab*,AMREX_SPACEDIM>& fine,
502 const Array<MultiFab*,AMREX_SPACEDIM>& crse,

Callers 1

setBetaMethod · 0.85

Calls 15

AbortFunction · 0.85
isMFIterSafeFunction · 0.85
inLaunchRegionFunction · 0.85
inNoSyncRegionFunction · 0.85
streamSynchronizeFunction · 0.85
TilingIfNotGPUFunction · 0.85
MFInfoClass · 0.85
cellCenteredMethod · 0.80
nodeCenteredMethod · 0.80
isFusingCandidateMethod · 0.80
growntileboxMethod · 0.80
DistributionMapMethod · 0.80

Tested by

no test coverage detected