ImpactX
src
particles
diagnostics
DiagnosticOutput.H
Go to the documentation of this file.
1
/* Copyright 2022 The Regents of the University of California, through Lawrence
2
* Berkeley National Laboratory (subject to receipt of any required
3
* approvals from the U.S. Dept. of Energy). All rights reserved.
4
*
5
* This file is part of ImpactX.
6
*
7
* Authors: Axel Huebl, Chad Mitchell
8
* License: BSD-3-Clause-LBNL
9
*/
10
#ifndef IMPACTX_DIAGNOSTIC_OUTPUT_H
11
#define IMPACTX_DIAGNOSTIC_OUTPUT_H
12
13
#include "
particles/ImpactXParticleContainer.H
"
14
15
#include <string>
16
17
18
namespace
impactx::diagnostics
19
{
22
enum class
OutputType
23
{
24
PrintParticles
,
25
PrintNonlinearLensInvariants
,
26
PrintRefParticle
27
};
28
41
void
DiagnosticOutput
(
ImpactXParticleContainer
const
& pc,
42
OutputType
const
otype,
43
std::string file_name,
44
int
const
step = 0,
45
bool
const
append =
false
);
46
47
}
// namespace impactx::diagnostics
48
49
#endif // IMPACTX_DIAGNOSTIC_OUTPUT_H
ImpactXParticleContainer.H
impactx::diagnostics
Definition:
DiagnosticOutput.cpp:22
impactx::diagnostics::OutputType::PrintParticles
ASCII diagnostics, for small tests only.
impactx::diagnostics::OutputType::PrintNonlinearLensInvariants
ASCII diagnostics for the IOTA nonlinear lens, for small tests only.
impactx::diagnostics::OutputType
OutputType
Definition:
DiagnosticOutput.H:22
impactx::diagnostics::OutputType::PrintRefParticle
ASCII diagnostics, for small tests only.
impactx::diagnostics::DiagnosticOutput
void DiagnosticOutput(ImpactXParticleContainer const &pc, OutputType const otype, std::string file_name, int const step, bool const append)
Definition:
DiagnosticOutput.cpp:24
impactx::ImpactXParticleContainer
Definition:
ImpactXParticleContainer.H:111
Generated by
1.8.13