![]() |
|
|||
File indexing completed on 2025-02-22 10:31:23
0001 //----------------------------------*-C++-*----------------------------------// 0002 // Copyright 2024 UT-Battelle, LLC, and other Celeritas developers. 0003 // See the top-level COPYRIGHT file for details. 0004 // SPDX-License-Identifier: (Apache-2.0 OR MIT) 0005 //---------------------------------------------------------------------------// 0006 //! \file celeritas/global/DebugIO.json.hh 0007 //! \brief Write *on-host* track views to JSON for debugging. 0008 //---------------------------------------------------------------------------// 0009 #pragma once 0010 0011 #include <nlohmann/json.hpp> 0012 0013 #include "celeritas/geo/GeoFwd.hh" 0014 0015 namespace celeritas 0016 { 0017 //---------------------------------------------------------------------------// 0018 // Forward declarations 0019 class CoreParams; 0020 class CoreTrackView; 0021 class ParticleTrackView; 0022 class SimTrackView; 0023 0024 //---------------------------------------------------------------------------// 0025 void to_json(nlohmann::json& j, CoreTrackView const&); 0026 0027 //---------------------------------------------------------------------------// 0028 void to_json(nlohmann::json& j, GeoTrackView const&); 0029 0030 //---------------------------------------------------------------------------// 0031 void to_json(nlohmann::json& j, ParticleTrackView const&); 0032 0033 //---------------------------------------------------------------------------// 0034 void to_json(nlohmann::json& j, SimTrackView const&); 0035 0036 //---------------------------------------------------------------------------// 0037 } // namespace celeritas
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |