WarpX
|
#include <AMReX_BoxArray.H>
#include <AMReX_GpuQualifiers.H>
#include <AMReX_MultiFab.H>
#include <AMReX_REAL.H>
#include <AMReX_Vector.H>
#include <array>
#include <cmath>
Go to the source code of this file.
Namespaces | |
ablastr | |
ablastr::fields | |
Functions | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | ablastr::fields::IntegratedPotential (amrex::Real x, amrex::Real y, amrex::Real z) |
Implements equation 2 in https://doi.org/10.1103/PhysRevSTAB.10.129901 with some modification to symmetrize the function. More... | |
void | ablastr::fields::computePhiIGF (amrex::MultiFab const &rho, amrex::MultiFab &phi, std::array< amrex::Real, 3 > const &cell_size, amrex::BoxArray const &ba) |
Compute the electrostatic potential using the Integrated Green Function method as in http://dx.doi.org/10.1103/PhysRevSTAB.9.044204. More... | |