WarpX
Loading...
Searching...
No Matches
ColliderRelevant.H
Go to the documentation of this file.
1/* Copyright 2023 The WarpX Community
2 *
3 * This file is part of WarpX.
4 *
5 * Authors: Arianna Formenti
6 * License: BSD-3-Clause-LBNL
7 */
8
9#ifndef WARPX_DIAGNOSTICS_REDUCEDDIAGS_COLLIDERRELEVANT_H_
10#define WARPX_DIAGNOSTICS_REDUCEDDIAGS_COLLIDERRELEVANT_H_
11
12#include "ReducedDiags.H"
13
14#include <map>
15#include <string>
16#include <vector>
17
22{
23public:
24
29 ColliderRelevant(const std::string& rd_name);
30
32 std::vector<std::string> m_beam_name;
33
47 void ComputeDiags(int step) final;
48
49private:
52 {
53 std::string header;
54 int idx;
55 };
56
58 std::map<std::string, aux_header_index> m_headers_indices;
59};
60
61#endif // WARPX_DIAGNOSTICS_REDUCEDDIAGS_COLLIDERRELEVANT_H_
std::map< std::string, aux_header_index > m_headers_indices
map to store header texts and indices of the reduced diagnostics
Definition ColliderRelevant.H:58
std::vector< std::string > m_beam_name
name of the two colliding species
Definition ColliderRelevant.H:32
ColliderRelevant(const std::string &rd_name)
Definition ColliderRelevant.cpp:64
void ComputeDiags(int step) final
This function computes collider-relevant diagnostics.
Definition ColliderRelevant.cpp:191
ReducedDiags(const std::string &rd_name)
Definition ReducedDiags.cpp:26
auxiliary structure to store headers and indices of the reduced diagnostics
Definition ColliderRelevant.H:52
int idx
Definition ColliderRelevant.H:54
std::string header
Definition ColliderRelevant.H:53