Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-11-07 10:11:43

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/setup/Control.hh
0006 //---------------------------------------------------------------------------//
0007 #pragma once
0008 
0009 #include "corecel/Types.hh"
0010 
0011 namespace celeritas
0012 {
0013 struct CoreSizes;
0014 struct OpticalSizes;
0015 
0016 namespace inp
0017 {
0018 struct CoreStateCapacity;
0019 struct OpticalStateCapacity;
0020 }  // namespace inp
0021 
0022 namespace setup
0023 {
0024 //---------------------------------------------------------------------------//
0025 // Resolve core state capacity values
0026 CoreSizes capacity(inp::CoreStateCapacity const& c, size_type num_streams);
0027 // Resolve optical state capacity values
0028 OpticalSizes capacity(inp::OpticalStateCapacity const& c,
0029                       size_type num_streams);
0030 
0031 //---------------------------------------------------------------------------//
0032 }  // namespace setup
0033 }  // namespace celeritas