WarpX
Loading...
Searching...
No Matches
WarpXSumGuardCells.H
Go to the documentation of this file.
1/* Copyright 2019 Maxence Thevenet, Remi Lehe, Weiqun Zhang
2 *
3 *
4 * This file is part of WarpX.
5 *
6 * License: BSD-3-Clause-LBNL
7 */
8#ifndef WARPX_SUM_GUARD_CELLS_H_
9#define WARPX_SUM_GUARD_CELLS_H_
10
11#include <AMReX_MultiFab.H>
12
21void
23 const amrex::IntVect& src_ngrow,
24 int icomp=0, int ncomp=1);
25
37void
39 const amrex::Periodicity& period,
40 const amrex::IntVect& src_ngrow,
41 int icomp=0, int ncomp=1);
42
43#endif // WARPX_SUM_GUARD_CELLS_H_
void WarpXSumGuardCells(amrex::MultiFab &mf, const amrex::Periodicity &period, const amrex::IntVect &src_ngrow, int icomp=0, int ncomp=1)
Sum the values of mf, where the different boxes overlap (i.e. in the guard cells)
Definition WarpXSumGuardCells.cpp:18
IntVectND< 3 > IntVect