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