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  {
27  };
28 
42  OutputType otype,
43  std::string file_name,
44  int step = 0,
45  bool append = false);
46 
47 } // namespace impactx::diagnostics
48 
49 #endif // IMPACTX_DIAGNOSTIC_OUTPUT_H
Definition: ImpactXParticleContainer.H:127
Definition: DiagnosticOutput.cpp:26
void DiagnosticOutput(ImpactXParticleContainer const &pc, OutputType const otype, std::string file_name, int step, bool append)
Definition: DiagnosticOutput.cpp:27
OutputType
Definition: DiagnosticOutput.H:23
@ PrintRefParticle
ASCII diagnostics.
@ PrintNonlinearLensInvariants
ASCII diagnostics for the IOTA nonlinear lens, for small tests only.
@ PrintReducedBeamCharacteristics
ASCII diagnostics, for beam momenta and Twiss parameters.