Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-10-15 08:55:27

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 corecel/sys/DeviceIO.json.hh
0006 //---------------------------------------------------------------------------//
0007 #pragma once
0008 
0009 #include <nlohmann/json.hpp>
0010 
0011 #include "Device.hh"
0012 
0013 namespace celeritas
0014 {
0015 //---------------------------------------------------------------------------//
0016 
0017 // Write device diagnostics to JSON
0018 void to_json(nlohmann::json& j, Device const& value);
0019 
0020 //---------------------------------------------------------------------------//
0021 }  // namespace celeritas