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.
| 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, |
no test coverage detected