WarpX
Interpolate.H
Go to the documentation of this file.
1 #ifndef WARPX_INTERPOLATE_H_
2 #define WARPX_INTERPOLATE_H_
3 
4 #include "WarpX.H"
5 
6 namespace Interpolate
7 {
8  using namespace amrex;
9 
13  std::unique_ptr<MultiFab>
15  const MultiFab& F_cp, const MultiFab& F_fp,
16  const DistributionMapping& dm, const int r_ratio,
17  const Real* /*dx*/, const int ngrow );
18 
22  std::array<std::unique_ptr<MultiFab>, 3>
24  const MultiFab* Fx_cp,
25  const MultiFab* Fy_cp,
26  const MultiFab* Fz_cp,
27  const MultiFab* Fx_fp,
28  const MultiFab* Fy_fp,
29  const MultiFab* Fz_fp,
30  const DistributionMapping& dm, const int r_ratio,
31  const Real* dx, const int ngrow );
32 
33 }
34 
35 #endif // WARPX_INTERPOLATE_H_
Definition: Interpolate.cpp:4
int dx
Definition: compute_domain.py:35
std::unique_ptr< MultiFab > getInterpolatedScalar(const MultiFab &F_cp, const MultiFab &F_fp, const DistributionMapping &dm, const int r_ratio, const Real *, const int ngrow)
Samples/Interpolates the coarse scalar multifab F_cp on the fine grid associated with the fine multif...
Definition: Interpolate.cpp:9
std::array< std::unique_ptr< MultiFab >, 3 > getInterpolatedVector(const MultiFab *Fx_cp, const MultiFab *Fy_cp, const MultiFab *Fz_cp, const MultiFab *Fx_fp, const MultiFab *Fy_fp, const MultiFab *Fz_fp, const DistributionMapping &dm, const int r_ratio, const Real *, const int ngrow)
Samples/Interpolates the coarse vector multifab F*_cp on the fine grid associated with the fine multi...
Definition: Interpolate.cpp:51
Definition: PML.H:52