Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-09 07:49:09

0001 #pragma once
0002 
0003 /**
0004 QOptical
0005 ===========
0006 
0007 Managing the optical_buffer which holds surface and material 
0008 info for each boundary. 
0009 
0010 This is closely related to QBnd 
0011 
0012 **/
0013 
0014 #include <string>
0015 
0016 #if defined(MOCK_TEXTURE) || defined(MOCK_CUDA)
0017 #else
0018 #include "plog/Severity.h"
0019 #endif
0020 
0021 #include "QUDARAP_API_EXPORT.hh"
0022 
0023 union quad ; 
0024 struct NP ; 
0025 template <typename T> struct QBuf ; 
0026 
0027 struct QUDARAP_API QOptical
0028 {
0029 
0030 #if defined(MOCK_TEXTURE) || defined(MOCK_CUDA)
0031 #else
0032     static const plog::Severity LEVEL ;
0033 #endif
0034     static const QOptical*      INSTANCE ; 
0035     static const QOptical*      Get(); 
0036 
0037     QOptical(const NP* optical);
0038     void init(); 
0039 
0040     std::string desc() const ; 
0041     void check() const ; 
0042 
0043     const NP*       optical ;  
0044     QBuf<unsigned>* buf ; 
0045     quad*           d_optical ; 
0046 
0047 }; 
0048