WarpX
Toggle main menu visibility
Loading...
Searching...
No Matches
Source
Diagnostics
ReducedDiags
ParticleExtrema.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_PARTICLEEXTREMA_H_
9
#define WARPX_DIAGNOSTICS_REDUCEDDIAGS_PARTICLEEXTREMA_H_
10
11
#include "
ReducedDiags.H
"
12
13
#include <map>
14
#include <string>
15
20
class
ParticleExtrema
:
public
ReducedDiags
21
{
22
public
:
23
28
explicit
ParticleExtrema
(
const
std::string& rd_name);
29
31
std::string
m_species_name
;
32
38
void
ComputeDiags
(
int
step)
final
;
39
40
private
:
42
struct
aux_header_index
43
{
44
std::string
header
;
45
int
idx
;
46
};
47
49
std::map<std::string, aux_header_index>
m_headers_indices
;
50
};
51
52
#endif
ReducedDiags.H
ParticleExtrema::ComputeDiags
void ComputeDiags(int step) final
Definition
ParticleExtrema.cpp:155
ParticleExtrema::m_species_name
std::string m_species_name
name of species
Definition
ParticleExtrema.H:31
ParticleExtrema::m_headers_indices
std::map< std::string, aux_header_index > m_headers_indices
map to store header texts and indices of the reduced diagnostics
Definition
ParticleExtrema.H:49
ParticleExtrema::ParticleExtrema
ParticleExtrema(const std::string &rd_name)
Definition
ParticleExtrema.cpp:60
ReducedDiags::ReducedDiags
ReducedDiags(const std::string &rd_name)
Definition
ReducedDiags.cpp:27
ParticleExtrema::aux_header_index
auxiliary structure to store headers and indices of the reduced diagnostics
Definition
ParticleExtrema.H:43
ParticleExtrema::aux_header_index::header
std::string header
Definition
ParticleExtrema.H:44
ParticleExtrema::aux_header_index::idx
int idx
Definition
ParticleExtrema.H:45
Generated by
1.17.0