WarpX
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 
25 void
27  const amrex::IntVect& src_ngrow,
28  int icomp=0, int ncomp=1);
29 
45 void
47  const amrex::Periodicity& period,
48  const amrex::IntVect& src_ngrow,
49  int icomp=0, int ncomp=1);
50 
51 #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