Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-09-18 09:24:54

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/OrangeInputIO.json.hh
0006 //---------------------------------------------------------------------------//
0007 #pragma once
0008 
0009 #include <nlohmann/json.hpp>
0010 
0011 #include "OrangeData.hh"
0012 #include "OrangeInput.hh"
0013 
0014 namespace celeritas
0015 {
0016 //---------------------------------------------------------------------------//
0017 
0018 void from_json(nlohmann::json const& j, VolumeInput& value);
0019 void to_json(nlohmann::json& j, VolumeInput const& value);
0020 
0021 void from_json(nlohmann::json const& j, UnitInput& value);
0022 void to_json(nlohmann::json& j, UnitInput const& value);
0023 
0024 void from_json(nlohmann::json const& j, RectArrayInput& value);
0025 void to_json(nlohmann::json& j, RectArrayInput const& value);
0026 
0027 template<class T>
0028 void from_json(nlohmann::json const& j, Tolerance<>& value);
0029 template<class T>
0030 void to_json(nlohmann::json& j, Tolerance<T> const& value);
0031 
0032 void from_json(nlohmann::json const& j, OrangeInput& value);
0033 void to_json(nlohmann::json& j, OrangeInput const& value);
0034 
0035 //---------------------------------------------------------------------------//
0036 }  // namespace celeritas