Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-11-07 10:11:34

0001 //------------------------------- -*- C++ -*- -------------------------------//
0002 // Copyright Celeritas contributors: see top-level COPYRIGHT file for details
0003 // SPDX-License-Identifier: (Apache-2.0 OR MIT)
0004 //---------------------------------------------------------------------------//
0005 //! \file celeritas/inp/DiagnosticsIO.json.hh
0006 //---------------------------------------------------------------------------//
0007 #pragma once
0008 
0009 #include <nlohmann/json.hpp>
0010 
0011 #include "Diagnostics.hh"
0012 
0013 namespace celeritas
0014 {
0015 namespace inp
0016 {
0017 //---------------------------------------------------------------------------//
0018 
0019 void to_json(nlohmann::json& j, ExportFiles const&);
0020 void from_json(nlohmann::json const& j, ExportFiles&);
0021 
0022 void to_json(nlohmann::json& j, SlotDiagnostic const&);
0023 void from_json(nlohmann::json const& j, SlotDiagnostic&);
0024 
0025 void to_json(nlohmann::json& j, Timers const&);
0026 void from_json(nlohmann::json const& j, Timers&);
0027 
0028 void to_json(nlohmann::json& j, Counters const&);
0029 void from_json(nlohmann::json const& j, Counters&);
0030 
0031 void to_json(nlohmann::json& j, McTruth const&);
0032 void from_json(nlohmann::json const& j, McTruth&);
0033 
0034 void to_json(nlohmann::json& j, StepDiagnostic const&);
0035 void from_json(nlohmann::json const& j, StepDiagnostic&);
0036 
0037 void to_json(nlohmann::json& j, Diagnostics const&);
0038 void from_json(nlohmann::json const& j, Diagnostics&);
0039 
0040 //---------------------------------------------------------------------------//
0041 }  // namespace inp
0042 }  // namespace celeritas