WarpX
FieldProbeParticleContainer.H
Go to the documentation of this file.
1 /* Copyright 2021 Elisa Rheaume, Axel Huebl
2  *
3  * This file is part of WarpX.
4  *
5  * License: BSD-3-Clause-LBNL
6  */
7 
8 #ifndef WARPX_FieldProbeParticleContainer_H_
9 #define WARPX_FieldProbeParticleContainer_H_
10 
11 #include <AMReX_ParIter.H>
12 #include <AMReX_Particles.H>
13 
14 #include <AMReX_BaseFwd.H>
15 #include <AMReX_AmrCoreFwd.H>
16 #include <AMReX_Vector.H>
17 
24 {
25  enum
26  {
27  Ex = 0, Ey, Ez,
28  Bx, By, Bz,
29  S,
30 #ifdef WARPX_DIM_RZ
32 #endif
33  nattribs
34  };
35 };
36 
43  : public amrex::ParticleContainer<0, 0, FieldProbePIdx::nattribs>
44 {
45 public:
47  ~FieldProbeParticleContainer() override = default;
48 
53 
58 
61 };
62 
63 #endif // WARPX_FieldProbeParticleContainer_H_
Definition: FieldProbeParticleContainer.H:44
FieldProbeParticleContainer(amrex::AmrCore *amr_core)
Definition: FieldProbeParticleContainer.cpp:61
void AddNParticles(int lev, amrex::Vector< amrex::ParticleReal > const &x, amrex::Vector< amrex::ParticleReal > const &y, amrex::Vector< amrex::ParticleReal > const &z)
similar to WarpXParticleContainer::AddNParticles but does not include u(x,y,z)
Definition: FieldProbeParticleContainer.cpp:68
~FieldProbeParticleContainer() override=default
FieldProbeParticleContainer(FieldProbeParticleContainer const &)=delete
FieldProbeParticleContainer & operator=(FieldProbeParticleContainer const &)=delete
FieldProbeParticleContainer(FieldProbeParticleContainer &&)=default
Definition: FieldProbeParticleContainer.H:24
@ S
the Poynting vector
Definition: FieldProbeParticleContainer.H:29
@ By
Definition: FieldProbeParticleContainer.H:28
@ nattribs
Definition: FieldProbeParticleContainer.H:33
@ Ez
Definition: FieldProbeParticleContainer.H:27
@ theta
RZ needs all three position components.
Definition: FieldProbeParticleContainer.H:31
@ Ey
Definition: FieldProbeParticleContainer.H:27
@ Bx
Definition: FieldProbeParticleContainer.H:28
@ Bz
Definition: FieldProbeParticleContainer.H:28
@ Ex
Definition: FieldProbeParticleContainer.H:27