WarpX
Loading...
Searching...
No Matches
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{
21public:
22
28 ParticleMomentum(const std::string& rd_name);
29
37 void ComputeDiags(int step) final;
38};
39
40#endif
ParticleMomentum(const std::string &rd_name)
Constructor.
Definition ParticleMomentum.cpp:35
void ComputeDiags(int step) final
This function computes the particle relativistic momentum, obtained by summing over all particles the...
Definition ParticleMomentum.cpp:116
ReducedDiags(const std::string &rd_name)
Definition ReducedDiags.cpp:26