Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-15 10:10:55

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/field/RZMapFieldInputIO.json.hh
0006 //---------------------------------------------------------------------------//
0007 #pragma once
0008 
0009 #include <nlohmann/json.hpp>
0010 
0011 namespace celeritas
0012 {
0013 //---------------------------------------------------------------------------//
0014 struct RZMapFieldInput;
0015 
0016 // Read field from JSON
0017 void from_json(nlohmann::json const& j, RZMapFieldInput& opts);
0018 
0019 // Write field to JSON
0020 void to_json(nlohmann::json& j, RZMapFieldInput const& opts);
0021 
0022 //---------------------------------------------------------------------------//
0023 }  // namespace celeritas