Back to home page

EIC code displayed by LXR

 
 

    


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

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/optical/gen/GeneratorDataIO.json.hh
0006 //---------------------------------------------------------------------------//
0007 #pragma once
0008 
0009 #include <nlohmann/json.hpp>
0010 
0011 #include "GeneratorData.hh"
0012 
0013 namespace celeritas
0014 {
0015 namespace optical
0016 {
0017 //---------------------------------------------------------------------------//
0018 
0019 void to_json(nlohmann::json& j, GeneratorStepData const&);
0020 void from_json(nlohmann::json const& j, GeneratorStepData&);
0021 
0022 void to_json(nlohmann::json& j, GeneratorDistributionData const&);
0023 void from_json(nlohmann::json const& j, GeneratorDistributionData&);
0024 
0025 //---------------------------------------------------------------------------//
0026 }  // namespace optical
0027 }  // namespace celeritas