![]() |
|
|||
File indexing completed on 2025-09-15 08:54:48
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/optical/TrackInitializer.hh 0006 //---------------------------------------------------------------------------// 0007 #pragma once 0008 0009 #include "corecel/Types.hh" 0010 #include "geocel/Types.hh" 0011 #include "celeritas/Quantities.hh" 0012 #include "celeritas/Types.hh" 0013 0014 namespace celeritas 0015 { 0016 namespace optical 0017 { 0018 //---------------------------------------------------------------------------// 0019 /*! 0020 * Optical photon data used to initialize a photon track state. 0021 */ 0022 struct TrackInitializer 0023 { 0024 units::MevEnergy energy; 0025 Real3 position{0, 0, 0}; 0026 Real3 direction{0, 0, 0}; 0027 Real3 polarization{0, 0, 0}; 0028 real_type time{}; 0029 VolumeId volume{}; 0030 }; 0031 0032 //---------------------------------------------------------------------------// 0033 } // namespace optical 0034 } // 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 |
![]() ![]() |