WarpX
FieldMomentum.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_FIELDMOMENTUM_H_
9 #define WARPX_DIAGNOSTICS_REDUCEDDIAGS_FIELDMOMENTUM_H_
10 
11 #include "ReducedDiags.H"
12 
13 #include <string>
14 
19 {
20 public:
21 
27  FieldMomentum(const std::string& rd_name);
28 
35  void ComputeDiags(int step) final;
36 };
37 
38 #endif
This class mainly contains a function that computes the field momentum.
Definition: FieldMomentum.H:19
FieldMomentum(const std::string &rd_name)
Constructor.
Definition: FieldMomentum.cpp:43
void ComputeDiags(int step) final
This function computes the electromagnetic momentum, obtained by integrating the electromagnetic mome...
Definition: FieldMomentum.cpp:96
Definition: ReducedDiags.H:24