|
|
|||
File indexing completed on 2026-04-09 07:49:17
0001 /** 0002 0003 ~/o/sysrap/tests/SGenerate_test.sh 0004 0005 **/ 0006 0007 #include "OPTICKS_LOG.hh" 0008 #include "SEvt.hh" 0009 #include "SGenerate.h" 0010 0011 int main(int argc, char** argv) 0012 { 0013 OPTICKS_LOG(argc, argv); 0014 0015 SEvt* evt = SEvt::Create(SEvt::ECPU) ; 0016 SEvt::AddTorchGenstep(); 0017 0018 NP* gs = evt->gatherGenstep(); 0019 NP* ph = SGenerate::GeneratePhotons(gs); 0020 0021 gs->save("$FOLD/gs.npy"); 0022 ph->save("$FOLD/ph.npy"); 0023 0024 return 0 ; 0025 }
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|