ImpactX
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 
14 
15 #include <string>
16 
17 
18 namespace impactx::diagnostics
19 {
22  enum class OutputType
23  {
27  };
28 
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
Definition: DiagnosticOutput.cpp:22
ASCII diagnostics, for small tests only.
ASCII diagnostics for the IOTA nonlinear lens, for small tests only.
OutputType
Definition: DiagnosticOutput.H:22
ASCII diagnostics, for small tests only.
void DiagnosticOutput(ImpactXParticleContainer const &pc, OutputType const otype, std::string file_name, int const step, bool const append)
Definition: DiagnosticOutput.cpp:24
Definition: ImpactXParticleContainer.H:111