Back to home page

EIC code displayed by LXR

 
 

    


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

0001 //----------------------------------*-C++-*----------------------------------//
0002 // Copyright 2022-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/random/RngParamsFwd.hh
0007 //! \brief Forward-declare RngParams alias.
0008 //---------------------------------------------------------------------------//
0009 #pragma once
0010 
0011 #include "corecel/Config.hh"
0012 
0013 namespace celeritas
0014 {
0015 // Alias core RNG type using on compile-time RNG selection
0016 #if (CELERITAS_CORE_RNG == CELERITAS_CORE_RNG_CURAND) \
0017     || (CELERITAS_CORE_RNG == CELERITAS_CORE_RNG_HIPRAND)
0018 class CuHipRngParams;
0019 using RngParams = CuHipRngParams;
0020 #elif (CELERITAS_CORE_RNG == CELERITAS_CORE_RNG_XORWOW)
0021 class XorwowRngParams;
0022 using RngParams = XorwowRngParams;
0023 #endif
0024 }  // namespace celeritas