WarpX
Loading...
Searching...
No Matches
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{
20public:
21
27 FieldMomentum(const std::string& rd_name);
28
35 void ComputeDiags(int step) final;
36};
37
38#endif
FieldMomentum(const std::string &rd_name)
Constructor.
Definition FieldMomentum.cpp:44
void ComputeDiags(int step) final
This function computes the electromagnetic momentum, obtained by integrating the electromagnetic mome...
Definition FieldMomentum.cpp:97
ReducedDiags(const std::string &rd_name)
Definition ReducedDiags.cpp:26