Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-10-18 09:05:27

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