![]() |
|
|||
File indexing completed on 2025-02-22 10:31:28
0001 //----------------------------------*-C++-*----------------------------------// 0002 // Copyright 2024 UT-Battelle, LLC, and other Celeritas developers. 0003 // See the top-level COPYRIGHT file for details. 0004 // SPDX-License-Identifier: (Apache-2.0 OR MIT) 0005 //---------------------------------------------------------------------------// 0006 //! \file celeritas/optical/TrackInitializer.hh 0007 //---------------------------------------------------------------------------// 0008 #pragma once 0009 0010 #include "corecel/Types.hh" 0011 #include "geocel/Types.hh" 0012 #include "celeritas/Quantities.hh" 0013 #include "celeritas/Types.hh" 0014 0015 namespace celeritas 0016 { 0017 namespace optical 0018 { 0019 //---------------------------------------------------------------------------// 0020 /*! 0021 * Optical photon data used to initialize a photon track state. 0022 */ 0023 struct TrackInitializer 0024 { 0025 units::MevEnergy energy; 0026 Real3 position{0, 0, 0}; 0027 Real3 direction{0, 0, 0}; 0028 Real3 polarization{0, 0, 0}; 0029 real_type time{}; 0030 VolumeId volume{}; 0031 }; 0032 0033 //---------------------------------------------------------------------------// 0034 } // namespace optical 0035 } // 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 |
![]() ![]() |