WarpX
Source
Diagnostics
ReducedDiags
ParticleEnergy.H
Go to the documentation of this file.
1
/* Copyright 2019-2020 Yinjian Zhao
2
*
3
* This file is part of WarpX.
4
*
5
* License: BSD-3-Clause-LBNL
6
*/
7
8
#ifndef WARPX_DIAGNOSTICS_REDUCEDDIAGS_PARTICLEENERGY_H_
9
#define WARPX_DIAGNOSTICS_REDUCEDDIAGS_PARTICLEENERGY_H_
10
11
#include "
ReducedDiags.H
"
12
13
#include <string>
14
20
class
ParticleEnergy
:
public
ReducedDiags
21
{
22
public
:
23
28
ParticleEnergy
(
const
std::string& rd_name);
29
38
void
ComputeDiags
(
int
step)
final
;
39
40
};
41
42
#endif
ReducedDiags.H
ParticleEnergy
Definition:
ParticleEnergy.H:21
ParticleEnergy::ComputeDiags
void ComputeDiags(int step) final
Definition:
ParticleEnergy.cpp:88
ParticleEnergy::ParticleEnergy
ParticleEnergy(const std::string &rd_name)
Definition:
ParticleEnergy.cpp:37
ReducedDiags
Definition:
ReducedDiags.H:24
Generated by
1.9.1