Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-02-22 10:31:26

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/action/ActionInterface.hh
0007 //---------------------------------------------------------------------------//
0008 #pragma once
0009 
0010 #include "corecel/sys/ActionInterface.hh"
0011 #include "celeritas/Types.hh"
0012 
0013 namespace celeritas
0014 {
0015 namespace optical
0016 {
0017 //---------------------------------------------------------------------------//
0018 class CoreParams;
0019 template<MemSpace M>
0020 class CoreState;
0021 
0022 //---------------------------------------------------------------------------//
0023 // TYPE ALIASES
0024 //---------------------------------------------------------------------------//
0025 //! Interface called at beginning of the core stepping loop
0026 using OpticalBeginRunActionInterface
0027     = BeginRunActionInterface<CoreParams, CoreState>;
0028 
0029 //! Action interface for core stepping loop
0030 using OpticalStepActionInterface = StepActionInterface<CoreParams, CoreState>;
0031 
0032 //---------------------------------------------------------------------------//
0033 }  // namespace optical
0034 }  // namespace celeritas