WarpX
Loading...
Searching...
No Matches
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#if !defined (WARPX_DIM_1D_Z)
29#endif
30#if defined (WARPX_DIM_3D)
31 y,
32#endif
33#if !defined(WARPX_DIM_RCYLINDER) || !defined(WARPX_DIM_RSPHERE)
35#endif
36 Ex, Ey, Ez,
37 Bx, By, Bz,
38 S,
39#if defined(WARPX_DIM_RZ) || defined(WARPX_DIM_RCYLINDER) || defined(WARPX_DIM_RSPHERE)
41
42#endif
43#if defined(WARPX_DIM_RSPHERE)
44 phi,
45#endif
47 };
48};
49
80
81#endif // WARPX_FieldProbeParticleContainer_H_
FieldProbeParticleContainer(amrex::AmrCore *amr_core)
Definition FieldProbeParticleContainer.cpp:28
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:35
~FieldProbeParticleContainer() override=default
static constexpr int NStructReal
Definition FieldProbeParticleContainer.H:59
static constexpr int NInt
Definition FieldProbeParticleContainer.H:62
amrex::ParIterSoA< FieldProbePIdx::nattribs, 0 > iterator
amrex iterator for our number of attributes
Definition FieldProbeParticleContainer.H:73
static constexpr int NReal
Definition FieldProbeParticleContainer.H:61
FieldProbeParticleContainer(FieldProbeParticleContainer const &)=delete
static constexpr int NStructInt
Definition FieldProbeParticleContainer.H:60
amrex::ParConstIterSoA< FieldProbePIdx::nattribs, 0 > const_iterator
amrex iterator for our number of attributes (read-only)
Definition FieldProbeParticleContainer.H:75
FieldProbeParticleContainer & operator=(FieldProbeParticleContainer const &)=delete
FieldProbeParticleContainer(FieldProbeParticleContainer &&)=default
ParIter_impl< SoAParticle< T_NArrayReal, T_NArrayInt >, T_NArrayReal, T_NArrayInt, Allocator, CellAssignor > ParIterSoA
ParConstIter_impl< SoAParticle< T_NArrayReal, T_NArrayInt >, T_NArrayReal, T_NArrayInt, Allocator, CellAssignor > ParConstIterSoA
ParticleContainer_impl< SoAParticle< T_NArrayReal, T_NArrayInt >, T_NArrayReal, T_NArrayInt, Allocator, CellAssignor > ParticleContainerPureSoA
Definition FieldProbeParticleContainer.H:24
@ S
the Poynting vector
Definition FieldProbeParticleContainer.H:38
@ z
Definition FieldProbeParticleContainer.H:34
@ By
Definition FieldProbeParticleContainer.H:37
@ nattribs
Definition FieldProbeParticleContainer.H:46
@ Ez
Definition FieldProbeParticleContainer.H:36
@ x
Definition FieldProbeParticleContainer.H:28
@ theta
Cylindrical and spherical needs the angle.
Definition FieldProbeParticleContainer.H:40
@ Ey
Definition FieldProbeParticleContainer.H:36
@ Bx
Definition FieldProbeParticleContainer.H:37
@ Bz
Definition FieldProbeParticleContainer.H:37
@ Ex
Definition FieldProbeParticleContainer.H:36