This class mainly contains a function that computes the particle relativistic momentum of each species.
More...
#include <ParticleMomentum.H>
This class mainly contains a function that computes the particle relativistic momentum of each species.
◆ ParticleMomentum()
| ParticleMomentum::ParticleMomentum |
( |
std::string |
rd_name | ) |
|
Constructor.
- Parameters
-
| [in] | rd_name | reduced diags names |
◆ ComputeDiags()
| void ParticleMomentum::ComputeDiags |
( |
int |
step | ) |
|
|
finaloverridevirtual |
This function computes the particle relativistic momentum, obtained by summing over all particles the product p * w, where p is the relativistic momentum and w is the individual particle weight.
- Parameters
-
| [in] | step | current time step |
Implements ReducedDiags.
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/21.10/Source/Diagnostics/ReducedDiags/ParticleMomentum.H
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/21.10/Source/Diagnostics/ReducedDiags/ParticleMomentum.cpp