Back to home page

EIC code displayed by LXR

 
 

    


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

0001 #!/bin/bash -l 
0002 
0003 geom=uni_acrylic1_0
0004 #geom=uni_acrylic3_0
0005 #geom=uni_acrylic1_wide
0006 #geom=uni_acrylic1_tight
0007 
0008 export GEOM=${GEOM:-$geom}
0009 
0010 isel=
0011 cfbase=
0012 ce_offset=0
0013 ce_scale=0
0014 gsplot=1
0015 
0016 
0017 if [ "$GEOM" == "uni_acrylic1_0" ]; then
0018     moi=uni_acrylic1
0019     cegs=16:0:9:100
0020     gridscale=0.05
0021 
0022 elif [ "$GEOM" == "uni_acrylic3_0" ]; then
0023     ## when use the option --additionacrylic-simplify-csg the uni_acrylic3 is not present 
0024     ## instead get uni_acrylic1 : is that OK? 
0025     moi=uni_acrylic3
0026     cegs=16:0:9:100
0027     #cegs=0:0:0:1000
0028     #cegs=16:4:9:100
0029     gridscale=0.05
0030 
0031 elif [ "$GEOM" == "uni_acrylic3_wide" ]; then
0032     moi=uni_acrylic3
0033     cegs=32:0:18:100
0034     gridscale=0.025
0035 
0036 elif [ "$GEOM" == "uni_acrylic3_tight" ]; then
0037 
0038     note="very tight grid to get into close corners"
0039     moi=uni_acrylic3
0040     cegs=16:0:9:100
0041     gridscale=0.025
0042 
0043 else
0044     echo $msg ERROR GEOM $GEOM unhandled 
0045     exit 1 
0046 fi
0047 
0048 source ./cxs.sh 
0049 
0050