WarpX
Loading...
Searching...
No Matches
IntegratedGreenFunctionSolver.H File Reference
#include <ablastr/constant.H>
#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

namespace  ablastr
 
namespace  ablastr::fields
 

Functions

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real ablastr::fields::IntegratedPotential3D (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.
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real ablastr::fields::IntegratedPotential2D (amrex::Real x, amrex::Real y)
 Implements equation 58 in https://doi.org/10.1016/j.jcp.2004.01.008.
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real ablastr::fields::SumOfIntegratedPotential3D (amrex::Real x, amrex::Real y, amrex::Real z, amrex::Real dx, amrex::Real dy, amrex::Real dz)
 add
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real ablastr::fields::SumOfIntegratedPotential2D (amrex::Real x, amrex::Real y, amrex::Real dx, amrex::Real dy)
 add
 
void ablastr::fields::computePhiIGF (amrex::MultiFab const &rho, amrex::MultiFab &phi, std::array< amrex::Real, 3 > const &cell_size, bool is_igf_2d_slices)
 Compute the electrostatic potential using the Integrated Green Function method as in http://dx.doi.org/10.1103/PhysRevSTAB.9.044204.