This class contains a vector of all diagnostics in the simulation.
More...
#include <MultiDiagnostics.H>
This class contains a vector of all diagnostics in the simulation.
◆ MultiDiagnostics()
MultiDiagnostics::MultiDiagnostics |
( |
| ) |
|
Resize alldiags and initialize each element to a pointer to a diagnostics. Calls the corresponding diagnostics constructor.
◆ diagstypes()
◆ FilterComputePackFlush()
void MultiDiagnostics::FilterComputePackFlush |
( |
int |
step, |
|
|
bool |
force_flush = false , |
|
|
bool |
BackTransform = false |
|
) |
| |
Called at each iteration. Compute diags and flush.
◆ FilterComputePackFlushLastTimestep()
void MultiDiagnostics::FilterComputePackFlushLastTimestep |
( |
int |
step | ) |
|
Called only at the last iteration. Loop over each diag and if m_dump_last_timestep is true, compute diags and flush with force_flush=true.
◆ GetDiag()
◆ GetTotalDiags()
int MultiDiagnostics::GetTotalDiags |
( |
| ) |
const |
|
inline |
◆ InitData()
void MultiDiagnostics::InitData |
( |
| ) |
|
Loop over diags in alldiags and call their InitDiags.
◆ InitializeFieldFunctors()
void MultiDiagnostics::InitializeFieldFunctors |
( |
int |
lev | ) |
|
Loop over diags in all diags and call their InitializeFieldFunctors. Called when a new partitioning is generated at level, lev.
- Parameters
-
[in] | lev | level at this the field functors are initialized. |
◆ NewIteration()
void MultiDiagnostics::NewIteration |
( |
| ) |
|
Start a new iteration, i.e., dump has not been done yet.
◆ ReadParameters()
void MultiDiagnostics::ReadParameters |
( |
| ) |
|
Read Input parameters. Called in constructor.
◆ alldiags
Vector of pointers to all diagnostics
◆ diags_names
std::vector<std::string> MultiDiagnostics::diags_names |
|
private |
◆ diags_types
std::vector<DiagTypes> MultiDiagnostics::diags_types |
|
private |
◆ ndiags
int MultiDiagnostics::ndiags = 0 |
|
private |
number of different diagnostics
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/latest/Source/Diagnostics/MultiDiagnostics.H
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/latest/Source/Diagnostics/MultiDiagnostics.cpp