WarpX
Toggle main menu visibility
Loading...
Searching...
No Matches
Source
Parallelization
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
21
void
22
WarpXSumGuardCells
(
amrex::MultiFab
& mf,
const
amrex::Periodicity
& period,
23
const
amrex::IntVect
& src_ngrow,
24
int
icomp=0,
int
ncomp=1);
25
37
void
38
WarpXSumGuardCells
(
amrex::MultiFab
& dst,
amrex::MultiFab
& src,
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_
AMReX_MultiFab.H
WarpXSumGuardCells
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
amrex::MultiFab
amrex::Periodicity
amrex::IntVect
IntVectND< 3 > IntVect
Generated by
1.17.0