ARTEMIS
ParticleMomentum.H
Go to the documentation of this file.
1 /* Copyright 2019-2020
2  *
3  * This file is part of WarpX.
4  *
5  * License: BSD-3-Clause-LBNL
6  */
7 
8 #ifndef WARPX_DIAGNOSTICS_REDUCEDDIAGS_PARTICLEMOMENTUM_H_
9 #define WARPX_DIAGNOSTICS_REDUCEDDIAGS_PARTICLEMOMENTUM_H_
10 
11 #include "ReducedDiags.H"
12 
13 #include <string>
14 
20 {
21 public:
22 
28  ParticleMomentum(std::string rd_name);
29 
37  virtual void ComputeDiags(int step) override final;
38 };
39 
40 #endif
This class mainly contains a function that computes the particle relativistic momentum of each specie...
Definition: ParticleMomentum.H:20
virtual void ComputeDiags(int step) override final
This function computes the particle relativistic momentum, obtained by summing over all particles the...
Definition: ParticleMomentum.cpp:116
ParticleMomentum(std::string rd_name)
Constructor.
Definition: ParticleMomentum.cpp:35
Definition: ReducedDiags.H:24