![]() |
|
|||
File indexing completed on 2025-02-22 10:31:20
0001 //----------------------------------*-C++-*----------------------------------// 0002 // Copyright 2022-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/ext/GeantPhysicsOptionsIO.json.hh 0007 //---------------------------------------------------------------------------// 0008 #pragma once 0009 0010 #include <nlohmann/json.hpp> 0011 0012 namespace celeritas 0013 { 0014 //---------------------------------------------------------------------------// 0015 struct GeantPhysicsOptions; 0016 0017 //---------------------------------------------------------------------------// 0018 // Read options from JSON 0019 void from_json(nlohmann::json const& j, GeantPhysicsOptions& opts); 0020 0021 // Write options to JSON 0022 void to_json(nlohmann::json& j, GeantPhysicsOptions const& opts); 0023 0024 //---------------------------------------------------------------------------// 0025 } // 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 |
![]() ![]() |