Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 10:23:49

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 orange/orangeinp/CsgTreeIO.json.hh
0006 //---------------------------------------------------------------------------//
0007 #pragma once
0008 
0009 #include <nlohmann/json.hpp>
0010 
0011 #include "CsgTree.hh"
0012 
0013 namespace celeritas
0014 {
0015 namespace orangeinp
0016 {
0017 //---------------------------------------------------------------------------//
0018 
0019 void to_json(nlohmann::json& j, CsgTree const& tree);
0020 
0021 namespace detail
0022 {
0023 //---------------------------------------------------------------------------//
0024 struct CsgUnit;
0025 void to_json(nlohmann::json& j, CsgUnit const& tree);
0026 
0027 //---------------------------------------------------------------------------//
0028 }  // namespace detail
0029 }  // namespace orangeinp
0030 }  // namespace celeritas