| 
		
			
  | 
		|||
Warning, file /include/celeritas/io/ImportOpticalModel.hh was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
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/ImportOpticalModel.hh 0006 //---------------------------------------------------------------------------// 0007 #pragma once 0008 0009 #include <vector> 0010 0011 #include "celeritas/inp/Grid.hh" 0012 0013 namespace celeritas 0014 { 0015 namespace optical 0016 { 0017 //---------------------------------------------------------------------------// 0018 /*! 0019 * Enumerator for available optical physics models. 0020 * 0021 * This enum is used to identify the optical model that imported model MFP 0022 * tables correspond to. 0023 */ 0024 enum class ImportModelClass 0025 { 0026 absorption, 0027 rayleigh, 0028 wls, 0029 size_ 0030 }; 0031 0032 //---------------------------------------------------------------------------// 0033 // FREE FUNCTIONS 0034 //---------------------------------------------------------------------------// 0035 0036 // Get the string form of one of the enumerations 0037 char const* to_cstring(ImportModelClass imc); 0038 0039 //---------------------------------------------------------------------------// 0040 } // namespace optical 0041 0042 //---------------------------------------------------------------------------// 0043 /*! 0044 * Imported data for an optical physics model. 0045 */ 0046 struct ImportOpticalModel 0047 { 0048 optical::ImportModelClass model_class; 0049 std::vector<inp::Grid> mfp_table; //!< per optical material MFPs 0050 }; 0051 0052 //---------------------------------------------------------------------------// 0053 } // 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 | 
		
			
   |