Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/orange/orangeinp/ScaleUtils.hh was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

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 orange/orangeinp/ScaleUtils.hh
0006 //! \brief API compatibility functions for SCALE (https://scale.ornl.gov/)
0007 //---------------------------------------------------------------------------//
0008 #pragma once
0009 
0010 #include <vector>
0011 
0012 #include "CsgTypes.hh"
0013 
0014 #include "detail/NegatedSurfaceClipper.hh"
0015 
0016 namespace celeritas
0017 {
0018 namespace orangeinp
0019 {
0020 class CsgTree;
0021 
0022 //---------------------------------------------------------------------------//
0023 // Build postfix logic with original surface IDs intact
0024 std::vector<logic_int> build_postfix_logic(CsgTree const& tree, NodeId n);
0025 
0026 // NOTE: negated clipper must be accessible
0027 using detail::NegatedSurfaceClipper;
0028 
0029 //---------------------------------------------------------------------------//
0030 }  // namespace orangeinp
0031 }  // namespace celeritas