WarpX
|
#include "FieldSolver/Fields.H"
#include "Particles/ParticleIO.H"
#include "Particles/MultiParticleContainer.H"
#include "Particles/PhysicalParticleContainer.H"
#include "Particles/LaserParticleContainer.H"
#include "Particles/RigidInjectedParticleContainer.H"
#include "Particles/SpeciesPhysicalProperties.H"
#include "Particles/WarpXParticleContainer.H"
#include "Utils/TextMsg.H"
#include "Utils/WarpXConst.H"
#include "Utils/WarpXProfilerWrapper.H"
#include <ablastr/utils/text/StreamUtils.H>
#include <AMReX_BLassert.H>
#include <AMReX_Config.H>
#include <AMReX_Extension.H>
#include <AMReX_GpuControl.H>
#include <AMReX_GpuLaunch.H>
#include <AMReX_GpuQualifiers.H>
#include <AMReX_PODVector.H>
#include <AMReX_ParIter.H>
#include <AMReX_ParticleIO.H>
#include <AMReX_REAL.H>
#include <AMReX_Vector.H>
#include <algorithm>
#include <array>
#include <istream>
#include <memory>
#include <string>
#include <sstream>
#include <vector>
Functions | |
void | storePhiOnParticles (PinnedMemoryParticleContainer &tmp, int electrostatic_solver_id, bool is_full_diagnostic) |
void storePhiOnParticles | ( | PinnedMemoryParticleContainer & | tmp, |
int | electrostatic_solver_id, | ||
bool | is_full_diagnostic | ||
) |
Gathers phi (electrostatic potential) from a MultiFab to the macroparticles. Adds a runtime component of the particle container to store it.
tmp | the particle container on which to store the gathered field |
electrostatic_solver_id | the type of electrostatic solver used |
is_full_diagnostic | whether this diagnostic is a full diagnostic |