Back to home page

EIC code displayed by LXR

 
 

    


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

0001 /**
0002 stree_mat_test.cc
0003 ===================
0004 
0005 The old/new fold reorganization has made this 
0006 executable rather pointless. It just constructs 
0007 and saves a new fold with the contents of two folds
0008 "GGeo" and "stree/standard".
0009 
0010 **/
0011 
0012 #include "NPFold.h"
0013 
0014 int main(int argc, char** argv)
0015 {
0016     const char* ss = "$HOME/.opticks/GEOM/$GEOM/CSGFoundry/SSim" ; 
0017     NPFold* gg = NPFold::Load(ss, "GGeo") ;  
0018     NPFold* st = NPFold::Load(ss, "stree/standard") ;  
0019 
0020     NPFold* fold = new NPFold ; 
0021     fold->add_subfold("gg", gg ); 
0022     fold->add_subfold("st", st ); 
0023     fold->save("$FOLD"); 
0024  
0025     return 0 ; 
0026 }