|   | 
 | |||
File indexing completed on 2025-10-30 08:37:35
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/io/LivermorePEReader.hh 0006 //---------------------------------------------------------------------------// 0007 #pragma once 0008 0009 #include <string> 0010 0011 #include "celeritas/inp/Grid.hh" 0012 #include "celeritas/phys/AtomicNumber.hh" 0013 0014 #include "ImportLivermorePE.hh" 0015 0016 namespace celeritas 0017 { 0018 //---------------------------------------------------------------------------// 0019 /*! 0020 * Load the Livermore EPICS2014 photoelectric data. 0021 */ 0022 class LivermorePEReader 0023 { 0024 public: 0025 //!@{ 0026 //! \name Type aliases 0027 using result_type = ImportLivermorePE; 0028 //!@} 0029 0030 public: 0031 // Construct the reader and locate the data using the environment variable 0032 explicit LivermorePEReader(inp::Interpolation); 0033 0034 // Construct the reader from the path to the data directory 0035 LivermorePEReader(char const* path, inp::Interpolation); 0036 0037 // Read the data for the given element 0038 result_type operator()(AtomicNumber atomic_number) const; 0039 0040 private: 0041 // Directory containing the Livermore photoelectric data 0042 std::string path_; 0043 // Interpolation method 0044 inp::Interpolation interpolation_; 0045 }; 0046 0047 //---------------------------------------------------------------------------// 0048 } // 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 |     |