![]() |
|
|||
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/Debug.hh 0007 //! \brief Utilities *only* for interactive debugging 0008 //---------------------------------------------------------------------------// 0009 #pragma once 0010 0011 #include "celeritas/geo/GeoFwd.hh" 0012 0013 namespace celeritas 0014 { 0015 //---------------------------------------------------------------------------// 0016 // Forward declarations 0017 class CoreParams; 0018 class CoreTrackView; 0019 class ParticleTrackView; 0020 class SimTrackView; 0021 0022 //---------------------------------------------------------------------------// 0023 // Params during an execute call, ONLY for interactive debugging 0024 extern CoreParams const* g_debug_executing_params; 0025 0026 //---------------------------------------------------------------------------// 0027 // Print everything that can be printed about a core track view 0028 void debug_print(CoreTrackView const&); 0029 0030 //---------------------------------------------------------------------------// 0031 // Print a SimTrackView on host 0032 void debug_print(SimTrackView const&); 0033 0034 //---------------------------------------------------------------------------// 0035 // Print a ParticleTrackView on host 0036 void debug_print(ParticleTrackView const&); 0037 0038 //---------------------------------------------------------------------------// 0039 } // 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 |
![]() ![]() |