ImpactX
DiagnosticOutput.H
Go to the documentation of this file.
1 /* Copyright 2022-2023 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 
14 
15 #include <string>
16 
17 
18 namespace impactx::diagnostics
19 {
22  enum class OutputType
23  {
28  };
29 
43  OutputType const otype,
44  std::string file_name,
45  int const step = 0,
46  bool const append = false);
47 
48 } // namespace impactx::diagnostics
49 
50 #endif // IMPACTX_DIAGNOSTIC_OUTPUT_H
Definition: ImpactXParticleContainer.H:138
Definition: DiagnosticOutput.cpp:24
void DiagnosticOutput(ImpactXParticleContainer const &pc, OutputType const otype, std::string file_name, int const step, bool const append)
Definition: DiagnosticOutput.cpp:25
OutputType
Definition: DiagnosticOutput.H:23
@ PrintRefParticle
ASCII diagnostics, for small tests only.
@ PrintParticles
ASCII diagnostics, for small tests only.
@ PrintNonlinearLensInvariants
ASCII diagnostics for the IOTA nonlinear lens, for small tests only.
@ PrintReducedBeamCharacteristics
ASCII diagnostics, for beam momenta and Twiss parameters.