Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-09-19 08:49: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/setup/Import.hh
0006 //---------------------------------------------------------------------------//
0007 #pragma once
0008 
0009 #include "celeritas/inp/Import.hh"
0010 
0011 namespace celeritas
0012 {
0013 //---------------------------------------------------------------------------//
0014 /*!
0015  * Configure Celeritas problems from input data.
0016  *
0017  * This implementation detail is how \c celeritas::inp data is used to
0018  * construct all the main Celeritas objects.
0019  */
0020 namespace setup
0021 {
0022 //---------------------------------------------------------------------------//
0023 // Load from a file
0024 void import(inp::FileImport const& file, inp::Problem& problem);
0025 // Load from Geant4 in memory
0026 void import(inp::GeantImport const& file, inp::Problem& problem);
0027 // Load from Geant4 data files
0028 void import(inp::GeantDataImport const& file, inp::Problem& problem);
0029 // Update from another file
0030 void import(inp::UpdateImport const& file, inp::Problem& problem);
0031 
0032 //---------------------------------------------------------------------------//
0033 }  // namespace setup
0034 }  // namespace celeritas