catsim-test 0.0.5__cp313-cp313-manylinux_2_31_x86_64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- catsim_test-0.0.5.dist-info/METADATA +5 -0
- catsim_test-0.0.5.dist-info/RECORD +1235 -0
- catsim_test-0.0.5.dist-info/WHEEL +5 -0
- catsim_test-0.0.5.dist-info/licenses/LICENSE +29 -0
- catsim_test-0.0.5.dist-info/sboms/auditwheel.cdx.json +1 -0
- catsim_test-0.0.5.dist-info/top_level.txt +2 -0
- catsim_test.libs/libgomp-98b21ff3.so.1.0.0 +0 -0
- dummy.cpython-313-x86_64-linux-gnu.so +0 -0
- gecatsim/__init__.py +20 -0
- gecatsim/bowtie/large.txt +891 -0
- gecatsim/bowtie/medium.txt +891 -0
- gecatsim/bowtie/small.txt +891 -0
- gecatsim/cfg/Phantom_Default.cfg +7 -0
- gecatsim/cfg/Physics_Default.cfg +38 -0
- gecatsim/cfg/Protocol_Default.cfg +33 -0
- gecatsim/cfg/Recon_Default.cfg +22 -0
- gecatsim/cfg/Scanner_Default.cfg +31 -0
- gecatsim/clib_build/BuildLinux64 +6 -0
- gecatsim/clib_build/BuildWin64.bat +17 -0
- gecatsim/clib_build/MakeMacOS +48 -0
- gecatsim/clib_build/MakeVariables_1 +19 -0
- gecatsim/clib_build/MakeVariables_2 +5 -0
- gecatsim/clib_build/MakeVariables_3 +33 -0
- gecatsim/clib_build/MakeVariables_3.1 +32 -0
- gecatsim/clib_build/MakeWindows64 +45 -0
- gecatsim/clib_build/Makefile +41 -0
- gecatsim/clib_build/readme.md +13 -0
- gecatsim/clib_build/src/BaseObject.cpp +144 -0
- gecatsim/clib_build/src/BaseObject.h +74 -0
- gecatsim/clib_build/src/ClipPlane.cpp +83 -0
- gecatsim/clib_build/src/ClipPlane.h +28 -0
- gecatsim/clib_build/src/CrossSection.cpp +179 -0
- gecatsim/clib_build/src/CrossSection.hpp +27 -0
- gecatsim/clib_build/src/CrossSectionHandler.cpp +160 -0
- gecatsim/clib_build/src/CrossSectionHandler.hpp +72 -0
- gecatsim/clib_build/src/Cube.cpp +144 -0
- gecatsim/clib_build/src/Cube.h +26 -0
- gecatsim/clib_build/src/Cylinder.cpp +156 -0
- gecatsim/clib_build/src/Cylinder.h +25 -0
- gecatsim/clib_build/src/DD2Back.c +332 -0
- gecatsim/clib_build/src/DD2ParProj.c +377 -0
- gecatsim/clib_build/src/DD2Proj.c +333 -0
- gecatsim/clib_build/src/DD2WBack.c +350 -0
- gecatsim/clib_build/src/DD3.hpp +423 -0
- gecatsim/clib_build/src/DD3Proj.cpp +519 -0
- gecatsim/clib_build/src/DD3Proj_roi_notrans_mm.cpp +585 -0
- gecatsim/clib_build/src/DD3WBack.c +491 -0
- gecatsim/clib_build/src/DD3_roi_notrans_mm.hpp +272 -0
- gecatsim/clib_build/src/Detector.cpp +389 -0
- gecatsim/clib_build/src/Detector.hpp +134 -0
- gecatsim/clib_build/src/Interpolate.cpp +58 -0
- gecatsim/clib_build/src/Intersection.cpp +198 -0
- gecatsim/clib_build/src/Intersection.h +36 -0
- gecatsim/clib_build/src/MatVec.cpp +262 -0
- gecatsim/clib_build/src/MatVec.h +68 -0
- gecatsim/clib_build/src/Objects.cpp +23 -0
- gecatsim/clib_build/src/Objects.hpp +90 -0
- gecatsim/clib_build/src/Phantom.cpp +169 -0
- gecatsim/clib_build/src/Phantom.hpp +43 -0
- gecatsim/clib_build/src/Photon.cpp +168 -0
- gecatsim/clib_build/src/Photon.hpp +56 -0
- gecatsim/clib_build/src/RD3Back.cpp +357 -0
- gecatsim/clib_build/src/RD3Intersections.cpp +154 -0
- gecatsim/clib_build/src/RD3bench.cpp +505 -0
- gecatsim/clib_build/src/Sphere.cpp +43 -0
- gecatsim/clib_build/src/Sphere.h +25 -0
- gecatsim/clib_build/src/Transformation.cpp +104 -0
- gecatsim/clib_build/src/Transformation.h +37 -0
- gecatsim/clib_build/src/TreePhantom.cpp +138 -0
- gecatsim/clib_build/src/TreePhantom.h +27 -0
- gecatsim/clib_build/src/Volume.cpp +101 -0
- gecatsim/clib_build/src/Volume.hpp +28 -0
- gecatsim/clib_build/src/analytic_projector.c +2433 -0
- gecatsim/clib_build/src/analytic_projector.h +235 -0
- gecatsim/clib_build/src/compt.cpp +400 -0
- gecatsim/clib_build/src/compt2.cpp +558 -0
- gecatsim/clib_build/src/compt3.cpp +607 -0
- gecatsim/clib_build/src/ct_nurbs.h +214 -0
- gecatsim/clib_build/src/extractsino.c +42 -0
- gecatsim/clib_build/src/fm_gethostid.c +23 -0
- gecatsim/clib_build/src/fm_getrandpid.c +31 -0
- gecatsim/clib_build/src/gemsfilt.c +1084 -0
- gecatsim/clib_build/src/getMemorySize.cpp +105 -0
- gecatsim/clib_build/src/getMemorySize.h +5 -0
- gecatsim/clib_build/src/hull2.c +77 -0
- gecatsim/clib_build/src/intersections.c +131 -0
- gecatsim/clib_build/src/label.h +10 -0
- gecatsim/clib_build/src/main.cpp +609 -0
- gecatsim/clib_build/src/make_volume.c +573 -0
- gecatsim/clib_build/src/nCAT_main.c +6343 -0
- gecatsim/clib_build/src/negative_log.cpp +233 -0
- gecatsim/clib_build/src/negative_log.h +23 -0
- gecatsim/clib_build/src/pd2dbpcurved.c +98 -0
- gecatsim/clib_build/src/pd2dbpflat.c +101 -0
- gecatsim/clib_build/src/pd3dbpsemi.c +177 -0
- gecatsim/clib_build/src/phantom.l +72 -0
- gecatsim/clib_build/src/phantom.lex.c +1770 -0
- gecatsim/clib_build/src/phantom.tab.cpp +2126 -0
- gecatsim/clib_build/src/phantom.tab.hpp +126 -0
- gecatsim/clib_build/src/phantom.y +624 -0
- gecatsim/clib_build/src/rndpoi.c +793 -0
- gecatsim/clib_build/src/spline.c +81 -0
- gecatsim/clib_build/src/spline.h +6 -0
- gecatsim/clib_build/src/timer.c +64 -0
- gecatsim/clib_build/src/viewshift.c +25 -0
- gecatsim/clib_build/src/voxelized_projector.cpp +683 -0
- gecatsim/clib_build/src/xybowtie.c +76 -0
- gecatsim/dose/data/dosereconkernel_mthd4.mat +0 -0
- gecatsim/dose/data/scatter_E_loss_fraction.mat +0 -0
- gecatsim/dose/data/weighted_scatter_energy_by_spec.mat +0 -0
- gecatsim/dose/examples/dose_doserecon.cfg +16 -0
- gecatsim/dose/examples/dose_phantom.cfg +6 -0
- gecatsim/dose/examples/dose_physics.cfg +18 -0
- gecatsim/dose/examples/dose_protocol.cfg +15 -0
- gecatsim/dose/examples/dose_recon.cfg +9 -0
- gecatsim/dose/examples/dose_scanner.cfg +29 -0
- gecatsim/dose/examples/run.py +37 -0
- gecatsim/dose/lib/Dose_Recon_Library_Linux64.so +0 -0
- gecatsim/dose/lib/Dose_Recon_Library_Windows64.dll +0 -0
- gecatsim/dose/pyfiles/C_DD3Dose.py +84 -0
- gecatsim/dose/pyfiles/Combine_Spectrum_Bowtie_FlatFilter.py +15 -0
- gecatsim/dose/pyfiles/DoseConv.py +87 -0
- gecatsim/dose/pyfiles/GetMuByProcess.py +57 -0
- gecatsim/dose/pyfiles/__init__.py +0 -0
- gecatsim/dose/pyfiles/brconvol_matlab.py +67 -0
- gecatsim/dose/pyfiles/calcDetectorFlux.py +54 -0
- gecatsim/dose/pyfiles/catdoserecon.py +225 -0
- gecatsim/dose/pyfiles/doseconvol.py +52 -0
- gecatsim/dose/pyfiles/get_voxel_stopping_power.py +35 -0
- gecatsim/dose/pyfiles/img2vol.py +57 -0
- gecatsim/dose/pyfiles/xyfovimg.py +30 -0
- gecatsim/dose/readme.md +4 -0
- gecatsim/dose/src/DD3.hpp +371 -0
- gecatsim/dose/src/DD3Dose.cpp +787 -0
- gecatsim/dose/src/DD3Dose.hpp +22 -0
- gecatsim/dose/src/DD3Dose.i +23 -0
- gecatsim/dose/src/DD3Energy_clean.cpp +1464 -0
- gecatsim/dose/src/DD3Proj.cpp +504 -0
- gecatsim/dose/src/DD3Proj.hpp +20 -0
- gecatsim/dose/src/DD3Proj_mm.cpp +561 -0
- gecatsim/dose/src/DD3Proj_mm.hpp +21 -0
- gecatsim/dose/src/Win32_Build.bat +17 -0
- gecatsim/dose/src/Win64_Build.bat +20 -0
- gecatsim/examples/Catvoxel_Sample.py +53 -0
- gecatsim/examples/DD3Proj_mm_Sample.py +60 -0
- gecatsim/examples/GetMu_Sample.py +24 -0
- gecatsim/examples/Sim_Recon_Sample.py +45 -0
- gecatsim/examples/Sim_Recon_Sample_PCCT.py +69 -0
- gecatsim/examples/Sim_Sample.py +32 -0
- gecatsim/examples/Sim_Sample_Analyic.py +44 -0
- gecatsim/examples/Sim_Sample_Helical.py +32 -0
- gecatsim/examples/Sim_Sample_Hybrid.py +42 -0
- gecatsim/examples/Sim_Sample_PCCT.py +72 -0
- gecatsim/examples/Sim_Sample_Polygonal.py +47 -0
- gecatsim/examples/Sim_Sample_Scatter.py +38 -0
- gecatsim/examples/Sim_Sample_XCAT.py +50 -0
- gecatsim/examples/cfg/Phantom_Sample.cfg +6 -0
- gecatsim/examples/cfg/Phantom_Sample_Analytic.cfg +6 -0
- gecatsim/examples/cfg/Phantom_Sample_Hybrid.cfg +7 -0
- gecatsim/examples/cfg/Phantom_Sample_Polygonal.cfg +6 -0
- gecatsim/examples/cfg/Phantom_Sample_XCAT.cfg +6 -0
- gecatsim/examples/cfg/Physics_Sample.cfg +41 -0
- gecatsim/examples/cfg/Protocol_Sample_Helical.cfg +33 -0
- gecatsim/examples/cfg/Protocol_Sample_axial.cfg +33 -0
- gecatsim/examples/cfg/Recon_Sample_2d.cfg +6 -0
- gecatsim/examples/cfg/Recon_Sample_Helical.cfg +8 -0
- gecatsim/examples/cfg/Scanner_PCCT.cfg +30 -0
- gecatsim/examples/cfg/Scanner_Sample_generic.cfg +29 -0
- gecatsim/examples/vct_examples/Phantom_Sample_Analytic.cfg +6 -0
- gecatsim/examples/vct_examples/Physics_Sample.cfg +41 -0
- gecatsim/examples/vct_examples/Protocol_Sample_axial.cfg +33 -0
- gecatsim/examples/vct_examples/Recon_Sample_2d.cfg +6 -0
- gecatsim/examples/vct_examples/Scanner_Sample_generic.cfg +31 -0
- gecatsim/examples/vct_examples/read.md +1 -0
- gecatsim/focal_spot/readme.md +31 -0
- gecatsim/focal_spot/vct_large_fs.npz +0 -0
- gecatsim/focal_spot/vct_small_fs.npz +0 -0
- gecatsim/lib/libcatsim.so +0 -0
- gecatsim/lib/libcatsim64.dll +0 -0
- gecatsim/lib/libcatsim_macos.so +0 -0
- gecatsim/lib/pthreadGC2_x64.dll +0 -0
- gecatsim/lib/pthreads-2-9-1-release.zip +0 -0
- gecatsim/material/Ac +11 -0
- gecatsim/material/Ag +11 -0
- gecatsim/material/Al +11 -0
- gecatsim/material/Ar +11 -0
- gecatsim/material/As +11 -0
- gecatsim/material/At +11 -0
- gecatsim/material/Au +11 -0
- gecatsim/material/B +11 -0
- gecatsim/material/Ba +11 -0
- gecatsim/material/Be +11 -0
- gecatsim/material/Bi +11 -0
- gecatsim/material/Br +11 -0
- gecatsim/material/C +11 -0
- gecatsim/material/CIRS_adipose_adult2 +20 -0
- gecatsim/material/CIRS_adipose_adult3 +20 -0
- gecatsim/material/CIRS_bone_10yo +21 -0
- gecatsim/material/CIRS_bone_1yo +21 -0
- gecatsim/material/CIRS_bone_5yo +21 -0
- gecatsim/material/CIRS_bone_adult_and_15yo +21 -0
- gecatsim/material/CIRS_bone_newborn +21 -0
- gecatsim/material/CIRS_liver_adult +20 -0
- gecatsim/material/CIRS_lung_inhale +20 -0
- gecatsim/material/CIRS_plastic_water_LR +20 -0
- gecatsim/material/CIRS_spinal_cord +20 -0
- gecatsim/material/CZT +5 -0
- gecatsim/material/Ca +11 -0
- gecatsim/material/Cd +11 -0
- gecatsim/material/Ce +11 -0
- gecatsim/material/Cl +11 -0
- gecatsim/material/Co +11 -0
- gecatsim/material/Copyright.txt +7 -0
- gecatsim/material/Cr +11 -0
- gecatsim/material/Cs +11 -0
- gecatsim/material/CsI +16 -0
- gecatsim/material/Cu +11 -0
- gecatsim/material/Dy +11 -0
- gecatsim/material/Er +11 -0
- gecatsim/material/Eu +11 -0
- gecatsim/material/F +11 -0
- gecatsim/material/Fe +11 -0
- gecatsim/material/Fr +11 -0
- gecatsim/material/GOS +19 -0
- gecatsim/material/Ga +11 -0
- gecatsim/material/Gd +11 -0
- gecatsim/material/Ge +11 -0
- gecatsim/material/H +11 -0
- gecatsim/material/He +11 -0
- gecatsim/material/Hf +11 -0
- gecatsim/material/Hg +11 -0
- gecatsim/material/Ho +11 -0
- gecatsim/material/I +11 -0
- gecatsim/material/ICRU_adipose_adult2 +21 -0
- gecatsim/material/ICRU_blood_adult +24 -0
- gecatsim/material/ICRU_brain_adult +26 -0
- gecatsim/material/ICRU_breast_adult2 +22 -0
- gecatsim/material/ICRU_eye_lens_adult +22 -0
- gecatsim/material/ICRU_kidney_adult +24 -0
- gecatsim/material/ICRU_liver_adult +23 -0
- gecatsim/material/ICRU_lung_adult_healthy +23 -0
- gecatsim/material/ICRU_muscle_adult +23 -0
- gecatsim/material/ICRU_pancreas_adult +23 -0
- gecatsim/material/ICRU_skeleton_cortical_bone_adult +23 -0
- gecatsim/material/ICRU_skin_adult +23 -0
- gecatsim/material/ICRU_spleen_adult +23 -0
- gecatsim/material/ICRU_testis_adult +23 -0
- gecatsim/material/In +11 -0
- gecatsim/material/Ir +11 -0
- gecatsim/material/K +11 -0
- gecatsim/material/Kr +11 -0
- gecatsim/material/La +11 -0
- gecatsim/material/Li +11 -0
- gecatsim/material/Lu +11 -0
- gecatsim/material/Lumex +18 -0
- gecatsim/material/Mg +11 -0
- gecatsim/material/Mn +11 -0
- gecatsim/material/Mo +11 -0
- gecatsim/material/N +11 -0
- gecatsim/material/Na +11 -0
- gecatsim/material/NaCl +16 -0
- gecatsim/material/Nb +11 -0
- gecatsim/material/Nd +11 -0
- gecatsim/material/Ne +11 -0
- gecatsim/material/Ni +11 -0
- gecatsim/material/O +11 -0
- gecatsim/material/Os +11 -0
- gecatsim/material/P +11 -0
- gecatsim/material/PMMA +20 -0
- gecatsim/material/PVC_flexible +20 -0
- gecatsim/material/PVC_rigid +20 -0
- gecatsim/material/Pa +11 -0
- gecatsim/material/Pb +11 -0
- gecatsim/material/Pd +11 -0
- gecatsim/material/Pm +11 -0
- gecatsim/material/Po +11 -0
- gecatsim/material/Pr +11 -0
- gecatsim/material/Pt +11 -0
- gecatsim/material/Ra +11 -0
- gecatsim/material/Rb +11 -0
- gecatsim/material/Re +11 -0
- gecatsim/material/Rh +11 -0
- gecatsim/material/Rn +11 -0
- gecatsim/material/Ru +11 -0
- gecatsim/material/S +11 -0
- gecatsim/material/Sb +11 -0
- gecatsim/material/Sc +11 -0
- gecatsim/material/Se +11 -0
- gecatsim/material/Si +11 -0
- gecatsim/material/Sm +11 -0
- gecatsim/material/Sn +11 -0
- gecatsim/material/Sr +11 -0
- gecatsim/material/Ta +11 -0
- gecatsim/material/Tb +11 -0
- gecatsim/material/Tc +11 -0
- gecatsim/material/Te +11 -0
- gecatsim/material/Th +11 -0
- gecatsim/material/Ti +11 -0
- gecatsim/material/Tl +11 -0
- gecatsim/material/Tm +11 -0
- gecatsim/material/U +11 -0
- gecatsim/material/V +11 -0
- gecatsim/material/W +11 -0
- gecatsim/material/Xe +11 -0
- gecatsim/material/Y +11 -0
- gecatsim/material/Yb +11 -0
- gecatsim/material/Zn +11 -0
- gecatsim/material/Zr +11 -0
- gecatsim/material/air +24 -0
- gecatsim/material/bone +25 -0
- gecatsim/material/brass +18 -0
- gecatsim/material/diamond +13 -0
- gecatsim/material/edlp/comp/ce-cs-1.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-10.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-100.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-11.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-12.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-13.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-14.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-15.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-16.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-17.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-18.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-19.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-2.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-20.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-21.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-22.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-23.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-24.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-25.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-26.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-27.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-28.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-29.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-3.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-30.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-31.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-32.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-33.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-34.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-35.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-36.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-37.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-38.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-39.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-4.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-40.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-41.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-42.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-43.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-44.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-45.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-46.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-47.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-48.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-49.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-5.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-50.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-51.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-52.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-53.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-54.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-55.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-56.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-57.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-58.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-59.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-6.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-60.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-61.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-62.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-63.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-64.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-65.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-66.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-67.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-68.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-69.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-7.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-70.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-71.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-72.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-73.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-74.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-75.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-76.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-77.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-78.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-79.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-8.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-80.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-81.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-82.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-83.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-84.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-85.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-86.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-87.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-88.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-89.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-9.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-90.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-91.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-92.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-93.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-94.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-95.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-96.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-97.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-98.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-99.dat +124 -0
- gecatsim/material/edlp/comp/ce-cs-all.dat +0 -0
- gecatsim/material/edlp/comp/ce-sf-1.dat +107 -0
- gecatsim/material/edlp/comp/ce-sf-10.dat +179 -0
- gecatsim/material/edlp/comp/ce-sf-100.dat +150 -0
- gecatsim/material/edlp/comp/ce-sf-11.dat +187 -0
- gecatsim/material/edlp/comp/ce-sf-12.dat +180 -0
- gecatsim/material/edlp/comp/ce-sf-13.dat +166 -0
- gecatsim/material/edlp/comp/ce-sf-14.dat +170 -0
- gecatsim/material/edlp/comp/ce-sf-15.dat +166 -0
- gecatsim/material/edlp/comp/ce-sf-16.dat +165 -0
- gecatsim/material/edlp/comp/ce-sf-17.dat +169 -0
- gecatsim/material/edlp/comp/ce-sf-18.dat +161 -0
- gecatsim/material/edlp/comp/ce-sf-19.dat +167 -0
- gecatsim/material/edlp/comp/ce-sf-2.dat +144 -0
- gecatsim/material/edlp/comp/ce-sf-20.dat +168 -0
- gecatsim/material/edlp/comp/ce-sf-21.dat +162 -0
- gecatsim/material/edlp/comp/ce-sf-22.dat +163 -0
- gecatsim/material/edlp/comp/ce-sf-23.dat +162 -0
- gecatsim/material/edlp/comp/ce-sf-24.dat +169 -0
- gecatsim/material/edlp/comp/ce-sf-25.dat +164 -0
- gecatsim/material/edlp/comp/ce-sf-26.dat +167 -0
- gecatsim/material/edlp/comp/ce-sf-27.dat +165 -0
- gecatsim/material/edlp/comp/ce-sf-28.dat +173 -0
- gecatsim/material/edlp/comp/ce-sf-29.dat +167 -0
- gecatsim/material/edlp/comp/ce-sf-3.dat +149 -0
- gecatsim/material/edlp/comp/ce-sf-30.dat +168 -0
- gecatsim/material/edlp/comp/ce-sf-31.dat +166 -0
- gecatsim/material/edlp/comp/ce-sf-32.dat +168 -0
- gecatsim/material/edlp/comp/ce-sf-33.dat +167 -0
- gecatsim/material/edlp/comp/ce-sf-34.dat +169 -0
- gecatsim/material/edlp/comp/ce-sf-35.dat +167 -0
- gecatsim/material/edlp/comp/ce-sf-36.dat +158 -0
- gecatsim/material/edlp/comp/ce-sf-37.dat +160 -0
- gecatsim/material/edlp/comp/ce-sf-38.dat +161 -0
- gecatsim/material/edlp/comp/ce-sf-39.dat +161 -0
- gecatsim/material/edlp/comp/ce-sf-4.dat +151 -0
- gecatsim/material/edlp/comp/ce-sf-40.dat +170 -0
- gecatsim/material/edlp/comp/ce-sf-41.dat +172 -0
- gecatsim/material/edlp/comp/ce-sf-42.dat +167 -0
- gecatsim/material/edlp/comp/ce-sf-43.dat +164 -0
- gecatsim/material/edlp/comp/ce-sf-44.dat +160 -0
- gecatsim/material/edlp/comp/ce-sf-45.dat +160 -0
- gecatsim/material/edlp/comp/ce-sf-46.dat +162 -0
- gecatsim/material/edlp/comp/ce-sf-47.dat +162 -0
- gecatsim/material/edlp/comp/ce-sf-48.dat +164 -0
- gecatsim/material/edlp/comp/ce-sf-49.dat +165 -0
- gecatsim/material/edlp/comp/ce-sf-5.dat +148 -0
- gecatsim/material/edlp/comp/ce-sf-50.dat +158 -0
- gecatsim/material/edlp/comp/ce-sf-51.dat +156 -0
- gecatsim/material/edlp/comp/ce-sf-52.dat +158 -0
- gecatsim/material/edlp/comp/ce-sf-53.dat +163 -0
- gecatsim/material/edlp/comp/ce-sf-54.dat +163 -0
- gecatsim/material/edlp/comp/ce-sf-55.dat +158 -0
- gecatsim/material/edlp/comp/ce-sf-56.dat +161 -0
- gecatsim/material/edlp/comp/ce-sf-57.dat +168 -0
- gecatsim/material/edlp/comp/ce-sf-58.dat +167 -0
- gecatsim/material/edlp/comp/ce-sf-59.dat +162 -0
- gecatsim/material/edlp/comp/ce-sf-6.dat +155 -0
- gecatsim/material/edlp/comp/ce-sf-60.dat +157 -0
- gecatsim/material/edlp/comp/ce-sf-61.dat +169 -0
- gecatsim/material/edlp/comp/ce-sf-62.dat +169 -0
- gecatsim/material/edlp/comp/ce-sf-63.dat +160 -0
- gecatsim/material/edlp/comp/ce-sf-64.dat +166 -0
- gecatsim/material/edlp/comp/ce-sf-65.dat +163 -0
- gecatsim/material/edlp/comp/ce-sf-66.dat +158 -0
- gecatsim/material/edlp/comp/ce-sf-67.dat +168 -0
- gecatsim/material/edlp/comp/ce-sf-68.dat +159 -0
- gecatsim/material/edlp/comp/ce-sf-69.dat +164 -0
- gecatsim/material/edlp/comp/ce-sf-7.dat +174 -0
- gecatsim/material/edlp/comp/ce-sf-70.dat +169 -0
- gecatsim/material/edlp/comp/ce-sf-71.dat +162 -0
- gecatsim/material/edlp/comp/ce-sf-72.dat +163 -0
- gecatsim/material/edlp/comp/ce-sf-73.dat +165 -0
- gecatsim/material/edlp/comp/ce-sf-74.dat +164 -0
- gecatsim/material/edlp/comp/ce-sf-75.dat +161 -0
- gecatsim/material/edlp/comp/ce-sf-76.dat +155 -0
- gecatsim/material/edlp/comp/ce-sf-77.dat +152 -0
- gecatsim/material/edlp/comp/ce-sf-78.dat +150 -0
- gecatsim/material/edlp/comp/ce-sf-79.dat +148 -0
- gecatsim/material/edlp/comp/ce-sf-8.dat +176 -0
- gecatsim/material/edlp/comp/ce-sf-80.dat +153 -0
- gecatsim/material/edlp/comp/ce-sf-81.dat +158 -0
- gecatsim/material/edlp/comp/ce-sf-82.dat +154 -0
- gecatsim/material/edlp/comp/ce-sf-83.dat +159 -0
- gecatsim/material/edlp/comp/ce-sf-84.dat +156 -0
- gecatsim/material/edlp/comp/ce-sf-85.dat +162 -0
- gecatsim/material/edlp/comp/ce-sf-86.dat +154 -0
- gecatsim/material/edlp/comp/ce-sf-87.dat +154 -0
- gecatsim/material/edlp/comp/ce-sf-88.dat +153 -0
- gecatsim/material/edlp/comp/ce-sf-89.dat +151 -0
- gecatsim/material/edlp/comp/ce-sf-9.dat +184 -0
- gecatsim/material/edlp/comp/ce-sf-90.dat +153 -0
- gecatsim/material/edlp/comp/ce-sf-91.dat +151 -0
- gecatsim/material/edlp/comp/ce-sf-92.dat +157 -0
- gecatsim/material/edlp/comp/ce-sf-93.dat +152 -0
- gecatsim/material/edlp/comp/ce-sf-94.dat +154 -0
- gecatsim/material/edlp/comp/ce-sf-95.dat +151 -0
- gecatsim/material/edlp/comp/ce-sf-96.dat +151 -0
- gecatsim/material/edlp/comp/ce-sf-97.dat +150 -0
- gecatsim/material/edlp/comp/ce-sf-98.dat +152 -0
- gecatsim/material/edlp/comp/ce-sf-99.dat +152 -0
- gecatsim/material/edlp/comp/ce-sf-all.dat +0 -0
- gecatsim/material/edlp/pair/pp-cs-1.dat +96 -0
- gecatsim/material/edlp/pair/pp-cs-10.dat +110 -0
- gecatsim/material/edlp/pair/pp-cs-100.dat +126 -0
- gecatsim/material/edlp/pair/pp-cs-11.dat +112 -0
- gecatsim/material/edlp/pair/pp-cs-12.dat +111 -0
- gecatsim/material/edlp/pair/pp-cs-13.dat +112 -0
- gecatsim/material/edlp/pair/pp-cs-14.dat +113 -0
- gecatsim/material/edlp/pair/pp-cs-15.dat +113 -0
- gecatsim/material/edlp/pair/pp-cs-16.dat +114 -0
- gecatsim/material/edlp/pair/pp-cs-17.dat +112 -0
- gecatsim/material/edlp/pair/pp-cs-18.dat +113 -0
- gecatsim/material/edlp/pair/pp-cs-19.dat +113 -0
- gecatsim/material/edlp/pair/pp-cs-2.dat +100 -0
- gecatsim/material/edlp/pair/pp-cs-20.dat +114 -0
- gecatsim/material/edlp/pair/pp-cs-21.dat +115 -0
- gecatsim/material/edlp/pair/pp-cs-22.dat +115 -0
- gecatsim/material/edlp/pair/pp-cs-23.dat +116 -0
- gecatsim/material/edlp/pair/pp-cs-24.dat +115 -0
- gecatsim/material/edlp/pair/pp-cs-25.dat +115 -0
- gecatsim/material/edlp/pair/pp-cs-26.dat +116 -0
- gecatsim/material/edlp/pair/pp-cs-27.dat +117 -0
- gecatsim/material/edlp/pair/pp-cs-28.dat +117 -0
- gecatsim/material/edlp/pair/pp-cs-29.dat +117 -0
- gecatsim/material/edlp/pair/pp-cs-3.dat +104 -0
- gecatsim/material/edlp/pair/pp-cs-30.dat +117 -0
- gecatsim/material/edlp/pair/pp-cs-31.dat +118 -0
- gecatsim/material/edlp/pair/pp-cs-32.dat +118 -0
- gecatsim/material/edlp/pair/pp-cs-33.dat +118 -0
- gecatsim/material/edlp/pair/pp-cs-34.dat +119 -0
- gecatsim/material/edlp/pair/pp-cs-35.dat +119 -0
- gecatsim/material/edlp/pair/pp-cs-36.dat +119 -0
- gecatsim/material/edlp/pair/pp-cs-37.dat +118 -0
- gecatsim/material/edlp/pair/pp-cs-38.dat +119 -0
- gecatsim/material/edlp/pair/pp-cs-39.dat +119 -0
- gecatsim/material/edlp/pair/pp-cs-4.dat +105 -0
- gecatsim/material/edlp/pair/pp-cs-40.dat +119 -0
- gecatsim/material/edlp/pair/pp-cs-41.dat +119 -0
- gecatsim/material/edlp/pair/pp-cs-42.dat +119 -0
- gecatsim/material/edlp/pair/pp-cs-43.dat +119 -0
- gecatsim/material/edlp/pair/pp-cs-44.dat +119 -0
- gecatsim/material/edlp/pair/pp-cs-45.dat +119 -0
- gecatsim/material/edlp/pair/pp-cs-46.dat +119 -0
- gecatsim/material/edlp/pair/pp-cs-47.dat +120 -0
- gecatsim/material/edlp/pair/pp-cs-48.dat +120 -0
- gecatsim/material/edlp/pair/pp-cs-49.dat +120 -0
- gecatsim/material/edlp/pair/pp-cs-5.dat +106 -0
- gecatsim/material/edlp/pair/pp-cs-50.dat +120 -0
- gecatsim/material/edlp/pair/pp-cs-51.dat +120 -0
- gecatsim/material/edlp/pair/pp-cs-52.dat +120 -0
- gecatsim/material/edlp/pair/pp-cs-53.dat +121 -0
- gecatsim/material/edlp/pair/pp-cs-54.dat +121 -0
- gecatsim/material/edlp/pair/pp-cs-55.dat +121 -0
- gecatsim/material/edlp/pair/pp-cs-56.dat +121 -0
- gecatsim/material/edlp/pair/pp-cs-57.dat +122 -0
- gecatsim/material/edlp/pair/pp-cs-58.dat +122 -0
- gecatsim/material/edlp/pair/pp-cs-59.dat +122 -0
- gecatsim/material/edlp/pair/pp-cs-6.dat +107 -0
- gecatsim/material/edlp/pair/pp-cs-60.dat +122 -0
- gecatsim/material/edlp/pair/pp-cs-61.dat +122 -0
- gecatsim/material/edlp/pair/pp-cs-62.dat +123 -0
- gecatsim/material/edlp/pair/pp-cs-63.dat +123 -0
- gecatsim/material/edlp/pair/pp-cs-64.dat +123 -0
- gecatsim/material/edlp/pair/pp-cs-65.dat +124 -0
- gecatsim/material/edlp/pair/pp-cs-66.dat +124 -0
- gecatsim/material/edlp/pair/pp-cs-67.dat +124 -0
- gecatsim/material/edlp/pair/pp-cs-68.dat +124 -0
- gecatsim/material/edlp/pair/pp-cs-69.dat +124 -0
- gecatsim/material/edlp/pair/pp-cs-7.dat +108 -0
- gecatsim/material/edlp/pair/pp-cs-70.dat +124 -0
- gecatsim/material/edlp/pair/pp-cs-71.dat +124 -0
- gecatsim/material/edlp/pair/pp-cs-72.dat +124 -0
- gecatsim/material/edlp/pair/pp-cs-73.dat +125 -0
- gecatsim/material/edlp/pair/pp-cs-74.dat +125 -0
- gecatsim/material/edlp/pair/pp-cs-75.dat +126 -0
- gecatsim/material/edlp/pair/pp-cs-76.dat +126 -0
- gecatsim/material/edlp/pair/pp-cs-77.dat +126 -0
- gecatsim/material/edlp/pair/pp-cs-78.dat +125 -0
- gecatsim/material/edlp/pair/pp-cs-79.dat +125 -0
- gecatsim/material/edlp/pair/pp-cs-8.dat +109 -0
- gecatsim/material/edlp/pair/pp-cs-80.dat +125 -0
- gecatsim/material/edlp/pair/pp-cs-81.dat +126 -0
- gecatsim/material/edlp/pair/pp-cs-82.dat +126 -0
- gecatsim/material/edlp/pair/pp-cs-83.dat +126 -0
- gecatsim/material/edlp/pair/pp-cs-84.dat +126 -0
- gecatsim/material/edlp/pair/pp-cs-85.dat +126 -0
- gecatsim/material/edlp/pair/pp-cs-86.dat +126 -0
- gecatsim/material/edlp/pair/pp-cs-87.dat +126 -0
- gecatsim/material/edlp/pair/pp-cs-88.dat +126 -0
- gecatsim/material/edlp/pair/pp-cs-89.dat +127 -0
- gecatsim/material/edlp/pair/pp-cs-9.dat +109 -0
- gecatsim/material/edlp/pair/pp-cs-90.dat +127 -0
- gecatsim/material/edlp/pair/pp-cs-91.dat +127 -0
- gecatsim/material/edlp/pair/pp-cs-92.dat +127 -0
- gecatsim/material/edlp/pair/pp-cs-93.dat +127 -0
- gecatsim/material/edlp/pair/pp-cs-94.dat +126 -0
- gecatsim/material/edlp/pair/pp-cs-95.dat +126 -0
- gecatsim/material/edlp/pair/pp-cs-96.dat +126 -0
- gecatsim/material/edlp/pair/pp-cs-97.dat +126 -0
- gecatsim/material/edlp/pair/pp-cs-98.dat +126 -0
- gecatsim/material/edlp/pair/pp-cs-99.dat +126 -0
- gecatsim/material/edlp/pair/pp-cs-all.dat +0 -0
- gecatsim/material/edlp/phot/pe-cs-1.dat +87 -0
- gecatsim/material/edlp/phot/pe-cs-10.dat +388 -0
- gecatsim/material/edlp/phot/pe-cs-100.dat +1513 -0
- gecatsim/material/edlp/phot/pe-cs-11.dat +603 -0
- gecatsim/material/edlp/phot/pe-cs-12.dat +535 -0
- gecatsim/material/edlp/phot/pe-cs-13.dat +819 -0
- gecatsim/material/edlp/phot/pe-cs-14.dat +759 -0
- gecatsim/material/edlp/phot/pe-cs-15.dat +663 -0
- gecatsim/material/edlp/phot/pe-cs-16.dat +659 -0
- gecatsim/material/edlp/phot/pe-cs-17.dat +701 -0
- gecatsim/material/edlp/phot/pe-cs-18.dat +651 -0
- gecatsim/material/edlp/phot/pe-cs-19.dat +795 -0
- gecatsim/material/edlp/phot/pe-cs-2.dat +97 -0
- gecatsim/material/edlp/phot/pe-cs-20.dat +765 -0
- gecatsim/material/edlp/phot/pe-cs-21.dat +912 -0
- gecatsim/material/edlp/phot/pe-cs-22.dat +948 -0
- gecatsim/material/edlp/phot/pe-cs-23.dat +944 -0
- gecatsim/material/edlp/phot/pe-cs-24.dat +904 -0
- gecatsim/material/edlp/phot/pe-cs-25.dat +905 -0
- gecatsim/material/edlp/phot/pe-cs-26.dat +923 -0
- gecatsim/material/edlp/phot/pe-cs-27.dat +863 -0
- gecatsim/material/edlp/phot/pe-cs-28.dat +931 -0
- gecatsim/material/edlp/phot/pe-cs-29.dat +883 -0
- gecatsim/material/edlp/phot/pe-cs-3.dat +193 -0
- gecatsim/material/edlp/phot/pe-cs-30.dat +883 -0
- gecatsim/material/edlp/phot/pe-cs-31.dat +1018 -0
- gecatsim/material/edlp/phot/pe-cs-32.dat +1039 -0
- gecatsim/material/edlp/phot/pe-cs-33.dat +980 -0
- gecatsim/material/edlp/phot/pe-cs-34.dat +973 -0
- gecatsim/material/edlp/phot/pe-cs-35.dat +996 -0
- gecatsim/material/edlp/phot/pe-cs-36.dat +981 -0
- gecatsim/material/edlp/phot/pe-cs-37.dat +1047 -0
- gecatsim/material/edlp/phot/pe-cs-38.dat +975 -0
- gecatsim/material/edlp/phot/pe-cs-39.dat +1181 -0
- gecatsim/material/edlp/phot/pe-cs-4.dat +188 -0
- gecatsim/material/edlp/phot/pe-cs-40.dat +1169 -0
- gecatsim/material/edlp/phot/pe-cs-41.dat +1202 -0
- gecatsim/material/edlp/phot/pe-cs-42.dat +1181 -0
- gecatsim/material/edlp/phot/pe-cs-43.dat +1192 -0
- gecatsim/material/edlp/phot/pe-cs-44.dat +1217 -0
- gecatsim/material/edlp/phot/pe-cs-45.dat +1218 -0
- gecatsim/material/edlp/phot/pe-cs-46.dat +1070 -0
- gecatsim/material/edlp/phot/pe-cs-47.dat +1209 -0
- gecatsim/material/edlp/phot/pe-cs-48.dat +1202 -0
- gecatsim/material/edlp/phot/pe-cs-49.dat +1334 -0
- gecatsim/material/edlp/phot/pe-cs-5.dat +365 -0
- gecatsim/material/edlp/phot/pe-cs-50.dat +1234 -0
- gecatsim/material/edlp/phot/pe-cs-51.dat +1262 -0
- gecatsim/material/edlp/phot/pe-cs-52.dat +1166 -0
- gecatsim/material/edlp/phot/pe-cs-53.dat +1224 -0
- gecatsim/material/edlp/phot/pe-cs-54.dat +1139 -0
- gecatsim/material/edlp/phot/pe-cs-55.dat +1117 -0
- gecatsim/material/edlp/phot/pe-cs-56.dat +1068 -0
- gecatsim/material/edlp/phot/pe-cs-57.dat +1213 -0
- gecatsim/material/edlp/phot/pe-cs-58.dat +1230 -0
- gecatsim/material/edlp/phot/pe-cs-59.dat +1173 -0
- gecatsim/material/edlp/phot/pe-cs-6.dat +369 -0
- gecatsim/material/edlp/phot/pe-cs-60.dat +1237 -0
- gecatsim/material/edlp/phot/pe-cs-61.dat +1196 -0
- gecatsim/material/edlp/phot/pe-cs-62.dat +1210 -0
- gecatsim/material/edlp/phot/pe-cs-63.dat +1167 -0
- gecatsim/material/edlp/phot/pe-cs-64.dat +1309 -0
- gecatsim/material/edlp/phot/pe-cs-65.dat +1140 -0
- gecatsim/material/edlp/phot/pe-cs-66.dat +1172 -0
- gecatsim/material/edlp/phot/pe-cs-67.dat +1175 -0
- gecatsim/material/edlp/phot/pe-cs-68.dat +1168 -0
- gecatsim/material/edlp/phot/pe-cs-69.dat +1222 -0
- gecatsim/material/edlp/phot/pe-cs-7.dat +367 -0
- gecatsim/material/edlp/phot/pe-cs-70.dat +1217 -0
- gecatsim/material/edlp/phot/pe-cs-71.dat +1341 -0
- gecatsim/material/edlp/phot/pe-cs-72.dat +1317 -0
- gecatsim/material/edlp/phot/pe-cs-73.dat +1270 -0
- gecatsim/material/edlp/phot/pe-cs-74.dat +1295 -0
- gecatsim/material/edlp/phot/pe-cs-75.dat +1257 -0
- gecatsim/material/edlp/phot/pe-cs-76.dat +1295 -0
- gecatsim/material/edlp/phot/pe-cs-77.dat +1196 -0
- gecatsim/material/edlp/phot/pe-cs-78.dat +1198 -0
- gecatsim/material/edlp/phot/pe-cs-79.dat +1276 -0
- gecatsim/material/edlp/phot/pe-cs-8.dat +396 -0
- gecatsim/material/edlp/phot/pe-cs-80.dat +1205 -0
- gecatsim/material/edlp/phot/pe-cs-81.dat +1380 -0
- gecatsim/material/edlp/phot/pe-cs-82.dat +1355 -0
- gecatsim/material/edlp/phot/pe-cs-83.dat +1386 -0
- gecatsim/material/edlp/phot/pe-cs-84.dat +1366 -0
- gecatsim/material/edlp/phot/pe-cs-85.dat +1379 -0
- gecatsim/material/edlp/phot/pe-cs-86.dat +1342 -0
- gecatsim/material/edlp/phot/pe-cs-87.dat +1390 -0
- gecatsim/material/edlp/phot/pe-cs-88.dat +1248 -0
- gecatsim/material/edlp/phot/pe-cs-89.dat +1288 -0
- gecatsim/material/edlp/phot/pe-cs-9.dat +384 -0
- gecatsim/material/edlp/phot/pe-cs-90.dat +1400 -0
- gecatsim/material/edlp/phot/pe-cs-91.dat +1517 -0
- gecatsim/material/edlp/phot/pe-cs-92.dat +1571 -0
- gecatsim/material/edlp/phot/pe-cs-93.dat +1602 -0
- gecatsim/material/edlp/phot/pe-cs-94.dat +1432 -0
- gecatsim/material/edlp/phot/pe-cs-95.dat +1456 -0
- gecatsim/material/edlp/phot/pe-cs-96.dat +1494 -0
- gecatsim/material/edlp/phot/pe-cs-97.dat +1522 -0
- gecatsim/material/edlp/phot/pe-cs-98.dat +1498 -0
- gecatsim/material/edlp/phot/pe-cs-99.dat +1573 -0
- gecatsim/material/edlp/phot/pe-cs-all.dat +0 -0
- gecatsim/material/edlp/phot/pe-ss-cs-1.dat +88 -0
- gecatsim/material/edlp/phot/pe-ss-cs-10.dat +474 -0
- gecatsim/material/edlp/phot/pe-ss-cs-100.dat +2821 -0
- gecatsim/material/edlp/phot/pe-ss-cs-11.dat +717 -0
- gecatsim/material/edlp/phot/pe-ss-cs-12.dat +693 -0
- gecatsim/material/edlp/phot/pe-ss-cs-13.dat +978 -0
- gecatsim/material/edlp/phot/pe-ss-cs-14.dat +941 -0
- gecatsim/material/edlp/phot/pe-ss-cs-15.dat +884 -0
- gecatsim/material/edlp/phot/pe-ss-cs-16.dat +861 -0
- gecatsim/material/edlp/phot/pe-ss-cs-17.dat +870 -0
- gecatsim/material/edlp/phot/pe-ss-cs-18.dat +853 -0
- gecatsim/material/edlp/phot/pe-ss-cs-19.dat +993 -0
- gecatsim/material/edlp/phot/pe-ss-cs-2.dat +98 -0
- gecatsim/material/edlp/phot/pe-ss-cs-20.dat +959 -0
- gecatsim/material/edlp/phot/pe-ss-cs-21.dat +1233 -0
- gecatsim/material/edlp/phot/pe-ss-cs-22.dat +1227 -0
- gecatsim/material/edlp/phot/pe-ss-cs-23.dat +1225 -0
- gecatsim/material/edlp/phot/pe-ss-cs-24.dat +1250 -0
- gecatsim/material/edlp/phot/pe-ss-cs-25.dat +1209 -0
- gecatsim/material/edlp/phot/pe-ss-cs-26.dat +1209 -0
- gecatsim/material/edlp/phot/pe-ss-cs-27.dat +1200 -0
- gecatsim/material/edlp/phot/pe-ss-cs-28.dat +1198 -0
- gecatsim/material/edlp/phot/pe-ss-cs-29.dat +1204 -0
- gecatsim/material/edlp/phot/pe-ss-cs-3.dat +207 -0
- gecatsim/material/edlp/phot/pe-ss-cs-30.dat +1199 -0
- gecatsim/material/edlp/phot/pe-ss-cs-31.dat +1471 -0
- gecatsim/material/edlp/phot/pe-ss-cs-32.dat +1456 -0
- gecatsim/material/edlp/phot/pe-ss-cs-33.dat +1419 -0
- gecatsim/material/edlp/phot/pe-ss-cs-34.dat +1425 -0
- gecatsim/material/edlp/phot/pe-ss-cs-35.dat +1392 -0
- gecatsim/material/edlp/phot/pe-ss-cs-36.dat +1395 -0
- gecatsim/material/edlp/phot/pe-ss-cs-37.dat +1460 -0
- gecatsim/material/edlp/phot/pe-ss-cs-38.dat +1407 -0
- gecatsim/material/edlp/phot/pe-ss-cs-39.dat +1819 -0
- gecatsim/material/edlp/phot/pe-ss-cs-4.dat +211 -0
- gecatsim/material/edlp/phot/pe-ss-cs-40.dat +1807 -0
- gecatsim/material/edlp/phot/pe-ss-cs-41.dat +1811 -0
- gecatsim/material/edlp/phot/pe-ss-cs-42.dat +1818 -0
- gecatsim/material/edlp/phot/pe-ss-cs-43.dat +1792 -0
- gecatsim/material/edlp/phot/pe-ss-cs-44.dat +1781 -0
- gecatsim/material/edlp/phot/pe-ss-cs-45.dat +1788 -0
- gecatsim/material/edlp/phot/pe-ss-cs-46.dat +1611 -0
- gecatsim/material/edlp/phot/pe-ss-cs-47.dat +1771 -0
- gecatsim/material/edlp/phot/pe-ss-cs-48.dat +1782 -0
- gecatsim/material/edlp/phot/pe-ss-cs-49.dat +2033 -0
- gecatsim/material/edlp/phot/pe-ss-cs-5.dat +431 -0
- gecatsim/material/edlp/phot/pe-ss-cs-50.dat +1943 -0
- gecatsim/material/edlp/phot/pe-ss-cs-51.dat +1918 -0
- gecatsim/material/edlp/phot/pe-ss-cs-52.dat +1879 -0
- gecatsim/material/edlp/phot/pe-ss-cs-53.dat +1861 -0
- gecatsim/material/edlp/phot/pe-ss-cs-54.dat +1782 -0
- gecatsim/material/edlp/phot/pe-ss-cs-55.dat +1855 -0
- gecatsim/material/edlp/phot/pe-ss-cs-56.dat +1813 -0
- gecatsim/material/edlp/phot/pe-ss-cs-57.dat +2144 -0
- gecatsim/material/edlp/phot/pe-ss-cs-58.dat +2090 -0
- gecatsim/material/edlp/phot/pe-ss-cs-59.dat +2071 -0
- gecatsim/material/edlp/phot/pe-ss-cs-6.dat +436 -0
- gecatsim/material/edlp/phot/pe-ss-cs-60.dat +2066 -0
- gecatsim/material/edlp/phot/pe-ss-cs-61.dat +2064 -0
- gecatsim/material/edlp/phot/pe-ss-cs-62.dat +2063 -0
- gecatsim/material/edlp/phot/pe-ss-cs-63.dat +2043 -0
- gecatsim/material/edlp/phot/pe-ss-cs-64.dat +2405 -0
- gecatsim/material/edlp/phot/pe-ss-cs-65.dat +2035 -0
- gecatsim/material/edlp/phot/pe-ss-cs-66.dat +2023 -0
- gecatsim/material/edlp/phot/pe-ss-cs-67.dat +2026 -0
- gecatsim/material/edlp/phot/pe-ss-cs-68.dat +2029 -0
- gecatsim/material/edlp/phot/pe-ss-cs-69.dat +2018 -0
- gecatsim/material/edlp/phot/pe-ss-cs-7.dat +440 -0
- gecatsim/material/edlp/phot/pe-ss-cs-70.dat +2048 -0
- gecatsim/material/edlp/phot/pe-ss-cs-71.dat +2348 -0
- gecatsim/material/edlp/phot/pe-ss-cs-72.dat +2333 -0
- gecatsim/material/edlp/phot/pe-ss-cs-73.dat +2320 -0
- gecatsim/material/edlp/phot/pe-ss-cs-74.dat +2313 -0
- gecatsim/material/edlp/phot/pe-ss-cs-75.dat +2290 -0
- gecatsim/material/edlp/phot/pe-ss-cs-76.dat +2280 -0
- gecatsim/material/edlp/phot/pe-ss-cs-77.dat +2145 -0
- gecatsim/material/edlp/phot/pe-ss-cs-78.dat +2268 -0
- gecatsim/material/edlp/phot/pe-ss-cs-79.dat +2262 -0
- gecatsim/material/edlp/phot/pe-ss-cs-8.dat +445 -0
- gecatsim/material/edlp/phot/pe-ss-cs-80.dat +2271 -0
- gecatsim/material/edlp/phot/pe-ss-cs-81.dat +2497 -0
- gecatsim/material/edlp/phot/pe-ss-cs-82.dat +2494 -0
- gecatsim/material/edlp/phot/pe-ss-cs-83.dat +2467 -0
- gecatsim/material/edlp/phot/pe-ss-cs-84.dat +2453 -0
- gecatsim/material/edlp/phot/pe-ss-cs-85.dat +2423 -0
- gecatsim/material/edlp/phot/pe-ss-cs-86.dat +2379 -0
- gecatsim/material/edlp/phot/pe-ss-cs-87.dat +2451 -0
- gecatsim/material/edlp/phot/pe-ss-cs-88.dat +2367 -0
- gecatsim/material/edlp/phot/pe-ss-cs-89.dat +2696 -0
- gecatsim/material/edlp/phot/pe-ss-cs-9.dat +457 -0
- gecatsim/material/edlp/phot/pe-ss-cs-90.dat +2694 -0
- gecatsim/material/edlp/phot/pe-ss-cs-91.dat +3131 -0
- gecatsim/material/edlp/phot/pe-ss-cs-92.dat +3130 -0
- gecatsim/material/edlp/phot/pe-ss-cs-93.dat +3142 -0
- gecatsim/material/edlp/phot/pe-ss-cs-94.dat +2794 -0
- gecatsim/material/edlp/phot/pe-ss-cs-95.dat +2810 -0
- gecatsim/material/edlp/phot/pe-ss-cs-96.dat +3103 -0
- gecatsim/material/edlp/phot/pe-ss-cs-97.dat +3126 -0
- gecatsim/material/edlp/phot/pe-ss-cs-98.dat +2835 -0
- gecatsim/material/edlp/phot/pe-ss-cs-99.dat +2851 -0
- gecatsim/material/edlp/rayl/re-cs-1.dat +375 -0
- gecatsim/material/edlp/rayl/re-cs-10.dat +453 -0
- gecatsim/material/edlp/rayl/re-cs-100.dat +1555 -0
- gecatsim/material/edlp/rayl/re-cs-11.dat +607 -0
- gecatsim/material/edlp/rayl/re-cs-12.dat +561 -0
- gecatsim/material/edlp/rayl/re-cs-13.dat +903 -0
- gecatsim/material/edlp/rayl/re-cs-14.dat +830 -0
- gecatsim/material/edlp/rayl/re-cs-15.dat +745 -0
- gecatsim/material/edlp/rayl/re-cs-16.dat +698 -0
- gecatsim/material/edlp/rayl/re-cs-17.dat +666 -0
- gecatsim/material/edlp/rayl/re-cs-18.dat +597 -0
- gecatsim/material/edlp/rayl/re-cs-19.dat +760 -0
- gecatsim/material/edlp/rayl/re-cs-2.dat +343 -0
- gecatsim/material/edlp/rayl/re-cs-20.dat +796 -0
- gecatsim/material/edlp/rayl/re-cs-21.dat +869 -0
- gecatsim/material/edlp/rayl/re-cs-22.dat +869 -0
- gecatsim/material/edlp/rayl/re-cs-23.dat +839 -0
- gecatsim/material/edlp/rayl/re-cs-24.dat +826 -0
- gecatsim/material/edlp/rayl/re-cs-25.dat +914 -0
- gecatsim/material/edlp/rayl/re-cs-26.dat +913 -0
- gecatsim/material/edlp/rayl/re-cs-27.dat +901 -0
- gecatsim/material/edlp/rayl/re-cs-28.dat +888 -0
- gecatsim/material/edlp/rayl/re-cs-29.dat +844 -0
- gecatsim/material/edlp/rayl/re-cs-3.dat +517 -0
- gecatsim/material/edlp/rayl/re-cs-30.dat +801 -0
- gecatsim/material/edlp/rayl/re-cs-31.dat +1202 -0
- gecatsim/material/edlp/rayl/re-cs-32.dat +1113 -0
- gecatsim/material/edlp/rayl/re-cs-33.dat +1010 -0
- gecatsim/material/edlp/rayl/re-cs-34.dat +928 -0
- gecatsim/material/edlp/rayl/re-cs-35.dat +894 -0
- gecatsim/material/edlp/rayl/re-cs-36.dat +719 -0
- gecatsim/material/edlp/rayl/re-cs-37.dat +892 -0
- gecatsim/material/edlp/rayl/re-cs-38.dat +891 -0
- gecatsim/material/edlp/rayl/re-cs-39.dat +906 -0
- gecatsim/material/edlp/rayl/re-cs-4.dat +493 -0
- gecatsim/material/edlp/rayl/re-cs-40.dat +930 -0
- gecatsim/material/edlp/rayl/re-cs-41.dat +918 -0
- gecatsim/material/edlp/rayl/re-cs-42.dat +1068 -0
- gecatsim/material/edlp/rayl/re-cs-43.dat +1085 -0
- gecatsim/material/edlp/rayl/re-cs-44.dat +1085 -0
- gecatsim/material/edlp/rayl/re-cs-45.dat +1124 -0
- gecatsim/material/edlp/rayl/re-cs-46.dat +853 -0
- gecatsim/material/edlp/rayl/re-cs-47.dat +1087 -0
- gecatsim/material/edlp/rayl/re-cs-48.dat +1001 -0
- gecatsim/material/edlp/rayl/re-cs-49.dat +1508 -0
- gecatsim/material/edlp/rayl/re-cs-5.dat +619 -0
- gecatsim/material/edlp/rayl/re-cs-50.dat +1370 -0
- gecatsim/material/edlp/rayl/re-cs-51.dat +1234 -0
- gecatsim/material/edlp/rayl/re-cs-52.dat +1138 -0
- gecatsim/material/edlp/rayl/re-cs-53.dat +1062 -0
- gecatsim/material/edlp/rayl/re-cs-54.dat +925 -0
- gecatsim/material/edlp/rayl/re-cs-55.dat +1130 -0
- gecatsim/material/edlp/rayl/re-cs-56.dat +1176 -0
- gecatsim/material/edlp/rayl/re-cs-57.dat +1172 -0
- gecatsim/material/edlp/rayl/re-cs-58.dat +1243 -0
- gecatsim/material/edlp/rayl/re-cs-59.dat +1232 -0
- gecatsim/material/edlp/rayl/re-cs-6.dat +647 -0
- gecatsim/material/edlp/rayl/re-cs-60.dat +1195 -0
- gecatsim/material/edlp/rayl/re-cs-61.dat +1229 -0
- gecatsim/material/edlp/rayl/re-cs-62.dat +1297 -0
- gecatsim/material/edlp/rayl/re-cs-63.dat +1324 -0
- gecatsim/material/edlp/rayl/re-cs-64.dat +1384 -0
- gecatsim/material/edlp/rayl/re-cs-65.dat +1356 -0
- gecatsim/material/edlp/rayl/re-cs-66.dat +1401 -0
- gecatsim/material/edlp/rayl/re-cs-67.dat +1374 -0
- gecatsim/material/edlp/rayl/re-cs-68.dat +1264 -0
- gecatsim/material/edlp/rayl/re-cs-69.dat +1327 -0
- gecatsim/material/edlp/rayl/re-cs-7.dat +669 -0
- gecatsim/material/edlp/rayl/re-cs-70.dat +1243 -0
- gecatsim/material/edlp/rayl/re-cs-71.dat +1384 -0
- gecatsim/material/edlp/rayl/re-cs-72.dat +1338 -0
- gecatsim/material/edlp/rayl/re-cs-73.dat +1181 -0
- gecatsim/material/edlp/rayl/re-cs-74.dat +1009 -0
- gecatsim/material/edlp/rayl/re-cs-75.dat +1138 -0
- gecatsim/material/edlp/rayl/re-cs-76.dat +1106 -0
- gecatsim/material/edlp/rayl/re-cs-77.dat +1040 -0
- gecatsim/material/edlp/rayl/re-cs-78.dat +1176 -0
- gecatsim/material/edlp/rayl/re-cs-79.dat +1123 -0
- gecatsim/material/edlp/rayl/re-cs-8.dat +662 -0
- gecatsim/material/edlp/rayl/re-cs-80.dat +1126 -0
- gecatsim/material/edlp/rayl/re-cs-81.dat +1668 -0
- gecatsim/material/edlp/rayl/re-cs-82.dat +1641 -0
- gecatsim/material/edlp/rayl/re-cs-83.dat +1448 -0
- gecatsim/material/edlp/rayl/re-cs-84.dat +1338 -0
- gecatsim/material/edlp/rayl/re-cs-85.dat +1236 -0
- gecatsim/material/edlp/rayl/re-cs-86.dat +1099 -0
- gecatsim/material/edlp/rayl/re-cs-87.dat +1368 -0
- gecatsim/material/edlp/rayl/re-cs-88.dat +1448 -0
- gecatsim/material/edlp/rayl/re-cs-89.dat +1592 -0
- gecatsim/material/edlp/rayl/re-cs-9.dat +584 -0
- gecatsim/material/edlp/rayl/re-cs-90.dat +1504 -0
- gecatsim/material/edlp/rayl/re-cs-91.dat +1547 -0
- gecatsim/material/edlp/rayl/re-cs-92.dat +1633 -0
- gecatsim/material/edlp/rayl/re-cs-93.dat +1625 -0
- gecatsim/material/edlp/rayl/re-cs-94.dat +1427 -0
- gecatsim/material/edlp/rayl/re-cs-95.dat +1465 -0
- gecatsim/material/edlp/rayl/re-cs-96.dat +1794 -0
- gecatsim/material/edlp/rayl/re-cs-97.dat +1638 -0
- gecatsim/material/edlp/rayl/re-cs-98.dat +1554 -0
- gecatsim/material/edlp/rayl/re-cs-99.dat +1528 -0
- gecatsim/material/edlp/rayl/re-cs-all.dat +0 -0
- gecatsim/material/edlp/rayl/re-ff-1.dat +103 -0
- gecatsim/material/edlp/rayl/re-ff-10.dat +175 -0
- gecatsim/material/edlp/rayl/re-ff-100.dat +146 -0
- gecatsim/material/edlp/rayl/re-ff-11.dat +183 -0
- gecatsim/material/edlp/rayl/re-ff-12.dat +176 -0
- gecatsim/material/edlp/rayl/re-ff-13.dat +162 -0
- gecatsim/material/edlp/rayl/re-ff-14.dat +166 -0
- gecatsim/material/edlp/rayl/re-ff-15.dat +162 -0
- gecatsim/material/edlp/rayl/re-ff-16.dat +161 -0
- gecatsim/material/edlp/rayl/re-ff-17.dat +165 -0
- gecatsim/material/edlp/rayl/re-ff-18.dat +157 -0
- gecatsim/material/edlp/rayl/re-ff-19.dat +163 -0
- gecatsim/material/edlp/rayl/re-ff-2.dat +140 -0
- gecatsim/material/edlp/rayl/re-ff-20.dat +164 -0
- gecatsim/material/edlp/rayl/re-ff-21.dat +158 -0
- gecatsim/material/edlp/rayl/re-ff-22.dat +159 -0
- gecatsim/material/edlp/rayl/re-ff-23.dat +158 -0
- gecatsim/material/edlp/rayl/re-ff-24.dat +165 -0
- gecatsim/material/edlp/rayl/re-ff-25.dat +160 -0
- gecatsim/material/edlp/rayl/re-ff-26.dat +163 -0
- gecatsim/material/edlp/rayl/re-ff-27.dat +161 -0
- gecatsim/material/edlp/rayl/re-ff-28.dat +169 -0
- gecatsim/material/edlp/rayl/re-ff-29.dat +163 -0
- gecatsim/material/edlp/rayl/re-ff-3.dat +145 -0
- gecatsim/material/edlp/rayl/re-ff-30.dat +164 -0
- gecatsim/material/edlp/rayl/re-ff-31.dat +162 -0
- gecatsim/material/edlp/rayl/re-ff-32.dat +164 -0
- gecatsim/material/edlp/rayl/re-ff-33.dat +163 -0
- gecatsim/material/edlp/rayl/re-ff-34.dat +165 -0
- gecatsim/material/edlp/rayl/re-ff-35.dat +163 -0
- gecatsim/material/edlp/rayl/re-ff-36.dat +154 -0
- gecatsim/material/edlp/rayl/re-ff-37.dat +156 -0
- gecatsim/material/edlp/rayl/re-ff-38.dat +157 -0
- gecatsim/material/edlp/rayl/re-ff-39.dat +157 -0
- gecatsim/material/edlp/rayl/re-ff-4.dat +147 -0
- gecatsim/material/edlp/rayl/re-ff-40.dat +166 -0
- gecatsim/material/edlp/rayl/re-ff-41.dat +168 -0
- gecatsim/material/edlp/rayl/re-ff-42.dat +163 -0
- gecatsim/material/edlp/rayl/re-ff-43.dat +160 -0
- gecatsim/material/edlp/rayl/re-ff-44.dat +156 -0
- gecatsim/material/edlp/rayl/re-ff-45.dat +156 -0
- gecatsim/material/edlp/rayl/re-ff-46.dat +158 -0
- gecatsim/material/edlp/rayl/re-ff-47.dat +158 -0
- gecatsim/material/edlp/rayl/re-ff-48.dat +160 -0
- gecatsim/material/edlp/rayl/re-ff-49.dat +161 -0
- gecatsim/material/edlp/rayl/re-ff-5.dat +144 -0
- gecatsim/material/edlp/rayl/re-ff-50.dat +154 -0
- gecatsim/material/edlp/rayl/re-ff-51.dat +152 -0
- gecatsim/material/edlp/rayl/re-ff-52.dat +154 -0
- gecatsim/material/edlp/rayl/re-ff-53.dat +159 -0
- gecatsim/material/edlp/rayl/re-ff-54.dat +159 -0
- gecatsim/material/edlp/rayl/re-ff-55.dat +154 -0
- gecatsim/material/edlp/rayl/re-ff-56.dat +157 -0
- gecatsim/material/edlp/rayl/re-ff-57.dat +164 -0
- gecatsim/material/edlp/rayl/re-ff-58.dat +163 -0
- gecatsim/material/edlp/rayl/re-ff-59.dat +158 -0
- gecatsim/material/edlp/rayl/re-ff-6.dat +151 -0
- gecatsim/material/edlp/rayl/re-ff-60.dat +153 -0
- gecatsim/material/edlp/rayl/re-ff-61.dat +165 -0
- gecatsim/material/edlp/rayl/re-ff-62.dat +165 -0
- gecatsim/material/edlp/rayl/re-ff-63.dat +156 -0
- gecatsim/material/edlp/rayl/re-ff-64.dat +162 -0
- gecatsim/material/edlp/rayl/re-ff-65.dat +159 -0
- gecatsim/material/edlp/rayl/re-ff-66.dat +154 -0
- gecatsim/material/edlp/rayl/re-ff-67.dat +164 -0
- gecatsim/material/edlp/rayl/re-ff-68.dat +155 -0
- gecatsim/material/edlp/rayl/re-ff-69.dat +160 -0
- gecatsim/material/edlp/rayl/re-ff-7.dat +170 -0
- gecatsim/material/edlp/rayl/re-ff-70.dat +165 -0
- gecatsim/material/edlp/rayl/re-ff-71.dat +158 -0
- gecatsim/material/edlp/rayl/re-ff-72.dat +159 -0
- gecatsim/material/edlp/rayl/re-ff-73.dat +161 -0
- gecatsim/material/edlp/rayl/re-ff-74.dat +160 -0
- gecatsim/material/edlp/rayl/re-ff-75.dat +157 -0
- gecatsim/material/edlp/rayl/re-ff-76.dat +151 -0
- gecatsim/material/edlp/rayl/re-ff-77.dat +148 -0
- gecatsim/material/edlp/rayl/re-ff-78.dat +146 -0
- gecatsim/material/edlp/rayl/re-ff-79.dat +144 -0
- gecatsim/material/edlp/rayl/re-ff-8.dat +172 -0
- gecatsim/material/edlp/rayl/re-ff-80.dat +149 -0
- gecatsim/material/edlp/rayl/re-ff-81.dat +154 -0
- gecatsim/material/edlp/rayl/re-ff-82.dat +150 -0
- gecatsim/material/edlp/rayl/re-ff-83.dat +155 -0
- gecatsim/material/edlp/rayl/re-ff-84.dat +152 -0
- gecatsim/material/edlp/rayl/re-ff-85.dat +158 -0
- gecatsim/material/edlp/rayl/re-ff-86.dat +150 -0
- gecatsim/material/edlp/rayl/re-ff-87.dat +150 -0
- gecatsim/material/edlp/rayl/re-ff-88.dat +149 -0
- gecatsim/material/edlp/rayl/re-ff-89.dat +147 -0
- gecatsim/material/edlp/rayl/re-ff-9.dat +180 -0
- gecatsim/material/edlp/rayl/re-ff-90.dat +149 -0
- gecatsim/material/edlp/rayl/re-ff-91.dat +147 -0
- gecatsim/material/edlp/rayl/re-ff-92.dat +153 -0
- gecatsim/material/edlp/rayl/re-ff-93.dat +148 -0
- gecatsim/material/edlp/rayl/re-ff-94.dat +150 -0
- gecatsim/material/edlp/rayl/re-ff-95.dat +147 -0
- gecatsim/material/edlp/rayl/re-ff-96.dat +147 -0
- gecatsim/material/edlp/rayl/re-ff-97.dat +146 -0
- gecatsim/material/edlp/rayl/re-ff-98.dat +148 -0
- gecatsim/material/edlp/rayl/re-ff-99.dat +148 -0
- gecatsim/material/edlp/rayl/re-ff-all.dat +0 -0
- gecatsim/material/graphite +13 -0
- gecatsim/material/ncat_adipose +19 -0
- gecatsim/material/ncat_air +18 -0
- gecatsim/material/ncat_aluminum +14 -0
- gecatsim/material/ncat_bladder +23 -0
- gecatsim/material/ncat_blood +24 -0
- gecatsim/material/ncat_blood_with_0_7pct_iodine +25 -0
- gecatsim/material/ncat_blood_with_0_8pct_iodine +25 -0
- gecatsim/material/ncat_blood_with_0_9pct_iodine +25 -0
- gecatsim/material/ncat_blood_with_1_0pct_iodine +25 -0
- gecatsim/material/ncat_blood_with_1_1pct_iodine +25 -0
- gecatsim/material/ncat_blood_with_2_0pct_iodine +25 -0
- gecatsim/material/ncat_blood_with_3_0pct_iodine +25 -0
- gecatsim/material/ncat_brain +23 -0
- gecatsim/material/ncat_breast_mammary +22 -0
- gecatsim/material/ncat_cartilage +22 -0
- gecatsim/material/ncat_dry_rib +23 -0
- gecatsim/material/ncat_dry_spine +24 -0
- gecatsim/material/ncat_eye_lens +22 -0
- gecatsim/material/ncat_graphite +14 -0
- gecatsim/material/ncat_heart +23 -0
- gecatsim/material/ncat_intestine +23 -0
- gecatsim/material/ncat_iodine +14 -0
- gecatsim/material/ncat_iodine_blood +25 -0
- gecatsim/material/ncat_iron +14 -0
- gecatsim/material/ncat_kidney +24 -0
- gecatsim/material/ncat_lead +14 -0
- gecatsim/material/ncat_liver +23 -0
- gecatsim/material/ncat_lung +23 -0
- gecatsim/material/ncat_lymph +21 -0
- gecatsim/material/ncat_muscle +23 -0
- gecatsim/material/ncat_ovary +23 -0
- gecatsim/material/ncat_pancreas +23 -0
- gecatsim/material/ncat_pmma +17 -0
- gecatsim/material/ncat_red_marrow +23 -0
- gecatsim/material/ncat_skin +23 -0
- gecatsim/material/ncat_skull +23 -0
- gecatsim/material/ncat_spleen +23 -0
- gecatsim/material/ncat_testis +23 -0
- gecatsim/material/ncat_thyroid +24 -0
- gecatsim/material/ncat_titanium +14 -0
- gecatsim/material/ncat_water +16 -0
- gecatsim/material/ncat_yellow_marrow +21 -0
- gecatsim/material/plexi +21 -0
- gecatsim/material/polyethylene +14 -0
- gecatsim/material/polyethylene_HDPE +16 -0
- gecatsim/material/polyethylene_LDPE +16 -0
- gecatsim/material/polyethylene_MDPE +16 -0
- gecatsim/material/polyethylene_legacy +20 -0
- gecatsim/material/polystyrene +18 -0
- gecatsim/material/polystyrene_legacy +21 -0
- gecatsim/material/pvc_legacy +22 -0
- gecatsim/material/water +16 -0
- gecatsim/material/water_20C +16 -0
- gecatsim/material/water_20C_NaCl_0p9_pct +18 -0
- gecatsim/material/water_20C_iodine_100mg +17 -0
- gecatsim/material/water_20C_iodine_10mg +17 -0
- gecatsim/material/water_20C_iodine_15mg +17 -0
- gecatsim/material/water_20C_iodine_1mg +17 -0
- gecatsim/material/water_20C_iodine_20mg +17 -0
- gecatsim/material/water_20C_iodine_2mg +17 -0
- gecatsim/material/water_20C_iodine_30mg +17 -0
- gecatsim/material/water_20C_iodine_40mg +17 -0
- gecatsim/material/water_20C_iodine_50mg +17 -0
- gecatsim/material/water_20C_iodine_5mg +17 -0
- gecatsim/material/water_37C +16 -0
- gecatsim/phantom/CTDI_16cm_WaterAirPEBoneChambers.ppm +62 -0
- gecatsim/phantom/CatSimLogo_1024/CatSimLogo_1024_128mmZ.json +51 -0
- gecatsim/phantom/CatSimLogo_1024/CatSim_logo_1024.json +51 -0
- gecatsim/phantom/CatSimLogo_1024/CatSim_logo_1024_bone_1024x1024x1.raw +0 -0
- gecatsim/phantom/CatSimLogo_1024/CatSim_logo_1024_water_1024x1024x1.raw +0 -0
- gecatsim/phantom/W20.ppm +22 -0
- gecatsim/phantom/W30.ppm +22 -0
- gecatsim/phantom/W35.ppm +22 -0
- gecatsim/phantom/analyticArtifactPhantom.ppm +41 -0
- gecatsim/phantom/female_adult_average_lung_lesions_reduced.nrb +49874 -0
- gecatsim/phantom/poly_bin/poly10 +0 -0
- gecatsim/phantom/poly_bin/poly100 +0 -0
- gecatsim/phantom/poly_bin/poly12 +0 -0
- gecatsim/phantom/poly_bin/poly14 +0 -0
- gecatsim/phantom/poly_bin/poly17 +0 -0
- gecatsim/phantom/poly_bin/poly20 +0 -0
- gecatsim/phantom/poly_bin/poly21 +0 -0
- gecatsim/phantom/poly_bin/poly22 +0 -0
- gecatsim/phantom/poly_bin/poly23 +0 -0
- gecatsim/phantom/poly_bin/poly24 +0 -0
- gecatsim/phantom/poly_bin/poly25 +0 -0
- gecatsim/phantom/poly_bin/poly26 +0 -0
- gecatsim/phantom/poly_bin/poly28 +0 -0
- gecatsim/phantom/poly_bin/poly32 +0 -0
- gecatsim/phantom/poly_bin/poly33 +0 -0
- gecatsim/phantom/poly_bin/poly34 +0 -0
- gecatsim/phantom/poly_bin/poly36 +0 -0
- gecatsim/phantom/poly_bin/poly38 +0 -0
- gecatsim/phantom/poly_bin/poly4 +0 -0
- gecatsim/phantom/poly_bin/poly40 +0 -0
- gecatsim/phantom/poly_bin/poly41 +0 -0
- gecatsim/phantom/poly_bin/poly44 +0 -0
- gecatsim/phantom/poly_bin/poly49 +0 -0
- gecatsim/phantom/poly_bin/poly5 +0 -0
- gecatsim/phantom/poly_bin/poly50 +0 -0
- gecatsim/phantom/poly_bin/poly52 +0 -0
- gecatsim/phantom/poly_bin/poly55 +0 -0
- gecatsim/phantom/poly_bin/poly58 +0 -0
- gecatsim/phantom/poly_bin/poly6 +0 -0
- gecatsim/phantom/poly_bin/poly60 +0 -0
- gecatsim/phantom/poly_bin/poly62 +0 -0
- gecatsim/phantom/poly_bin/poly66 +0 -0
- gecatsim/phantom/poly_bin/poly68 +0 -0
- gecatsim/phantom/poly_bin/poly7 +0 -0
- gecatsim/phantom/poly_bin/poly71 +0 -0
- gecatsim/phantom/poly_bin/poly75 +0 -0
- gecatsim/phantom/poly_bin/poly77 +0 -0
- gecatsim/phantom/poly_bin/poly79 +0 -0
- gecatsim/phantom/poly_bin/poly86 +0 -0
- gecatsim/phantom/poly_bin/poly9 +0 -0
- gecatsim/phantom/poly_bin/poly92 +0 -0
- gecatsim/phantom/poly_bin/poly96 +0 -0
- gecatsim/phantom/tungsten_wire.ppm +12 -0
- gecatsim/phantom/vmale50_chest_less_surfaces.nrb +41545 -0
- gecatsim/pyfiles/C_DD3Proj.py +57 -0
- gecatsim/pyfiles/C_DD3Proj_mm.py +64 -0
- gecatsim/pyfiles/C_Materials_CrossSectionDB_Initialize.py +18 -0
- gecatsim/pyfiles/C_Materials_CrossSectionMAC_ByProc_Get.py +25 -0
- gecatsim/pyfiles/C_Phantom_Analytic_FORBILD_to_tmp.py +13 -0
- gecatsim/pyfiles/C_Projector_Analytic.py +62 -0
- gecatsim/pyfiles/C_Projector_NCAT.py +66 -0
- gecatsim/pyfiles/C_Projector_Polygon.py +60 -0
- gecatsim/pyfiles/C_Projector_SetData.py +166 -0
- gecatsim/pyfiles/C_Projector_Voxelized.py +75 -0
- gecatsim/pyfiles/C_Source_Analytic_Set.py +17 -0
- gecatsim/pyfiles/C_Source_NCAT_Set.py +17 -0
- gecatsim/pyfiles/C_Source_Voxelized_Set.py +17 -0
- gecatsim/pyfiles/C_Volume_Get.py +24 -0
- gecatsim/pyfiles/C_Volume_NCAT_Get.py +24 -0
- gecatsim/pyfiles/C_Volume_Poly_Get.py +24 -0
- gecatsim/pyfiles/CalcCrossTalk.py +42 -0
- gecatsim/pyfiles/CalcOptCrossTalk.py +39 -0
- gecatsim/pyfiles/CatSim.py +88 -0
- gecatsim/pyfiles/CheckModules.py +59 -0
- gecatsim/pyfiles/Check_Replace_Old_Names.py +85 -0
- gecatsim/pyfiles/CommonTools.py +445 -0
- gecatsim/pyfiles/Detection_DAS.py +25 -0
- gecatsim/pyfiles/Detection_EI.py +84 -0
- gecatsim/pyfiles/Detection_Flux.py +47 -0
- gecatsim/pyfiles/Detection_Lag.py +28 -0
- gecatsim/pyfiles/Detection_PC.py +120 -0
- gecatsim/pyfiles/Detection_prefilter.py +35 -0
- gecatsim/pyfiles/Detector_RayAngles_2D.py +86 -0
- gecatsim/pyfiles/Detector_ThirdgenCurved.py +119 -0
- gecatsim/pyfiles/FlatPanel/Detection_DAS_FlatPanel.py +101 -0
- gecatsim/pyfiles/FlatPanel/Detection_OpticalCrosstalk_FlatPanel.py +39 -0
- gecatsim/pyfiles/FlatPanel/Detector_FlatPanel.py +120 -0
- gecatsim/pyfiles/Gantry_Helical.py +56 -0
- gecatsim/pyfiles/GetMu.py +68 -0
- gecatsim/pyfiles/LowSignalCorr.py +32 -0
- gecatsim/pyfiles/OneScan.py +144 -0
- gecatsim/pyfiles/PhantomProjectorWrapper.py +65 -0
- gecatsim/pyfiles/Phantom_Analytic.py +936 -0
- gecatsim/pyfiles/Phantom_CAD_to_Polygonal.py +82 -0
- gecatsim/pyfiles/Phantom_NCAT.py +96 -0
- gecatsim/pyfiles/Phantom_Polygonal.py +122 -0
- gecatsim/pyfiles/Phantom_Polygonal_ReadPolygon.py +58 -0
- gecatsim/pyfiles/Phantom_Voxelized.py +120 -0
- gecatsim/pyfiles/PrepView.py +56 -0
- gecatsim/pyfiles/Prep_BHC_Accurate.py +69 -0
- gecatsim/pyfiles/ReadMaterialFile.py +29 -0
- gecatsim/pyfiles/Scatter_ConvolutionModel.py +44 -0
- gecatsim/pyfiles/Scatter_Correction.py +52 -0
- gecatsim/pyfiles/SetFocalspot.py +239 -0
- gecatsim/pyfiles/Spectrum.py +130 -0
- gecatsim/pyfiles/Spectrum_heel.py +146 -0
- gecatsim/pyfiles/WriteRawView.py +32 -0
- gecatsim/pyfiles/WriteRawViewChunk.py +40 -0
- gecatsim/pyfiles/Xray_Filter.py +93 -0
- gecatsim/pyfiles/__init__.py +0 -0
- gecatsim/pyfiles/catvoxel.py +161 -0
- gecatsim/pyfiles/randpf.py +27 -0
- gecatsim/reconstruction/lib/fdk_equiAngle.dll +0 -0
- gecatsim/reconstruction/lib/fdk_equiAngle.so +0 -0
- gecatsim/reconstruction/lib/fdk_equiAngle_macos.so +0 -0
- gecatsim/reconstruction/lib/helicalrecon.dll +0 -0
- gecatsim/reconstruction/lib/helicalrecon.so +0 -0
- gecatsim/reconstruction/lib/readme.md +20 -0
- gecatsim/reconstruction/pyfiles/createHSP.py +81 -0
- gecatsim/reconstruction/pyfiles/fdk_equiAngle.py +245 -0
- gecatsim/reconstruction/pyfiles/helical_equiAngle.py +284 -0
- gecatsim/reconstruction/pyfiles/mapConfigVariablesToFDK.py +38 -0
- gecatsim/reconstruction/pyfiles/mapConfigVariablesToHelical.py +50 -0
- gecatsim/reconstruction/pyfiles/recon.py +172 -0
- gecatsim/reconstruction/src/Parallel_FDK_Helical_3DWeighting.c +211 -0
- gecatsim/reconstruction/src/interface_fdk_angle.c +162 -0
- gecatsim/response_matrix/PC_spectral_response_CZT0.25x0.25x1.6.mat +0 -0
- gecatsim/scatter/scatter_kernel.dat +0 -0
- gecatsim/spectrum/XCISTspectrum.m +262 -0
- gecatsim/spectrum/convert.py +21 -0
- gecatsim/spectrum/readme.md +17 -0
- gecatsim/spectrum/tungsten_tar10.0_100_filt.dat +201 -0
- gecatsim/spectrum/tungsten_tar10.0_110_filt.dat +221 -0
- gecatsim/spectrum/tungsten_tar10.0_120_filt.dat +241 -0
- gecatsim/spectrum/tungsten_tar10.0_130_filt.dat +261 -0
- gecatsim/spectrum/tungsten_tar10.0_140_filt.dat +281 -0
- gecatsim/spectrum/tungsten_tar10.0_70_filt.dat +141 -0
- gecatsim/spectrum/tungsten_tar10.0_80_filt.dat +161 -0
- gecatsim/spectrum/tungsten_tar10.0_90_filt.dat +181 -0
- gecatsim/spectrum/tungsten_tar7.0_100_filt.dat +201 -0
- gecatsim/spectrum/tungsten_tar7.0_110_filt.dat +221 -0
- gecatsim/spectrum/tungsten_tar7.0_120_filt.dat +241 -0
- gecatsim/spectrum/tungsten_tar7.0_130_filt.dat +261 -0
- gecatsim/spectrum/tungsten_tar7.0_140_filt.dat +281 -0
- gecatsim/spectrum/tungsten_tar7.0_70_filt.dat +141 -0
- gecatsim/spectrum/tungsten_tar7.0_80_filt.dat +161 -0
- gecatsim/spectrum/tungsten_tar7.0_90_filt.dat +181 -0
- gecatsim/spectrum/xcist_kVp100_tar7_bin1.dat +103 -0
- gecatsim/spectrum/xcist_kVp120_tar7_bin1.dat +123 -0
- gecatsim/spectrum/xcist_kVp140_tar7_bin1.dat +143 -0
- gecatsim/spectrum/xcist_kVp80_tar7_bin1.dat +83 -0
|
@@ -0,0 +1,2126 @@
|
|
|
1
|
+
/* -----------------------------------------------------------------------
|
|
2
|
+
* Program Name: phantom.tab.cpp
|
|
3
|
+
* Copyright 2024, GE Precision HealthCare. All rights reserved. See https://github.com/xcist/main/tree/master/license
|
|
4
|
+
* -----------------------------------------------------------------------*/
|
|
5
|
+
/* A Bison parser, made by GNU Bison 1.875c. */
|
|
6
|
+
|
|
7
|
+
/* Skeleton parser for Yacc-like parsing with Bison,
|
|
8
|
+
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
|
|
9
|
+
|
|
10
|
+
This program is free software; you can redistribute it and/or modify
|
|
11
|
+
it under the terms of the GNU General Public License as published by
|
|
12
|
+
the Free Software Foundation; either version 2, or (at your option)
|
|
13
|
+
any later version.
|
|
14
|
+
|
|
15
|
+
This program is distributed in the hope that it will be useful,
|
|
16
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
17
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
18
|
+
GNU General Public License for more details.
|
|
19
|
+
|
|
20
|
+
You should have received a copy of the GNU General Public License
|
|
21
|
+
along with this program; if not, write to the Free Software
|
|
22
|
+
Foundation, Inc., 59 Temple Place - Suite 330,
|
|
23
|
+
Boston, MA 02111-1307, USA. */
|
|
24
|
+
|
|
25
|
+
/* As a special exception, when this file is copied by Bison into a
|
|
26
|
+
Bison output file, you may use that output file without restriction.
|
|
27
|
+
This special exception was added by the Free Software Foundation
|
|
28
|
+
in version 1.24 of Bison. */
|
|
29
|
+
|
|
30
|
+
/* Written by Richard Stallman by simplifying the original so called
|
|
31
|
+
``semantic'' parser. */
|
|
32
|
+
|
|
33
|
+
/* All symbols defined below should begin with yy or YY, to avoid
|
|
34
|
+
infringing on user name space. This should be done even for local
|
|
35
|
+
variables, as they might otherwise be expanded by user macros.
|
|
36
|
+
There are some unavoidable exceptions within include files to
|
|
37
|
+
define necessary library symbols; they are noted "INFRINGES ON
|
|
38
|
+
USER NAME SPACE" below. */
|
|
39
|
+
|
|
40
|
+
/* Identify Bison output. */
|
|
41
|
+
#define YYBISON 1
|
|
42
|
+
|
|
43
|
+
/* Skeleton name. */
|
|
44
|
+
#define YYSKELETON_NAME "yacc.c"
|
|
45
|
+
|
|
46
|
+
/* Pure parsers. */
|
|
47
|
+
#define YYPURE 0
|
|
48
|
+
|
|
49
|
+
/* Using locations. */
|
|
50
|
+
#define YYLSP_NEEDED 0
|
|
51
|
+
|
|
52
|
+
/* If NAME_PREFIX is specified substitute the variables and functions
|
|
53
|
+
names. */
|
|
54
|
+
#define yyparse phantomparse
|
|
55
|
+
#define yylex phantomlex
|
|
56
|
+
#define yyerror phantomerror
|
|
57
|
+
#define yylval phantomlval
|
|
58
|
+
#define yychar phantomchar
|
|
59
|
+
#define yydebug phantomdebug
|
|
60
|
+
#define yynerrs phantomnerrs
|
|
61
|
+
|
|
62
|
+
#ifdef WIN32
|
|
63
|
+
#define _USE_MATH_DEFINES
|
|
64
|
+
typedef struct phantomlval {
|
|
65
|
+
double val;
|
|
66
|
+
double vec[3];
|
|
67
|
+
char str[128];
|
|
68
|
+
} PHANTOMLVAL;
|
|
69
|
+
|
|
70
|
+
#endif
|
|
71
|
+
|
|
72
|
+
/* Tokens. */
|
|
73
|
+
#ifndef YYTOKENTYPE
|
|
74
|
+
# define YYTOKENTYPE
|
|
75
|
+
/* Put the tokens into the symbol table, so that GDB and other debuggers
|
|
76
|
+
know about them. */
|
|
77
|
+
enum yytokentype {
|
|
78
|
+
SPHERE = 258,
|
|
79
|
+
BOX = 259,
|
|
80
|
+
CYLX = 260,
|
|
81
|
+
CYLY = 261,
|
|
82
|
+
CYLZ = 262,
|
|
83
|
+
CYL = 263,
|
|
84
|
+
ELLIP = 264,
|
|
85
|
+
ELLIPFREE = 265,
|
|
86
|
+
ELLIPCYL = 266,
|
|
87
|
+
ECYLX = 267,
|
|
88
|
+
ECYLY = 268,
|
|
89
|
+
ECYLZ = 269,
|
|
90
|
+
CONE = 270,
|
|
91
|
+
CONEX = 271,
|
|
92
|
+
CONEY = 272,
|
|
93
|
+
CONEZ = 273,
|
|
94
|
+
RHO = 274,
|
|
95
|
+
SIN = 275,
|
|
96
|
+
COS = 276,
|
|
97
|
+
SQRT = 277,
|
|
98
|
+
MATERIAL = 278,
|
|
99
|
+
NEG = 279,
|
|
100
|
+
LENGTHX = 280,
|
|
101
|
+
LENGTHY = 281,
|
|
102
|
+
LENGTHZ = 282,
|
|
103
|
+
RADIUS1 = 283,
|
|
104
|
+
NUMBER = 284,
|
|
105
|
+
RADIUS2 = 285,
|
|
106
|
+
AXIS = 286,
|
|
107
|
+
AX = 287,
|
|
108
|
+
AY = 288,
|
|
109
|
+
AZ = 289,
|
|
110
|
+
STRING = 290
|
|
111
|
+
};
|
|
112
|
+
#endif
|
|
113
|
+
#define SPHERE 258
|
|
114
|
+
#define BOX 259
|
|
115
|
+
#define CYLX 260
|
|
116
|
+
#define CYLY 261
|
|
117
|
+
#define CYLZ 262
|
|
118
|
+
#define CYL 263
|
|
119
|
+
#define ELLIP 264
|
|
120
|
+
#define ELLIPFREE 265
|
|
121
|
+
#define ELLIPCYL 266
|
|
122
|
+
#define ECYLX 267
|
|
123
|
+
#define ECYLY 268
|
|
124
|
+
#define ECYLZ 269
|
|
125
|
+
#define CONE 270
|
|
126
|
+
#define CONEX 271
|
|
127
|
+
#define CONEY 272
|
|
128
|
+
#define CONEZ 273
|
|
129
|
+
#define RHO 274
|
|
130
|
+
#define SIN 275
|
|
131
|
+
#define COS 276
|
|
132
|
+
#define SQRT 277
|
|
133
|
+
#define MATERIAL 278
|
|
134
|
+
#define NEG 279
|
|
135
|
+
#define LENGTHX 280
|
|
136
|
+
#define LENGTHY 281
|
|
137
|
+
#define LENGTHZ 282
|
|
138
|
+
#define RADIUS1 283
|
|
139
|
+
#define NUMBER 284
|
|
140
|
+
#define RADIUS2 285
|
|
141
|
+
#define AXIS 286
|
|
142
|
+
#define AX 287
|
|
143
|
+
#define AY 288
|
|
144
|
+
#define AZ 289
|
|
145
|
+
#define STRING 290
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
/* Copy the first part of user declarations. */
|
|
151
|
+
////#line 1 "phantom.y"
|
|
152
|
+
|
|
153
|
+
#include <stdio.h>
|
|
154
|
+
#include <string.h>
|
|
155
|
+
#include <math.h>
|
|
156
|
+
#include <stdlib.h>
|
|
157
|
+
#include <algorithm>
|
|
158
|
+
#include "TreePhantom.h"
|
|
159
|
+
#include "BaseObject.h"
|
|
160
|
+
#include "Cube.h"
|
|
161
|
+
#include "Sphere.h"
|
|
162
|
+
#include "Cylinder.h"
|
|
163
|
+
|
|
164
|
+
extern "C" {
|
|
165
|
+
int phantomlex(void);
|
|
166
|
+
extern int linecount;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
extern int phantomparse(void);
|
|
170
|
+
extern int phantomdebug;
|
|
171
|
+
|
|
172
|
+
// This contains the final stack of objects
|
|
173
|
+
LinearPhantom ostack;
|
|
174
|
+
BaseObject *top;
|
|
175
|
+
int objectCount;
|
|
176
|
+
MaterialTable localtab;
|
|
177
|
+
|
|
178
|
+
// These are the state variables modified by the
|
|
179
|
+
// assignments
|
|
180
|
+
double lengthx, lengthy, lengthz;
|
|
181
|
+
double radius1, radius2;
|
|
182
|
+
double axis_x, axis_y, axis_z;
|
|
183
|
+
double rho;
|
|
184
|
+
double ax_x, ax_y, ax_z;
|
|
185
|
+
double ay_x, ay_y, ay_z;
|
|
186
|
+
double az_x, az_y, az_z;
|
|
187
|
+
bool ax_given, ay_given, az_given, axis_given;
|
|
188
|
+
double x, y, z;
|
|
189
|
+
double length, radius;
|
|
190
|
+
double scale_factor;
|
|
191
|
+
int clip_count;
|
|
192
|
+
double bb_radius;
|
|
193
|
+
double clipcoefs[50][4];
|
|
194
|
+
std::string material;
|
|
195
|
+
|
|
196
|
+
void phantomerror(const char *str) {
|
|
197
|
+
fprintf(stderr,"error: %s on line %d\n",str,linecount);
|
|
198
|
+
exit(1);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
int mapMaterialNameToOrdinal(std::string materialname) {
|
|
202
|
+
MaterialTable::iterator result = std::find(localtab.begin(),
|
|
203
|
+
localtab.end(),
|
|
204
|
+
materialname);
|
|
205
|
+
if (result == localtab.end()) {
|
|
206
|
+
localtab.push_back(materialname);
|
|
207
|
+
return localtab.size();
|
|
208
|
+
}
|
|
209
|
+
return result - localtab.begin() + 1;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
void printMaterialTable(FILE *fp) {
|
|
213
|
+
std::string myString;
|
|
214
|
+
const char *ch;
|
|
215
|
+
for(MaterialTable::iterator result = localtab.begin();result != localtab.end();result++)
|
|
216
|
+
{
|
|
217
|
+
myString = *result;
|
|
218
|
+
ch = myString.data();
|
|
219
|
+
fprintf(fp,"%s\n",ch);
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
void resetParameters() {
|
|
224
|
+
lengthx = lengthy = lengthz = 1;
|
|
225
|
+
radius1 = radius2 = 1;
|
|
226
|
+
axis_x = axis_y = axis_z = 0;
|
|
227
|
+
rho = 1.0;
|
|
228
|
+
ax_x = ax_y = ax_z = 0;
|
|
229
|
+
ay_x = ay_y = ay_z = 0;
|
|
230
|
+
az_x = az_y = az_z = 0;
|
|
231
|
+
axis_given = false;
|
|
232
|
+
ax_given = ay_given = az_given = false;
|
|
233
|
+
x = y = z = 0;
|
|
234
|
+
length = 1;
|
|
235
|
+
radius = 1;
|
|
236
|
+
top = NULL;
|
|
237
|
+
clip_count = 0;
|
|
238
|
+
bb_radius = 0;
|
|
239
|
+
material = "water";
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
LinearPhantom parsePhantomDefFile(double scaleFactor, MaterialTable &dmtab) {
|
|
243
|
+
ostack.clear();
|
|
244
|
+
objectCount = 0;
|
|
245
|
+
scale_factor = scaleFactor;
|
|
246
|
+
resetParameters();
|
|
247
|
+
localtab.clear();
|
|
248
|
+
//phantomdebug = 1;
|
|
249
|
+
phantomparse();
|
|
250
|
+
dmtab = localtab;
|
|
251
|
+
return ostack;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
void cross(double a1, double a2, double a3,
|
|
255
|
+
double b1, double b2, double b3,
|
|
256
|
+
double&c1, double&c2, double&c3) {
|
|
257
|
+
c1 = a2*b3-a3*b2;
|
|
258
|
+
c2 = a3*b1-a1*b3;
|
|
259
|
+
c3 = a1*b2-a2*b1;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
int sign(double x) {
|
|
263
|
+
if (x >=0 ) return 1;
|
|
264
|
+
if (x <=0 ) return -1;
|
|
265
|
+
return 0;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
void yyexpect(char *str) {
|
|
269
|
+
fprintf(stderr,"Error - while parsing the phantom file, expected %s on line %d\n",str,linecount);
|
|
270
|
+
exit(1);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
/* Enabling traces. */
|
|
276
|
+
#ifndef YYDEBUG
|
|
277
|
+
# define YYDEBUG 1
|
|
278
|
+
#endif
|
|
279
|
+
|
|
280
|
+
/* Enabling verbose error messages. */
|
|
281
|
+
#ifdef YYERROR_VERBOSE
|
|
282
|
+
# undef YYERROR_VERBOSE
|
|
283
|
+
# define YYERROR_VERBOSE 1
|
|
284
|
+
#else
|
|
285
|
+
# define YYERROR_VERBOSE 0
|
|
286
|
+
#endif
|
|
287
|
+
|
|
288
|
+
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
|
|
289
|
+
//#line 123 "phantom.y"
|
|
290
|
+
typedef union YYSTYPE {
|
|
291
|
+
double val;
|
|
292
|
+
double vec[3];
|
|
293
|
+
char str[128];
|
|
294
|
+
} YYSTYPE;
|
|
295
|
+
/* Line 191 of yacc.c. */
|
|
296
|
+
//#line 283 "phantom.tab.cpp"
|
|
297
|
+
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
|
|
298
|
+
# define YYSTYPE_IS_DECLARED 1
|
|
299
|
+
# define YYSTYPE_IS_TRIVIAL 1
|
|
300
|
+
#endif
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
/* Copy the second part of user declarations. */
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
/* Line 214 of yacc.c. */
|
|
308
|
+
//#line 295 "phantom.tab.cpp"
|
|
309
|
+
|
|
310
|
+
#if ! defined (yyoverflow) || YYERROR_VERBOSE
|
|
311
|
+
|
|
312
|
+
# ifndef YYFREE
|
|
313
|
+
# define YYFREE free
|
|
314
|
+
# endif
|
|
315
|
+
# ifndef YYMALLOC
|
|
316
|
+
# define YYMALLOC malloc
|
|
317
|
+
# endif
|
|
318
|
+
|
|
319
|
+
/* The parser invokes alloca or malloc; define the necessary symbols. */
|
|
320
|
+
|
|
321
|
+
# ifdef YYSTACK_USE_ALLOCA
|
|
322
|
+
# if YYSTACK_USE_ALLOCA
|
|
323
|
+
# define YYSTACK_ALLOC alloca
|
|
324
|
+
# endif
|
|
325
|
+
# else
|
|
326
|
+
# if defined (alloca) || defined (_ALLOCA_H)
|
|
327
|
+
# define YYSTACK_ALLOC alloca
|
|
328
|
+
# else
|
|
329
|
+
# ifdef __GNUC__
|
|
330
|
+
# define YYSTACK_ALLOC __builtin_alloca
|
|
331
|
+
# endif
|
|
332
|
+
# endif
|
|
333
|
+
# endif
|
|
334
|
+
|
|
335
|
+
# ifdef YYSTACK_ALLOC
|
|
336
|
+
/* Pacify GCC's `empty if-body' warning. */
|
|
337
|
+
# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0)
|
|
338
|
+
# else
|
|
339
|
+
# if defined (__STDC__) || defined (__cplusplus)
|
|
340
|
+
# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
|
|
341
|
+
# define YYSIZE_T size_t
|
|
342
|
+
# endif
|
|
343
|
+
# define YYSTACK_ALLOC YYMALLOC
|
|
344
|
+
# define YYSTACK_FREE YYFREE
|
|
345
|
+
# endif
|
|
346
|
+
#endif /* ! defined (yyoverflow) || YYERROR_VERBOSE */
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
#if (! defined (yyoverflow) \
|
|
350
|
+
&& (! defined (__cplusplus) \
|
|
351
|
+
|| (defined (YYSTYPE_IS_TRIVIAL) && YYSTYPE_IS_TRIVIAL)))
|
|
352
|
+
|
|
353
|
+
/* A type that is properly aligned for any stack member. */
|
|
354
|
+
union yyalloc
|
|
355
|
+
{
|
|
356
|
+
short yyss;
|
|
357
|
+
YYSTYPE yyvs;
|
|
358
|
+
};
|
|
359
|
+
|
|
360
|
+
/* The size of the maximum gap between one aligned stack and the next. */
|
|
361
|
+
# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
|
|
362
|
+
|
|
363
|
+
/* The size of an array large to enough to hold all stacks, each with
|
|
364
|
+
N elements. */
|
|
365
|
+
# define YYSTACK_BYTES(N) \
|
|
366
|
+
((N) * (sizeof (short) + sizeof (YYSTYPE)) \
|
|
367
|
+
+ YYSTACK_GAP_MAXIMUM)
|
|
368
|
+
|
|
369
|
+
/* Copy COUNT objects from FROM to TO. The source and destination do
|
|
370
|
+
not overlap. */
|
|
371
|
+
# ifndef YYCOPY
|
|
372
|
+
# if defined (__GNUC__) && 1 < __GNUC__
|
|
373
|
+
# define YYCOPY(To, From, Count) \
|
|
374
|
+
__builtin_memcpy (To, From, (Count) * sizeof (*(From)))
|
|
375
|
+
# else
|
|
376
|
+
# define YYCOPY(To, From, Count) \
|
|
377
|
+
do \
|
|
378
|
+
{ \
|
|
379
|
+
register YYSIZE_T yyi; \
|
|
380
|
+
for (yyi = 0; yyi < (Count); yyi++) \
|
|
381
|
+
(To)[yyi] = (From)[yyi]; \
|
|
382
|
+
} \
|
|
383
|
+
while (0)
|
|
384
|
+
# endif
|
|
385
|
+
# endif
|
|
386
|
+
|
|
387
|
+
/* Relocate STACK from its old location to the new one. The
|
|
388
|
+
local variables YYSIZE and YYSTACKSIZE give the old and new number of
|
|
389
|
+
elements in the stack, and YYPTR gives the new location of the
|
|
390
|
+
stack. Advance YYPTR to a properly aligned location for the next
|
|
391
|
+
stack. */
|
|
392
|
+
# define YYSTACK_RELOCATE(Stack) \
|
|
393
|
+
do \
|
|
394
|
+
{ \
|
|
395
|
+
YYSIZE_T yynewbytes; \
|
|
396
|
+
YYCOPY (&yyptr->Stack, Stack, yysize); \
|
|
397
|
+
Stack = &yyptr->Stack; \
|
|
398
|
+
yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
|
|
399
|
+
yyptr += yynewbytes / sizeof (*yyptr); \
|
|
400
|
+
} \
|
|
401
|
+
while (0)
|
|
402
|
+
|
|
403
|
+
#endif
|
|
404
|
+
|
|
405
|
+
#if defined (__STDC__) || defined (__cplusplus)
|
|
406
|
+
typedef signed char yysigned_char;
|
|
407
|
+
#else
|
|
408
|
+
typedef short yysigned_char;
|
|
409
|
+
#endif
|
|
410
|
+
|
|
411
|
+
/* YYFINAL -- State number of the termination state. */
|
|
412
|
+
#define YYFINAL 2
|
|
413
|
+
/* YYLAST -- Last index in YYTABLE. */
|
|
414
|
+
#define YYLAST 311
|
|
415
|
+
|
|
416
|
+
/* YYNTOKENS -- Number of terminals. */
|
|
417
|
+
#define YYNTOKENS 57
|
|
418
|
+
/* YYNNTS -- Number of nonterminals. */
|
|
419
|
+
#define YYNNTS 47
|
|
420
|
+
/* YYNRULES -- Number of rules. */
|
|
421
|
+
#define YYNRULES 123
|
|
422
|
+
/* YYNRULES -- Number of states. */
|
|
423
|
+
#define YYNSTATES 229
|
|
424
|
+
|
|
425
|
+
/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
|
|
426
|
+
#define YYUNDEFTOK 2
|
|
427
|
+
#define YYMAXUTOK 290
|
|
428
|
+
|
|
429
|
+
#define YYTRANSLATE(YYX) \
|
|
430
|
+
((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
|
|
431
|
+
|
|
432
|
+
/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */
|
|
433
|
+
static const unsigned char yytranslate[] =
|
|
434
|
+
{
|
|
435
|
+
0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
436
|
+
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
437
|
+
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
438
|
+
2, 2, 2, 2, 43, 2, 2, 2, 2, 2,
|
|
439
|
+
52, 54, 27, 26, 53, 25, 2, 28, 2, 2,
|
|
440
|
+
2, 2, 2, 2, 2, 2, 2, 2, 45, 2,
|
|
441
|
+
55, 24, 56, 2, 2, 2, 2, 2, 2, 2,
|
|
442
|
+
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
443
|
+
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
444
|
+
2, 44, 2, 46, 2, 2, 2, 2, 2, 2,
|
|
445
|
+
2, 2, 2, 2, 2, 2, 2, 2, 51, 2,
|
|
446
|
+
2, 2, 2, 2, 50, 2, 2, 2, 2, 2,
|
|
447
|
+
47, 48, 49, 41, 2, 42, 2, 2, 2, 2,
|
|
448
|
+
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
449
|
+
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
450
|
+
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
451
|
+
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
452
|
+
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
453
|
+
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
454
|
+
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
455
|
+
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
456
|
+
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
457
|
+
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
458
|
+
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
459
|
+
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
460
|
+
2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
|
|
461
|
+
5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
|
|
462
|
+
15, 16, 17, 18, 19, 20, 21, 22, 23, 29,
|
|
463
|
+
30, 31, 32, 33, 34, 35, 36, 37, 38, 39,
|
|
464
|
+
40
|
|
465
|
+
};
|
|
466
|
+
|
|
467
|
+
#if YYDEBUG
|
|
468
|
+
/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
|
|
469
|
+
YYRHS. */
|
|
470
|
+
static const unsigned short yyprhs[] =
|
|
471
|
+
{
|
|
472
|
+
0, 0, 3, 4, 7, 13, 15, 17, 20, 23,
|
|
473
|
+
27, 31, 32, 34, 38, 40, 42, 44, 46, 48,
|
|
474
|
+
50, 52, 54, 56, 58, 60, 62, 64, 66, 68,
|
|
475
|
+
70, 72, 74, 80, 81, 84, 87, 93, 94, 97,
|
|
476
|
+
100, 103, 109, 115, 121, 122, 125, 128, 131, 137,
|
|
477
|
+
138, 141, 144, 147, 150, 156, 157, 160, 162, 164,
|
|
478
|
+
170, 171, 174, 177, 180, 186, 187, 190, 193, 196,
|
|
479
|
+
199, 202, 208, 214, 220, 221, 224, 227, 230, 236,
|
|
480
|
+
237, 240, 243, 246, 249, 255, 261, 267, 268, 271,
|
|
481
|
+
274, 277, 281, 285, 289, 293, 297, 301, 305, 309,
|
|
482
|
+
313, 317, 320, 323, 326, 329, 337, 341, 345, 349,
|
|
483
|
+
353, 357, 361, 366, 371, 373, 378, 383, 388, 392,
|
|
484
|
+
396, 400, 404, 407
|
|
485
|
+
};
|
|
486
|
+
|
|
487
|
+
/* YYRHS -- A `-1'-separated list of the rules' RHS. */
|
|
488
|
+
static const yysigned_char yyrhs[] =
|
|
489
|
+
{
|
|
490
|
+
58, 0, -1, -1, 58, 59, -1, 41, 63, 65,
|
|
491
|
+
60, 42, -1, 61, -1, 62, -1, 62, 61, -1,
|
|
492
|
+
61, 62, -1, 23, 24, 40, -1, 19, 24, 103,
|
|
493
|
+
-1, -1, 64, -1, 43, 34, 43, -1, 67, -1,
|
|
494
|
+
69, -1, 71, -1, 72, -1, 73, -1, 75, -1,
|
|
495
|
+
77, -1, 80, -1, 82, -1, 84, -1, 85, -1,
|
|
496
|
+
86, -1, 88, -1, 90, -1, 91, -1, 92, -1,
|
|
497
|
+
94, -1, 102, -1, 44, 3, 45, 68, 46, -1,
|
|
498
|
+
-1, 68, 95, -1, 68, 66, -1, 44, 4, 45,
|
|
499
|
+
70, 46, -1, -1, 70, 96, -1, 70, 100, -1,
|
|
500
|
+
70, 66, -1, 44, 5, 45, 74, 46, -1, 44,
|
|
501
|
+
6, 45, 74, 46, -1, 44, 7, 45, 74, 46,
|
|
502
|
+
-1, -1, 74, 95, -1, 74, 97, -1, 74, 66,
|
|
503
|
+
-1, 44, 8, 45, 76, 46, -1, -1, 76, 95,
|
|
504
|
+
-1, 76, 97, -1, 76, 99, -1, 76, 66, -1,
|
|
505
|
+
44, 9, 45, 78, 46, -1, -1, 78, 79, -1,
|
|
506
|
+
96, -1, 66, -1, 44, 10, 45, 81, 46, -1,
|
|
507
|
+
-1, 81, 96, -1, 81, 100, -1, 81, 66, -1,
|
|
508
|
+
44, 11, 45, 83, 46, -1, -1, 83, 99, -1,
|
|
509
|
+
83, 100, -1, 83, 96, -1, 83, 97, -1, 83,
|
|
510
|
+
66, -1, 44, 12, 45, 87, 46, -1, 44, 13,
|
|
511
|
+
45, 87, 46, -1, 44, 14, 45, 87, 46, -1,
|
|
512
|
+
-1, 87, 97, -1, 87, 96, -1, 87, 66, -1,
|
|
513
|
+
44, 15, 45, 89, 46, -1, -1, 89, 99, -1,
|
|
514
|
+
89, 97, -1, 89, 98, -1, 89, 66, -1, 44,
|
|
515
|
+
16, 45, 93, 46, -1, 44, 17, 45, 93, 46,
|
|
516
|
+
-1, 44, 18, 45, 93, 46, -1, -1, 89, 97,
|
|
517
|
+
-1, 89, 98, -1, 89, 66, -1, 47, 24, 103,
|
|
518
|
+
-1, 48, 24, 103, -1, 49, 24, 103, -1, 50,
|
|
519
|
+
24, 103, -1, 30, 24, 103, -1, 31, 24, 103,
|
|
520
|
+
-1, 32, 24, 103, -1, 51, 24, 103, -1, 33,
|
|
521
|
+
24, 103, -1, 35, 24, 103, -1, 36, 101, -1,
|
|
522
|
+
37, 101, -1, 38, 101, -1, 39, 101, -1, 52,
|
|
523
|
+
103, 53, 103, 53, 103, 54, -1, 47, 55, 103,
|
|
524
|
+
-1, 47, 56, 103, -1, 48, 55, 103, -1, 48,
|
|
525
|
+
56, 103, -1, 49, 55, 103, -1, 49, 56, 103,
|
|
526
|
+
-1, 50, 101, 55, 103, -1, 50, 101, 56, 103,
|
|
527
|
+
-1, 34, -1, 20, 52, 103, 54, -1, 21, 52,
|
|
528
|
+
103, 54, -1, 22, 52, 103, 54, -1, 103, 26,
|
|
529
|
+
103, -1, 103, 25, 103, -1, 103, 27, 103, -1,
|
|
530
|
+
103, 28, 103, -1, 25, 103, -1, 52, 103, 54,
|
|
531
|
+
-1
|
|
532
|
+
};
|
|
533
|
+
|
|
534
|
+
/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
|
|
535
|
+
static const unsigned short yyrline[] =
|
|
536
|
+
{
|
|
537
|
+
0, 146, 146, 147, 151, 170, 170, 170, 170, 174,
|
|
538
|
+
178, 181, 182, 186, 189, 190, 191, 192, 193, 194,
|
|
539
|
+
195, 196, 197, 198, 199, 200, 201, 202, 203, 204,
|
|
540
|
+
208, 209, 212, 218, 219, 220, 224, 267, 268, 269,
|
|
541
|
+
270, 274, 282, 290, 297, 298, 299, 300, 304, 315,
|
|
542
|
+
316, 317, 318, 319, 323, 329, 330, 333, 334, 338,
|
|
543
|
+
380, 381, 382, 383, 388, 435, 436, 437, 438, 439,
|
|
544
|
+
440, 444, 452, 460, 466, 467, 468, 469, 473, 476,
|
|
545
|
+
477, 478, 479, 480, 484, 488, 492, 495, 496, 497,
|
|
546
|
+
498, 504, 505, 506, 511, 516, 517, 518, 523, 528,
|
|
547
|
+
529, 533, 537, 538, 539, 543, 552, 559, 566, 573,
|
|
548
|
+
580, 587, 594, 602, 613, 614, 615, 616, 617, 618,
|
|
549
|
+
619, 620, 621, 622
|
|
550
|
+
};
|
|
551
|
+
#endif
|
|
552
|
+
|
|
553
|
+
#if YYDEBUG || YYERROR_VERBOSE
|
|
554
|
+
/* YYTNME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
|
|
555
|
+
First, the terminals, then, starting at YYNTOKENS, nonterminals. */
|
|
556
|
+
static const char *const yytname[] =
|
|
557
|
+
{
|
|
558
|
+
"$end", "error", "$undefined", "SPHERE", "BOX", "CYLX", "CYLY", "CYLZ",
|
|
559
|
+
"CYL", "ELLIP", "ELLIPFREE", "ELLIPCYL", "ECYLX", "ECYLY", "ECYLZ",
|
|
560
|
+
"CONE", "CONEX", "CONEY", "CONEZ", "RHO", "SIN", "COS", "SQRT",
|
|
561
|
+
"MATERIAL", "'='", "'-'", "'+'", "'*'", "'/'", "NEG", "LENGTHX",
|
|
562
|
+
"LENGTHY", "LENGTHZ", "RADIUS1", "NUMBER", "RADIUS2", "AXIS", "AX", "AY",
|
|
563
|
+
"AZ", "STRING", "'{'", "'}'", "'\"'", "'['", "':'", "']'", "'x'", "'y'",
|
|
564
|
+
"'z'", "'r'", "'l'", "'('", "','", "')'", "'<'", "'>'", "$accept",
|
|
565
|
+
"objectdefs", "objectdef", "dmspec", "materialdef", "densitydef",
|
|
566
|
+
"labeldef", "quotedstring", "volumedef", "commonAssignments",
|
|
567
|
+
"sphereDef", "sphereAssignmentBlock", "boxDef", "boxAssignmentBlock",
|
|
568
|
+
"cylinderXDef", "cylinderYDef", "cylinderZDef",
|
|
569
|
+
"acylinderAssignmentBlock", "cylinderDef", "cylinderAssignmentBlock",
|
|
570
|
+
"ellipsoidDef", "ellipsoidAssignmentBlock",
|
|
571
|
+
"ellipsoidAssignmentStatement", "freeEllipsoidDef",
|
|
572
|
+
"freeEllipsoidAssignmentBlock", "ellipticalCylDef",
|
|
573
|
+
"eCylinderAssignmentBlock", "eCylinderXDef", "eCylinderYDef",
|
|
574
|
+
"eCylinderZDef", "aECylAssignmentBlock", "coneDef",
|
|
575
|
+
"coneAssignmentBlock", "coneXDef", "coneYDef", "coneZDef",
|
|
576
|
+
"aConeAssignmentBlock", "positionAssignment", "radiusAssignment",
|
|
577
|
+
"lengthsAssignment", "lengthAssignment", "radiiAssignment",
|
|
578
|
+
"axisAssignment", "axesAssignment", "vectorExpression", "clipPlanes",
|
|
579
|
+
"expression", 0
|
|
580
|
+
};
|
|
581
|
+
#endif
|
|
582
|
+
|
|
583
|
+
# ifdef YYPRINT
|
|
584
|
+
/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
|
|
585
|
+
token YYLEX-NUM. */
|
|
586
|
+
static const unsigned short yytoknum[] =
|
|
587
|
+
{
|
|
588
|
+
0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
|
|
589
|
+
265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
|
|
590
|
+
275, 276, 277, 278, 61, 45, 43, 42, 47, 279,
|
|
591
|
+
280, 281, 282, 283, 284, 285, 286, 287, 288, 289,
|
|
592
|
+
290, 123, 125, 34, 91, 58, 93, 120, 121, 122,
|
|
593
|
+
114, 108, 40, 44, 41, 60, 62
|
|
594
|
+
};
|
|
595
|
+
# endif
|
|
596
|
+
|
|
597
|
+
/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
|
|
598
|
+
static const unsigned char yyr1[] =
|
|
599
|
+
{
|
|
600
|
+
0, 57, 58, 58, 59, 60, 60, 60, 60, 61,
|
|
601
|
+
62, 63, 63, 64, 65, 65, 65, 65, 65, 65,
|
|
602
|
+
65, 65, 65, 65, 65, 65, 65, 65, 65, 65,
|
|
603
|
+
66, 66, 67, 68, 68, 68, 69, 70, 70, 70,
|
|
604
|
+
70, 71, 72, 73, 74, 74, 74, 74, 75, 76,
|
|
605
|
+
76, 76, 76, 76, 77, 78, 78, 79, 79, 80,
|
|
606
|
+
81, 81, 81, 81, 82, 83, 83, 83, 83, 83,
|
|
607
|
+
83, 84, 85, 86, 87, 87, 87, 87, 88, 89,
|
|
608
|
+
89, 89, 89, 89, 90, 91, 92, 93, 93, 93,
|
|
609
|
+
93, 94, 94, 94, 95, 96, 96, 96, 97, 98,
|
|
610
|
+
98, 99, 100, 100, 100, 101, 102, 102, 102, 102,
|
|
611
|
+
102, 102, 102, 102, 103, 103, 103, 103, 103, 103,
|
|
612
|
+
103, 103, 103, 103
|
|
613
|
+
};
|
|
614
|
+
|
|
615
|
+
/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
|
|
616
|
+
static const unsigned char yyr2[] =
|
|
617
|
+
{
|
|
618
|
+
0, 2, 0, 2, 5, 1, 1, 2, 2, 3,
|
|
619
|
+
3, 0, 1, 3, 1, 1, 1, 1, 1, 1,
|
|
620
|
+
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
621
|
+
1, 1, 5, 0, 2, 2, 5, 0, 2, 2,
|
|
622
|
+
2, 5, 5, 5, 0, 2, 2, 2, 5, 0,
|
|
623
|
+
2, 2, 2, 2, 5, 0, 2, 1, 1, 5,
|
|
624
|
+
0, 2, 2, 2, 5, 0, 2, 2, 2, 2,
|
|
625
|
+
2, 5, 5, 5, 0, 2, 2, 2, 5, 0,
|
|
626
|
+
2, 2, 2, 2, 5, 5, 5, 0, 2, 2,
|
|
627
|
+
2, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
628
|
+
3, 2, 2, 2, 2, 7, 3, 3, 3, 3,
|
|
629
|
+
3, 3, 4, 4, 1, 4, 4, 4, 3, 3,
|
|
630
|
+
3, 3, 2, 3
|
|
631
|
+
};
|
|
632
|
+
|
|
633
|
+
/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state
|
|
634
|
+
STATE-NUM when YYTABLE doesn't specify something else to do. Zero
|
|
635
|
+
means the default is an error. */
|
|
636
|
+
static const unsigned char yydefact[] =
|
|
637
|
+
{
|
|
638
|
+
2, 0, 1, 11, 3, 0, 0, 12, 0, 0,
|
|
639
|
+
0, 14, 15, 16, 17, 18, 19, 20, 21, 22,
|
|
640
|
+
23, 24, 25, 26, 27, 28, 29, 13, 0, 0,
|
|
641
|
+
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
642
|
+
0, 0, 0, 0, 0, 0, 0, 5, 6, 33,
|
|
643
|
+
37, 44, 44, 44, 49, 55, 60, 65, 74, 74,
|
|
644
|
+
74, 79, 79, 79, 79, 0, 0, 4, 8, 7,
|
|
645
|
+
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
646
|
+
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
647
|
+
0, 114, 0, 10, 9, 32, 0, 0, 0, 0,
|
|
648
|
+
35, 30, 34, 31, 0, 0, 0, 0, 0, 0,
|
|
649
|
+
36, 0, 40, 38, 39, 41, 0, 47, 45, 46,
|
|
650
|
+
42, 43, 0, 48, 53, 50, 51, 52, 54, 58,
|
|
651
|
+
56, 57, 59, 63, 61, 62, 64, 70, 68, 69,
|
|
652
|
+
66, 67, 71, 77, 76, 75, 72, 73, 0, 0,
|
|
653
|
+
78, 83, 81, 82, 80, 83, 81, 82, 84, 85,
|
|
654
|
+
86, 0, 0, 0, 122, 0, 0, 0, 0, 0,
|
|
655
|
+
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
656
|
+
0, 0, 0, 0, 0, 102, 103, 104, 0, 101,
|
|
657
|
+
0, 0, 0, 0, 0, 123, 119, 118, 120, 121,
|
|
658
|
+
91, 106, 107, 92, 108, 109, 93, 110, 111, 94,
|
|
659
|
+
0, 0, 0, 95, 96, 97, 98, 99, 100, 115,
|
|
660
|
+
116, 117, 0, 112, 113, 0, 0, 0, 105
|
|
661
|
+
};
|
|
662
|
+
|
|
663
|
+
/* YYDEFGOTO[NTERM-NUM]. */
|
|
664
|
+
static const short yydefgoto[] =
|
|
665
|
+
{
|
|
666
|
+
-1, 1, 4, 46, 47, 48, 6, 7, 10, 117,
|
|
667
|
+
11, 70, 12, 71, 13, 14, 15, 72, 16, 75,
|
|
668
|
+
17, 76, 130, 18, 77, 19, 78, 20, 21, 22,
|
|
669
|
+
79, 23, 83, 24, 25, 26, 84, 101, 118, 144,
|
|
670
|
+
119, 153, 154, 114, 181, 103, 93
|
|
671
|
+
};
|
|
672
|
+
|
|
673
|
+
/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
|
|
674
|
+
STATE-NUM. */
|
|
675
|
+
#define YYPACT_NINF -91
|
|
676
|
+
static const short yypact[] =
|
|
677
|
+
{
|
|
678
|
+
-91, 1, -91, -36, -91, -20, -8, -91, 7, 244,
|
|
679
|
+
26, -91, -91, -91, -91, -91, -91, -91, -91, -91,
|
|
680
|
+
-91, -91, -91, -91, -91, -91, -91, -91, -19, 12,
|
|
681
|
+
16, 21, 54, 68, 75, 86, 92, 93, 97, 98,
|
|
682
|
+
99, 135, 136, 146, 22, 28, 81, 129, 159, -91,
|
|
683
|
+
-91, -91, -91, -91, -91, -91, -91, -91, -91, -91,
|
|
684
|
+
-91, -91, 147, 147, 147, -17, 161, -91, -91, -91,
|
|
685
|
+
259, 137, 218, 247, 253, 227, 168, 158, 78, 103,
|
|
686
|
+
109, 115, 176, 195, 148, 156, 157, 167, 169, 186,
|
|
687
|
+
-17, -91, -17, 145, -91, -91, -18, -15, -12, -13,
|
|
688
|
+
-91, -91, -91, -91, 189, 196, 215, 188, 188, 188,
|
|
689
|
+
-91, 188, -91, -91, -91, -91, 217, -91, -91, -91,
|
|
690
|
+
-91, -91, 188, -91, -91, -91, -91, -91, -91, -91,
|
|
691
|
+
-91, -91, -91, -91, -91, -91, -91, -91, -91, -91,
|
|
692
|
+
-91, -91, -91, -91, -91, -91, -91, -91, 246, 248,
|
|
693
|
+
-91, -91, -91, -91, -91, 164, 225, 235, -91, -91,
|
|
694
|
+
-91, -17, -17, -17, -91, -7, -17, -17, -17, -17,
|
|
695
|
+
-17, -17, -17, -17, -17, -17, -17, -17, -17, -17,
|
|
696
|
+
-17, 3, -17, -17, -17, -91, -91, -91, -17, -91,
|
|
697
|
+
-17, -17, -3, 2, 6, -91, 47, 47, -91, -91,
|
|
698
|
+
145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
|
|
699
|
+
42, -17, -17, 145, 145, 145, 145, 145, 145, -91,
|
|
700
|
+
-91, -91, -17, 145, 145, 77, -17, 37, -91
|
|
701
|
+
};
|
|
702
|
+
|
|
703
|
+
/* YYPGOTO[NTERM-NUM]. */
|
|
704
|
+
static const short yypgoto[] =
|
|
705
|
+
{
|
|
706
|
+
-91, -91, -91, -91, 234, 236, -91, -91, -91, 209,
|
|
707
|
+
-91, -91, -91, -91, -91, -91, -91, 44, -91, -91,
|
|
708
|
+
-91, -91, -91, -91, -91, -91, -91, -91, -91, -91,
|
|
709
|
+
52, -91, 249, -91, -91, -91, 43, -91, -60, -23,
|
|
710
|
+
154, 228, -62, 41, 70, -91, -90
|
|
711
|
+
};
|
|
712
|
+
|
|
713
|
+
/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If
|
|
714
|
+
positive, shift that token. If negative, reduce the rule which
|
|
715
|
+
number is the opposite. If zero, do what YYDEFACT says.
|
|
716
|
+
If YYTABLE_NINF, syntax error. */
|
|
717
|
+
#define YYTABLE_NINF -91
|
|
718
|
+
static const short yytable[] =
|
|
719
|
+
{
|
|
720
|
+
164, 2, 165, 87, 88, 89, 170, 5, 90, 173,
|
|
721
|
+
102, 179, 176, 127, 8, 125, 140, 91, 166, 167,
|
|
722
|
+
168, 169, 166, 167, 168, 169, 49, 166, 167, 168,
|
|
723
|
+
169, 166, 167, 168, 169, 92, 9, 171, 172, 180,
|
|
724
|
+
174, 175, 3, 177, 178, 44, 65, 195, 113, 45,
|
|
725
|
+
27, 219, 66, 131, 134, 138, 220, 50, 211, 212,
|
|
726
|
+
221, 51, 166, 167, 168, 169, 52, 166, 167, 168,
|
|
727
|
+
169, 192, 193, 194, 168, 169, 196, 197, 198, 199,
|
|
728
|
+
200, 201, 202, 203, 204, 205, 206, 207, 208, 209,
|
|
729
|
+
210, 228, 213, 214, 215, 222, 73, 74, 216, 53,
|
|
730
|
+
217, 218, 166, 167, 168, 169, 85, 86, 104, 105,
|
|
731
|
+
106, 80, 81, 54, 122, 107, 108, 109, 135, 141,
|
|
732
|
+
55, 223, 224, 67, 136, 96, 97, 98, 111, 116,
|
|
733
|
+
226, 56, 225, 104, 105, 106, 227, 57, 58, 104,
|
|
734
|
+
105, 106, 59, 60, 61, 104, 105, 106, 44, 142,
|
|
735
|
+
96, 97, 98, 111, 116, 146, 96, 97, 98, 111,
|
|
736
|
+
116, 147, 96, 97, 98, 111, 116, 104, 105, 106,
|
|
737
|
+
166, 167, 168, 169, 107, 108, 109, 185, 186, 187,
|
|
738
|
+
62, 63, 45, 110, 96, 97, 98, 111, 104, 105,
|
|
739
|
+
106, 64, 189, -87, 158, 107, 108, 109, 104, 105,
|
|
740
|
+
106, 94, 159, 160, 132, 96, 97, 98, 111, 148,
|
|
741
|
+
-90, 149, 122, 182, 128, 96, 97, 98, 111, 161,
|
|
742
|
+
183, 162, 150, 96, 97, 98, 111, 116, 148, 126,
|
|
743
|
+
149, 122, 139, 145, 145, 145, 152, 156, 163, 184,
|
|
744
|
+
180, 188, 96, 97, 98, 111, 116, 28, 29, 30,
|
|
745
|
+
31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
|
|
746
|
+
41, 42, 43, 122, 115, 96, 97, 98, 99, 116,
|
|
747
|
+
190, -88, 191, 123, 96, 97, 98, 99, 116, 100,
|
|
748
|
+
112, -89, 69, 68, 124, 129, 133, 137, 143, 143,
|
|
749
|
+
143, 151, 155, 120, 96, 97, 98, 99, 116, 121,
|
|
750
|
+
96, 97, 98, 99, 116, 95, 96, 97, 98, 99,
|
|
751
|
+
82, 157
|
|
752
|
+
};
|
|
753
|
+
|
|
754
|
+
static const unsigned char yycheck[] =
|
|
755
|
+
{
|
|
756
|
+
90, 0, 92, 20, 21, 22, 24, 43, 25, 24,
|
|
757
|
+
70, 24, 24, 75, 34, 75, 78, 34, 25, 26,
|
|
758
|
+
27, 28, 25, 26, 27, 28, 45, 25, 26, 27,
|
|
759
|
+
28, 25, 26, 27, 28, 52, 44, 55, 56, 52,
|
|
760
|
+
55, 56, 41, 55, 56, 19, 24, 54, 71, 23,
|
|
761
|
+
43, 54, 24, 76, 77, 78, 54, 45, 55, 56,
|
|
762
|
+
54, 45, 25, 26, 27, 28, 45, 25, 26, 27,
|
|
763
|
+
28, 161, 162, 163, 27, 28, 166, 167, 168, 169,
|
|
764
|
+
170, 171, 172, 173, 174, 175, 176, 177, 178, 179,
|
|
765
|
+
180, 54, 182, 183, 184, 53, 52, 53, 188, 45,
|
|
766
|
+
190, 191, 25, 26, 27, 28, 63, 64, 30, 31,
|
|
767
|
+
32, 59, 60, 45, 36, 37, 38, 39, 77, 78,
|
|
768
|
+
45, 211, 212, 42, 46, 47, 48, 49, 50, 51,
|
|
769
|
+
53, 45, 222, 30, 31, 32, 226, 45, 45, 30,
|
|
770
|
+
31, 32, 45, 45, 45, 30, 31, 32, 19, 46,
|
|
771
|
+
47, 48, 49, 50, 51, 46, 47, 48, 49, 50,
|
|
772
|
+
51, 46, 47, 48, 49, 50, 51, 30, 31, 32,
|
|
773
|
+
25, 26, 27, 28, 37, 38, 39, 107, 108, 109,
|
|
774
|
+
45, 45, 23, 46, 47, 48, 49, 50, 30, 31,
|
|
775
|
+
32, 45, 122, 46, 46, 37, 38, 39, 30, 31,
|
|
776
|
+
32, 40, 46, 46, 46, 47, 48, 49, 50, 33,
|
|
777
|
+
46, 35, 36, 24, 46, 47, 48, 49, 50, 52,
|
|
778
|
+
24, 52, 46, 47, 48, 49, 50, 51, 33, 75,
|
|
779
|
+
35, 36, 78, 79, 80, 81, 82, 83, 52, 24,
|
|
780
|
+
52, 24, 47, 48, 49, 50, 51, 3, 4, 5,
|
|
781
|
+
6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
|
|
782
|
+
16, 17, 18, 36, 46, 47, 48, 49, 50, 51,
|
|
783
|
+
24, 46, 24, 46, 47, 48, 49, 50, 51, 70,
|
|
784
|
+
71, 46, 48, 47, 75, 76, 77, 78, 79, 80,
|
|
785
|
+
81, 82, 83, 46, 47, 48, 49, 50, 51, 46,
|
|
786
|
+
47, 48, 49, 50, 51, 46, 47, 48, 49, 50,
|
|
787
|
+
61, 83
|
|
788
|
+
};
|
|
789
|
+
|
|
790
|
+
/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
|
|
791
|
+
symbol of state STATE-NUM. */
|
|
792
|
+
static const unsigned char yystos[] =
|
|
793
|
+
{
|
|
794
|
+
0, 58, 0, 41, 59, 43, 63, 64, 34, 44,
|
|
795
|
+
65, 67, 69, 71, 72, 73, 75, 77, 80, 82,
|
|
796
|
+
84, 85, 86, 88, 90, 91, 92, 43, 3, 4,
|
|
797
|
+
5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
|
|
798
|
+
15, 16, 17, 18, 19, 23, 60, 61, 62, 45,
|
|
799
|
+
45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
|
|
800
|
+
45, 45, 45, 45, 45, 24, 24, 42, 62, 61,
|
|
801
|
+
68, 70, 74, 74, 74, 76, 78, 81, 83, 87,
|
|
802
|
+
87, 87, 89, 89, 93, 93, 93, 20, 21, 22,
|
|
803
|
+
25, 34, 52, 103, 40, 46, 47, 48, 49, 50,
|
|
804
|
+
66, 94, 95, 102, 30, 31, 32, 37, 38, 39,
|
|
805
|
+
46, 50, 66, 96, 100, 46, 51, 66, 95, 97,
|
|
806
|
+
46, 46, 36, 46, 66, 95, 97, 99, 46, 66,
|
|
807
|
+
79, 96, 46, 66, 96, 100, 46, 66, 96, 97,
|
|
808
|
+
99, 100, 46, 66, 96, 97, 46, 46, 33, 35,
|
|
809
|
+
46, 66, 97, 98, 99, 66, 97, 98, 46, 46,
|
|
810
|
+
46, 52, 52, 52, 103, 103, 25, 26, 27, 28,
|
|
811
|
+
24, 55, 56, 24, 55, 56, 24, 55, 56, 24,
|
|
812
|
+
52, 101, 24, 24, 24, 101, 101, 101, 24, 101,
|
|
813
|
+
24, 24, 103, 103, 103, 54, 103, 103, 103, 103,
|
|
814
|
+
103, 103, 103, 103, 103, 103, 103, 103, 103, 103,
|
|
815
|
+
103, 55, 56, 103, 103, 103, 103, 103, 103, 54,
|
|
816
|
+
54, 54, 53, 103, 103, 103, 53, 103, 54
|
|
817
|
+
};
|
|
818
|
+
|
|
819
|
+
#if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__)
|
|
820
|
+
# define YYSIZE_T __SIZE_TYPE__
|
|
821
|
+
#endif
|
|
822
|
+
#if ! defined (YYSIZE_T) && defined (size_t)
|
|
823
|
+
# define YYSIZE_T size_t
|
|
824
|
+
#endif
|
|
825
|
+
#if ! defined (YYSIZE_T)
|
|
826
|
+
# if defined (__STDC__) || defined (__cplusplus)
|
|
827
|
+
# include <stddef.h> /* INFRINGES ON USER NAME SPACE */
|
|
828
|
+
# define YYSIZE_T size_t
|
|
829
|
+
# endif
|
|
830
|
+
#endif
|
|
831
|
+
#if ! defined (YYSIZE_T)
|
|
832
|
+
# define YYSIZE_T unsigned int
|
|
833
|
+
#endif
|
|
834
|
+
|
|
835
|
+
#define yyerrok (yyerrstatus = 0)
|
|
836
|
+
#define yyclearin (yychar = YYEMPTY)
|
|
837
|
+
#define YYEMPTY (-2)
|
|
838
|
+
#define YYEOF 0
|
|
839
|
+
|
|
840
|
+
#define YYACCEPT goto yyacceptlab
|
|
841
|
+
#define YYABORT goto yyabortlab
|
|
842
|
+
#define YYERROR goto yyerrorlab
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
/* Like YYERROR except do call yyerror. This remains here temporarily
|
|
846
|
+
to ease the transition to the new meaning of YYERROR, for GCC.
|
|
847
|
+
Once GCC version 2 has supplanted version 1, this can go. */
|
|
848
|
+
|
|
849
|
+
#define YYFAIL goto yyerrlab
|
|
850
|
+
|
|
851
|
+
#define YYRECOVERING() (!!yyerrstatus)
|
|
852
|
+
|
|
853
|
+
#define YYBACKUP(Token, Value) \
|
|
854
|
+
do \
|
|
855
|
+
if (yychar == YYEMPTY && yylen == 1) \
|
|
856
|
+
{ \
|
|
857
|
+
yychar = (Token); \
|
|
858
|
+
yylval = (Value); \
|
|
859
|
+
yytoken = YYTRANSLATE (yychar); \
|
|
860
|
+
YYPOPSTACK; \
|
|
861
|
+
goto yybackup; \
|
|
862
|
+
} \
|
|
863
|
+
else \
|
|
864
|
+
{ \
|
|
865
|
+
yyerror ("syntax error: cannot back up");\
|
|
866
|
+
YYERROR; \
|
|
867
|
+
} \
|
|
868
|
+
while (0)
|
|
869
|
+
|
|
870
|
+
#define YYTERROR 1
|
|
871
|
+
#define YYERRCODE 256
|
|
872
|
+
|
|
873
|
+
/* YYLLOC_DEFAULT -- Compute the default location (before the actions
|
|
874
|
+
are run). */
|
|
875
|
+
|
|
876
|
+
#ifndef YYLLOC_DEFAULT
|
|
877
|
+
# define YYLLOC_DEFAULT(Current, Rhs, N) \
|
|
878
|
+
((Current).first_line = (Rhs)[1].first_line, \
|
|
879
|
+
(Current).first_column = (Rhs)[1].first_column, \
|
|
880
|
+
(Current).last_line = (Rhs)[N].last_line, \
|
|
881
|
+
(Current).last_column = (Rhs)[N].last_column)
|
|
882
|
+
#endif
|
|
883
|
+
|
|
884
|
+
/* YYLEX -- calling `yylex' with the right arguments. */
|
|
885
|
+
|
|
886
|
+
#ifdef YYLEX_PARAM
|
|
887
|
+
# define YYLEX yylex (YYLEX_PARAM)
|
|
888
|
+
#else
|
|
889
|
+
# define YYLEX yylex ()
|
|
890
|
+
#endif
|
|
891
|
+
|
|
892
|
+
/* Enable debugging if requested. */
|
|
893
|
+
#if YYDEBUG
|
|
894
|
+
|
|
895
|
+
# ifndef YYFPRINTF
|
|
896
|
+
# include <stdio.h> /* INFRINGES ON USER NAME SPACE */
|
|
897
|
+
# define YYFPRINTF fprintf
|
|
898
|
+
# endif
|
|
899
|
+
|
|
900
|
+
# define YYDPRINTF(Args) \
|
|
901
|
+
do { \
|
|
902
|
+
if (yydebug) \
|
|
903
|
+
YYFPRINTF Args; \
|
|
904
|
+
} while (0)
|
|
905
|
+
|
|
906
|
+
# define YYDSYMPRINT(Args) \
|
|
907
|
+
do { \
|
|
908
|
+
if (yydebug) \
|
|
909
|
+
yysymprint Args; \
|
|
910
|
+
} while (0)
|
|
911
|
+
|
|
912
|
+
# define YYDSYMPRINTF(Title, Token, Value, Location) \
|
|
913
|
+
do { \
|
|
914
|
+
if (yydebug) \
|
|
915
|
+
{ \
|
|
916
|
+
YYFPRINTF (stderr, "%s ", Title); \
|
|
917
|
+
yysymprint (stderr, \
|
|
918
|
+
Token, Value); \
|
|
919
|
+
YYFPRINTF (stderr, "\n"); \
|
|
920
|
+
} \
|
|
921
|
+
} while (0)
|
|
922
|
+
|
|
923
|
+
/*------------------------------------------------------------------.
|
|
924
|
+
| yy_stack_print -- Print the state stack from its BOTTOM up to its |
|
|
925
|
+
| TOP (included). |
|
|
926
|
+
`------------------------------------------------------------------*/
|
|
927
|
+
|
|
928
|
+
#if defined (__STDC__) || defined (__cplusplus)
|
|
929
|
+
static void
|
|
930
|
+
yy_stack_print (short *bottom, short *top)
|
|
931
|
+
#else
|
|
932
|
+
static void
|
|
933
|
+
yy_stack_print (bottom, top)
|
|
934
|
+
short *bottom;
|
|
935
|
+
short *top;
|
|
936
|
+
#endif
|
|
937
|
+
{
|
|
938
|
+
YYFPRINTF (stderr, "Stack now");
|
|
939
|
+
for (/* Nothing. */; bottom <= top; ++bottom)
|
|
940
|
+
YYFPRINTF (stderr, " %d", *bottom);
|
|
941
|
+
YYFPRINTF (stderr, "\n");
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
# define YY_STACK_PRINT(Bottom, Top) \
|
|
945
|
+
do { \
|
|
946
|
+
if (yydebug) \
|
|
947
|
+
yy_stack_print ((Bottom), (Top)); \
|
|
948
|
+
} while (0)
|
|
949
|
+
|
|
950
|
+
|
|
951
|
+
/*------------------------------------------------.
|
|
952
|
+
| Report that the YYRULE is going to be reduced. |
|
|
953
|
+
`------------------------------------------------*/
|
|
954
|
+
|
|
955
|
+
#if defined (__STDC__) || defined (__cplusplus)
|
|
956
|
+
static void
|
|
957
|
+
yy_reduce_print (int yyrule)
|
|
958
|
+
#else
|
|
959
|
+
static void
|
|
960
|
+
yy_reduce_print (yyrule)
|
|
961
|
+
int yyrule;
|
|
962
|
+
#endif
|
|
963
|
+
{
|
|
964
|
+
int yyi;
|
|
965
|
+
unsigned int yylno = yyrline[yyrule];
|
|
966
|
+
YYFPRINTF (stderr, "Reducing stack by rule %d (line %u), ",
|
|
967
|
+
yyrule - 1, yylno);
|
|
968
|
+
/* Print the symbols being reduced, and their result. */
|
|
969
|
+
for (yyi = yyprhs[yyrule]; 0 <= yyrhs[yyi]; yyi++)
|
|
970
|
+
YYFPRINTF (stderr, "%s ", yytname [yyrhs[yyi]]);
|
|
971
|
+
YYFPRINTF (stderr, "-> %s\n", yytname [yyr1[yyrule]]);
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
# define YY_REDUCE_PRINT(Rule) \
|
|
975
|
+
do { \
|
|
976
|
+
if (yydebug) \
|
|
977
|
+
yy_reduce_print (Rule); \
|
|
978
|
+
} while (0)
|
|
979
|
+
|
|
980
|
+
/* Nonzero means print parse trace. It is left uninitialized so that
|
|
981
|
+
multiple parsers can coexist. */
|
|
982
|
+
int yydebug;
|
|
983
|
+
#else /* !YYDEBUG */
|
|
984
|
+
# define YYDPRINTF(Args)
|
|
985
|
+
# define YYDSYMPRINT(Args)
|
|
986
|
+
# define YYDSYMPRINTF(Title, Token, Value, Location)
|
|
987
|
+
# define YY_STACK_PRINT(Bottom, Top)
|
|
988
|
+
# define YY_REDUCE_PRINT(Rule)
|
|
989
|
+
#endif /* !YYDEBUG */
|
|
990
|
+
|
|
991
|
+
|
|
992
|
+
/* YYINITDEPTH -- initial size of the parser's stacks. */
|
|
993
|
+
#ifndef YYINITDEPTH
|
|
994
|
+
# define YYINITDEPTH 200
|
|
995
|
+
#endif
|
|
996
|
+
|
|
997
|
+
/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only
|
|
998
|
+
if the built-in stack extension method is used).
|
|
999
|
+
|
|
1000
|
+
Do not make this value too large; the results are undefined if
|
|
1001
|
+
SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH)
|
|
1002
|
+
evaluated with infinite-precision integer arithmetic. */
|
|
1003
|
+
|
|
1004
|
+
#if defined (YYMAXDEPTH) && YYMAXDEPTH == 0
|
|
1005
|
+
# undef YYMAXDEPTH
|
|
1006
|
+
#endif
|
|
1007
|
+
|
|
1008
|
+
#ifndef YYMAXDEPTH
|
|
1009
|
+
# define YYMAXDEPTH 10000
|
|
1010
|
+
#endif
|
|
1011
|
+
|
|
1012
|
+
|
|
1013
|
+
|
|
1014
|
+
#if YYERROR_VERBOSE
|
|
1015
|
+
|
|
1016
|
+
# ifndef yystrlen
|
|
1017
|
+
# if defined (__GLIBC__) && defined (_STRING_H)
|
|
1018
|
+
# define yystrlen strlen
|
|
1019
|
+
# else
|
|
1020
|
+
/* Return the length of YYSTR. */
|
|
1021
|
+
static YYSIZE_T
|
|
1022
|
+
# if defined (__STDC__) || defined (__cplusplus)
|
|
1023
|
+
yystrlen (const char *yystr)
|
|
1024
|
+
# else
|
|
1025
|
+
yystrlen (yystr)
|
|
1026
|
+
const char *yystr;
|
|
1027
|
+
# endif
|
|
1028
|
+
{
|
|
1029
|
+
register const char *yys = yystr;
|
|
1030
|
+
|
|
1031
|
+
while (*yys++ != '\0')
|
|
1032
|
+
continue;
|
|
1033
|
+
|
|
1034
|
+
return yys - yystr - 1;
|
|
1035
|
+
}
|
|
1036
|
+
# endif
|
|
1037
|
+
# endif
|
|
1038
|
+
|
|
1039
|
+
# ifndef yystpcpy
|
|
1040
|
+
# if defined (__GLIBC__) && defined (_STRING_H) && defined (_GNU_SOURCE)
|
|
1041
|
+
# define yystpcpy stpcpy
|
|
1042
|
+
# else
|
|
1043
|
+
/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
|
|
1044
|
+
YYDEST. */
|
|
1045
|
+
static char *
|
|
1046
|
+
# if defined (__STDC__) || defined (__cplusplus)
|
|
1047
|
+
yystpcpy (char *yydest, const char *yysrc)
|
|
1048
|
+
# else
|
|
1049
|
+
yystpcpy (yydest, yysrc)
|
|
1050
|
+
char *yydest;
|
|
1051
|
+
const char *yysrc;
|
|
1052
|
+
# endif
|
|
1053
|
+
{
|
|
1054
|
+
register char *yyd = yydest;
|
|
1055
|
+
register const char *yys = yysrc;
|
|
1056
|
+
|
|
1057
|
+
while ((*yyd++ = *yys++) != '\0')
|
|
1058
|
+
continue;
|
|
1059
|
+
|
|
1060
|
+
return yyd - 1;
|
|
1061
|
+
}
|
|
1062
|
+
# endif
|
|
1063
|
+
# endif
|
|
1064
|
+
|
|
1065
|
+
#endif /* !YYERROR_VERBOSE */
|
|
1066
|
+
|
|
1067
|
+
|
|
1068
|
+
|
|
1069
|
+
#if YYDEBUG
|
|
1070
|
+
/*--------------------------------.
|
|
1071
|
+
| Print this symbol on YYOUTPUT. |
|
|
1072
|
+
`--------------------------------*/
|
|
1073
|
+
|
|
1074
|
+
#if defined (__STDC__) || defined (__cplusplus)
|
|
1075
|
+
static void
|
|
1076
|
+
yysymprint (FILE *yyoutput, int yytype, YYSTYPE *yyvaluep)
|
|
1077
|
+
#else
|
|
1078
|
+
static void
|
|
1079
|
+
yysymprint (yyoutput, yytype, yyvaluep)
|
|
1080
|
+
FILE *yyoutput;
|
|
1081
|
+
int yytype;
|
|
1082
|
+
YYSTYPE *yyvaluep;
|
|
1083
|
+
#endif
|
|
1084
|
+
{
|
|
1085
|
+
/* Pacify ``unused variable'' warnings. */
|
|
1086
|
+
(void) yyvaluep;
|
|
1087
|
+
|
|
1088
|
+
if (yytype < YYNTOKENS)
|
|
1089
|
+
{
|
|
1090
|
+
YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
|
|
1091
|
+
# ifdef YYPRINT
|
|
1092
|
+
YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
|
|
1093
|
+
# endif
|
|
1094
|
+
}
|
|
1095
|
+
else
|
|
1096
|
+
YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
|
|
1097
|
+
|
|
1098
|
+
switch (yytype)
|
|
1099
|
+
{
|
|
1100
|
+
default:
|
|
1101
|
+
break;
|
|
1102
|
+
}
|
|
1103
|
+
YYFPRINTF (yyoutput, ")");
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
#endif /* ! YYDEBUG */
|
|
1107
|
+
/*-----------------------------------------------.
|
|
1108
|
+
| Release the memory associated to this symbol. |
|
|
1109
|
+
`-----------------------------------------------*/
|
|
1110
|
+
|
|
1111
|
+
#if defined (__STDC__) || defined (__cplusplus)
|
|
1112
|
+
static void
|
|
1113
|
+
yydestruct (int yytype, YYSTYPE *yyvaluep)
|
|
1114
|
+
#else
|
|
1115
|
+
static void
|
|
1116
|
+
yydestruct (yytype, yyvaluep)
|
|
1117
|
+
int yytype;
|
|
1118
|
+
YYSTYPE *yyvaluep;
|
|
1119
|
+
#endif
|
|
1120
|
+
{
|
|
1121
|
+
/* Pacify ``unused variable'' warnings. */
|
|
1122
|
+
(void) yyvaluep;
|
|
1123
|
+
|
|
1124
|
+
switch (yytype)
|
|
1125
|
+
{
|
|
1126
|
+
|
|
1127
|
+
default:
|
|
1128
|
+
break;
|
|
1129
|
+
}
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
|
|
1133
|
+
/* Prevent warnings from -Wmissing-prototypes. */
|
|
1134
|
+
|
|
1135
|
+
#ifdef YYPARSE_PARAM
|
|
1136
|
+
# if defined (__STDC__) || defined (__cplusplus)
|
|
1137
|
+
int yyparse (void *YYPARSE_PARAM);
|
|
1138
|
+
# else
|
|
1139
|
+
int yyparse ();
|
|
1140
|
+
# endif
|
|
1141
|
+
#else /* ! YYPARSE_PARAM */
|
|
1142
|
+
#if defined (__STDC__) || defined (__cplusplus)
|
|
1143
|
+
int yyparse (void);
|
|
1144
|
+
#else
|
|
1145
|
+
int yyparse ();
|
|
1146
|
+
#endif
|
|
1147
|
+
#endif /* ! YYPARSE_PARAM */
|
|
1148
|
+
|
|
1149
|
+
|
|
1150
|
+
|
|
1151
|
+
/* The lookahead symbol. */
|
|
1152
|
+
int yychar;
|
|
1153
|
+
|
|
1154
|
+
/* The semantic value of the lookahead symbol. */
|
|
1155
|
+
YYSTYPE yylval;
|
|
1156
|
+
|
|
1157
|
+
/* Number of syntax errors so far. */
|
|
1158
|
+
int yynerrs;
|
|
1159
|
+
|
|
1160
|
+
|
|
1161
|
+
|
|
1162
|
+
/*----------.
|
|
1163
|
+
| yyparse. |
|
|
1164
|
+
`----------*/
|
|
1165
|
+
|
|
1166
|
+
#ifdef YYPARSE_PARAM
|
|
1167
|
+
# if defined (__STDC__) || defined (__cplusplus)
|
|
1168
|
+
int yyparse (void *YYPARSE_PARAM)
|
|
1169
|
+
# else
|
|
1170
|
+
int yyparse (YYPARSE_PARAM)
|
|
1171
|
+
void *YYPARSE_PARAM;
|
|
1172
|
+
# endif
|
|
1173
|
+
#else /* ! YYPARSE_PARAM */
|
|
1174
|
+
#if defined (__STDC__) || defined (__cplusplus)
|
|
1175
|
+
int
|
|
1176
|
+
yyparse (void)
|
|
1177
|
+
#else
|
|
1178
|
+
int
|
|
1179
|
+
yyparse ()
|
|
1180
|
+
|
|
1181
|
+
#endif
|
|
1182
|
+
#endif
|
|
1183
|
+
{
|
|
1184
|
+
|
|
1185
|
+
register int yystate;
|
|
1186
|
+
register int yyn;
|
|
1187
|
+
int yyresult;
|
|
1188
|
+
/* Number of tokens to shift before error messages enabled. */
|
|
1189
|
+
int yyerrstatus;
|
|
1190
|
+
/* Lookahead token as an internal (translated) token number. */
|
|
1191
|
+
int yytoken = 0;
|
|
1192
|
+
|
|
1193
|
+
/* Three stacks and their tools:
|
|
1194
|
+
`yyss': related to states,
|
|
1195
|
+
`yyvs': related to semantic values,
|
|
1196
|
+
`yyls': related to locations.
|
|
1197
|
+
|
|
1198
|
+
Refer to the stacks thru separate pointers, to allow yyoverflow
|
|
1199
|
+
to reallocate them elsewhere. */
|
|
1200
|
+
|
|
1201
|
+
/* The state stack. */
|
|
1202
|
+
short yyssa[YYINITDEPTH];
|
|
1203
|
+
short *yyss = yyssa;
|
|
1204
|
+
register short *yyssp;
|
|
1205
|
+
|
|
1206
|
+
/* The semantic value stack. */
|
|
1207
|
+
YYSTYPE yyvsa[YYINITDEPTH];
|
|
1208
|
+
YYSTYPE *yyvs = yyvsa;
|
|
1209
|
+
register YYSTYPE *yyvsp;
|
|
1210
|
+
|
|
1211
|
+
|
|
1212
|
+
|
|
1213
|
+
#define YYPOPSTACK (yyvsp--, yyssp--)
|
|
1214
|
+
|
|
1215
|
+
YYSIZE_T yystacksize = YYINITDEPTH;
|
|
1216
|
+
|
|
1217
|
+
/* The variables used to return semantic value and location from the
|
|
1218
|
+
action routines. */
|
|
1219
|
+
YYSTYPE yyval;
|
|
1220
|
+
|
|
1221
|
+
|
|
1222
|
+
/* When reducing, the number of symbols on the RHS of the reduced
|
|
1223
|
+
rule. */
|
|
1224
|
+
int yylen;
|
|
1225
|
+
|
|
1226
|
+
YYDPRINTF ((stderr, "Starting parse\n"));
|
|
1227
|
+
|
|
1228
|
+
yystate = 0;
|
|
1229
|
+
yyerrstatus = 0;
|
|
1230
|
+
yynerrs = 0;
|
|
1231
|
+
yychar = YYEMPTY; /* Cause a token to be read. */
|
|
1232
|
+
|
|
1233
|
+
/* Initialize stack pointers.
|
|
1234
|
+
Waste one element of value and location stack
|
|
1235
|
+
so that they stay on the same level as the state stack.
|
|
1236
|
+
The wasted elements are never initialized. */
|
|
1237
|
+
|
|
1238
|
+
yyssp = yyss;
|
|
1239
|
+
yyvsp = yyvs;
|
|
1240
|
+
|
|
1241
|
+
goto yysetstate;
|
|
1242
|
+
|
|
1243
|
+
/*------------------------------------------------------------.
|
|
1244
|
+
| yynewstate -- Push a new state, which is found in yystate. |
|
|
1245
|
+
`------------------------------------------------------------*/
|
|
1246
|
+
yynewstate:
|
|
1247
|
+
/* In all cases, when you get here, the value and location stacks
|
|
1248
|
+
have just been pushed. so pushing a state here evens the stacks.
|
|
1249
|
+
*/
|
|
1250
|
+
yyssp++;
|
|
1251
|
+
|
|
1252
|
+
yysetstate:
|
|
1253
|
+
*yyssp = yystate;
|
|
1254
|
+
|
|
1255
|
+
if (yyss + yystacksize - 1 <= yyssp)
|
|
1256
|
+
{
|
|
1257
|
+
/* Get the current used size of the three stacks, in elements. */
|
|
1258
|
+
YYSIZE_T yysize = yyssp - yyss + 1;
|
|
1259
|
+
|
|
1260
|
+
#ifdef yyoverflow
|
|
1261
|
+
{
|
|
1262
|
+
/* Give user a chance to reallocate the stack. Use copies of
|
|
1263
|
+
these so that the &'s don't force the real ones into
|
|
1264
|
+
memory. */
|
|
1265
|
+
YYSTYPE *yyvs1 = yyvs;
|
|
1266
|
+
short *yyss1 = yyss;
|
|
1267
|
+
|
|
1268
|
+
|
|
1269
|
+
/* Each stack pointer address is followed by the size of the
|
|
1270
|
+
data in use in that stack, in bytes. This used to be a
|
|
1271
|
+
conditional around just the two extra args, but that might
|
|
1272
|
+
be undefined if yyoverflow is a macro. */
|
|
1273
|
+
yyoverflow ("parser stack overflow",
|
|
1274
|
+
&yyss1, yysize * sizeof (*yyssp),
|
|
1275
|
+
&yyvs1, yysize * sizeof (*yyvsp),
|
|
1276
|
+
|
|
1277
|
+
&yystacksize);
|
|
1278
|
+
|
|
1279
|
+
yyss = yyss1;
|
|
1280
|
+
yyvs = yyvs1;
|
|
1281
|
+
}
|
|
1282
|
+
#else /* no yyoverflow */
|
|
1283
|
+
# ifndef YYSTACK_RELOCATE
|
|
1284
|
+
goto yyoverflowlab;
|
|
1285
|
+
# else
|
|
1286
|
+
/* Extend the stack our own way. */
|
|
1287
|
+
if (YYMAXDEPTH <= yystacksize)
|
|
1288
|
+
goto yyoverflowlab;
|
|
1289
|
+
yystacksize *= 2;
|
|
1290
|
+
if (YYMAXDEPTH < yystacksize)
|
|
1291
|
+
yystacksize = YYMAXDEPTH;
|
|
1292
|
+
|
|
1293
|
+
{
|
|
1294
|
+
short *yyss1 = yyss;
|
|
1295
|
+
union yyalloc *yyptr =
|
|
1296
|
+
(union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
|
|
1297
|
+
if (! yyptr)
|
|
1298
|
+
goto yyoverflowlab;
|
|
1299
|
+
YYSTACK_RELOCATE (yyss);
|
|
1300
|
+
YYSTACK_RELOCATE (yyvs);
|
|
1301
|
+
|
|
1302
|
+
# undef YYSTACK_RELOCATE
|
|
1303
|
+
if (yyss1 != yyssa)
|
|
1304
|
+
YYSTACK_FREE (yyss1);
|
|
1305
|
+
}
|
|
1306
|
+
# endif
|
|
1307
|
+
#endif /* no yyoverflow */
|
|
1308
|
+
|
|
1309
|
+
yyssp = yyss + yysize - 1;
|
|
1310
|
+
yyvsp = yyvs + yysize - 1;
|
|
1311
|
+
|
|
1312
|
+
|
|
1313
|
+
YYDPRINTF ((stderr, "Stack size increased to %lu\n",
|
|
1314
|
+
(unsigned long int) yystacksize));
|
|
1315
|
+
|
|
1316
|
+
if (yyss + yystacksize - 1 <= yyssp)
|
|
1317
|
+
YYABORT;
|
|
1318
|
+
}
|
|
1319
|
+
|
|
1320
|
+
YYDPRINTF ((stderr, "Entering state %d\n", yystate));
|
|
1321
|
+
|
|
1322
|
+
goto yybackup;
|
|
1323
|
+
|
|
1324
|
+
/*-----------.
|
|
1325
|
+
| yybackup. |
|
|
1326
|
+
`-----------*/
|
|
1327
|
+
yybackup:
|
|
1328
|
+
|
|
1329
|
+
/* Do appropriate processing given the current state. */
|
|
1330
|
+
/* Read a lookahead token if we need one and don't already have one. */
|
|
1331
|
+
/* yyresume: */
|
|
1332
|
+
|
|
1333
|
+
/* First try to decide what to do without reference to lookahead token. */
|
|
1334
|
+
|
|
1335
|
+
yyn = yypact[yystate];
|
|
1336
|
+
if (yyn == YYPACT_NINF)
|
|
1337
|
+
goto yydefault;
|
|
1338
|
+
|
|
1339
|
+
/* Not known => get a lookahead token if don't already have one. */
|
|
1340
|
+
|
|
1341
|
+
/* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */
|
|
1342
|
+
if (yychar == YYEMPTY)
|
|
1343
|
+
{
|
|
1344
|
+
YYDPRINTF ((stderr, "Reading a token: "));
|
|
1345
|
+
yychar = YYLEX;
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1348
|
+
if (yychar <= YYEOF)
|
|
1349
|
+
{
|
|
1350
|
+
yychar = yytoken = YYEOF;
|
|
1351
|
+
YYDPRINTF ((stderr, "Now at end of input.\n"));
|
|
1352
|
+
}
|
|
1353
|
+
else
|
|
1354
|
+
{
|
|
1355
|
+
yytoken = YYTRANSLATE (yychar);
|
|
1356
|
+
YYDSYMPRINTF ("Next token is", yytoken, &yylval, &yylloc);
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1359
|
+
/* If the proper action on seeing token YYTOKEN is to reduce or to
|
|
1360
|
+
detect an error, take that action. */
|
|
1361
|
+
yyn += yytoken;
|
|
1362
|
+
if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
|
|
1363
|
+
goto yydefault;
|
|
1364
|
+
yyn = yytable[yyn];
|
|
1365
|
+
if (yyn <= 0)
|
|
1366
|
+
{
|
|
1367
|
+
if (yyn == 0 || yyn == YYTABLE_NINF)
|
|
1368
|
+
goto yyerrlab;
|
|
1369
|
+
yyn = -yyn;
|
|
1370
|
+
goto yyreduce;
|
|
1371
|
+
}
|
|
1372
|
+
|
|
1373
|
+
if (yyn == YYFINAL)
|
|
1374
|
+
YYACCEPT;
|
|
1375
|
+
|
|
1376
|
+
/* Shift the lookahead token. */
|
|
1377
|
+
YYDPRINTF ((stderr, "Shifting token %s, ", yytname[yytoken]));
|
|
1378
|
+
|
|
1379
|
+
/* Discard the token being shifted unless it is eof. */
|
|
1380
|
+
if (yychar != YYEOF)
|
|
1381
|
+
yychar = YYEMPTY;
|
|
1382
|
+
|
|
1383
|
+
*++yyvsp = yylval;
|
|
1384
|
+
|
|
1385
|
+
|
|
1386
|
+
/* Count tokens shifted since error; after three, turn off error
|
|
1387
|
+
status. */
|
|
1388
|
+
if (yyerrstatus)
|
|
1389
|
+
yyerrstatus--;
|
|
1390
|
+
|
|
1391
|
+
yystate = yyn;
|
|
1392
|
+
goto yynewstate;
|
|
1393
|
+
|
|
1394
|
+
|
|
1395
|
+
/*-----------------------------------------------------------.
|
|
1396
|
+
| yydefault -- do the default action for the current state. |
|
|
1397
|
+
`-----------------------------------------------------------*/
|
|
1398
|
+
yydefault:
|
|
1399
|
+
yyn = yydefact[yystate];
|
|
1400
|
+
if (yyn == 0)
|
|
1401
|
+
goto yyerrlab;
|
|
1402
|
+
goto yyreduce;
|
|
1403
|
+
|
|
1404
|
+
|
|
1405
|
+
/*-----------------------------.
|
|
1406
|
+
| yyreduce -- Do a reduction. |
|
|
1407
|
+
`-----------------------------*/
|
|
1408
|
+
yyreduce:
|
|
1409
|
+
/* yyn is the number of a rule to reduce with. */
|
|
1410
|
+
yylen = yyr2[yyn];
|
|
1411
|
+
|
|
1412
|
+
/* If YYLEN is nonzero, implement the default value of the action:
|
|
1413
|
+
`$$ = $1'.
|
|
1414
|
+
|
|
1415
|
+
Otherwise, the following line sets YYVAL to garbage.
|
|
1416
|
+
This behavior is undocumented and Bison
|
|
1417
|
+
users should not rely upon it. Assigning to YYVAL
|
|
1418
|
+
unconditionally makes the parser a bit smaller, and it avoids a
|
|
1419
|
+
GCC warning that YYVAL may be used uninitialized. */
|
|
1420
|
+
yyval = yyvsp[1-yylen];
|
|
1421
|
+
|
|
1422
|
+
|
|
1423
|
+
YY_REDUCE_PRINT (yyn);
|
|
1424
|
+
switch (yyn)
|
|
1425
|
+
{
|
|
1426
|
+
case 4:
|
|
1427
|
+
//#line 152 "phantom.y"
|
|
1428
|
+
{
|
|
1429
|
+
if (top != NULL) {
|
|
1430
|
+
//std::cout << "push" << std::endl;
|
|
1431
|
+
//std::cout << "x" << x<< std::endl;
|
|
1432
|
+
//std::cout << "rho" << rho << std::endl;
|
|
1433
|
+
//std::cout << "objectCount" << objectCount << std::endl;
|
|
1434
|
+
//std::cout << "ostack size" << ostack.size() << std::endl;
|
|
1435
|
+
top->Transform().Translate(Vec3(scale_factor*x,scale_factor*y,scale_factor*z));
|
|
1436
|
+
top->Density(rho);
|
|
1437
|
+
top->Priority(++objectCount);
|
|
1438
|
+
top->Material(mapMaterialNameToOrdinal(material));
|
|
1439
|
+
for (int m=0;m<clip_count;m++)
|
|
1440
|
+
top->AddClipPlane(ClipPlane(Vec3(clipcoefs[m][0],clipcoefs[m][1],clipcoefs[m][2]),clipcoefs[m][3]));
|
|
1441
|
+
top->UpdateBoundingSphere();
|
|
1442
|
+
top->ID(ostack.size()+1);
|
|
1443
|
+
ostack.push_back(top);
|
|
1444
|
+
}
|
|
1445
|
+
resetParameters();
|
|
1446
|
+
;}
|
|
1447
|
+
break;
|
|
1448
|
+
|
|
1449
|
+
case 9:
|
|
1450
|
+
//#line 174 "phantom.y"
|
|
1451
|
+
#ifndef WIN32
|
|
1452
|
+
{material = std::string(strdup(yyvsp[0].str));}
|
|
1453
|
+
#else
|
|
1454
|
+
{material = std::string(_strdup(yyvsp[0].str));}
|
|
1455
|
+
#endif
|
|
1456
|
+
break;
|
|
1457
|
+
|
|
1458
|
+
case 10:
|
|
1459
|
+
//#line 178 "phantom.y"
|
|
1460
|
+
{ rho = yyvsp[0].val ;}
|
|
1461
|
+
break;
|
|
1462
|
+
|
|
1463
|
+
case 32:
|
|
1464
|
+
//#line 212 "phantom.y"
|
|
1465
|
+
{
|
|
1466
|
+
top = new Sphere;
|
|
1467
|
+
top->Transform().Scale(Vec3(scale_factor*radius,scale_factor*radius,scale_factor*radius));
|
|
1468
|
+
;}
|
|
1469
|
+
break;
|
|
1470
|
+
|
|
1471
|
+
case 36:
|
|
1472
|
+
//#line 224 "phantom.y"
|
|
1473
|
+
{
|
|
1474
|
+
top = new Cube;
|
|
1475
|
+
top->Transform().Scale(Vec3(scale_factor*lengthx,scale_factor*lengthy,scale_factor*lengthz));
|
|
1476
|
+
if (!ax_given)
|
|
1477
|
+
cross(ay_x,ay_y,ay_z,az_x,az_y,az_z,ax_x,ax_y,ax_z);
|
|
1478
|
+
if (!ay_given)
|
|
1479
|
+
cross(az_x,az_y,az_z,ax_x,ax_y,ax_z,ay_x,ay_y,ay_z);
|
|
1480
|
+
if (!az_given)
|
|
1481
|
+
cross(ax_x,ax_y,ax_z,ay_x,ay_y,ay_z,az_x,az_y,az_z);
|
|
1482
|
+
double a1 = sqrt(ax_x*ax_x + ax_y*ax_y);
|
|
1483
|
+
double a2 = (az_x*ax_x + az_y*ax_y);
|
|
1484
|
+
double a3 = (az_y*ax_x - az_x*ax_y);
|
|
1485
|
+
double a4 = sqrt(a2*a2+az_z*az_z);
|
|
1486
|
+
double rotangle = 0;
|
|
1487
|
+
if (a3 != 0) {
|
|
1488
|
+
if (a4 == 0) {
|
|
1489
|
+
rotangle = 90.0*sign(a3);
|
|
1490
|
+
} else {
|
|
1491
|
+
rotangle = atan2(a3,a4*a1)*180.0/M_PI;
|
|
1492
|
+
}
|
|
1493
|
+
}
|
|
1494
|
+
top->Transform().RotateX(rotangle);
|
|
1495
|
+
rotangle = 0;
|
|
1496
|
+
if (ax_z != 0) {
|
|
1497
|
+
if (a1 == 0) {
|
|
1498
|
+
rotangle = 90*sign(ax_z);
|
|
1499
|
+
} else {
|
|
1500
|
+
rotangle = atan2(ax_z,a1)*180.0/M_PI;
|
|
1501
|
+
}
|
|
1502
|
+
}
|
|
1503
|
+
top->Transform().RotateY(rotangle);
|
|
1504
|
+
rotangle = 0;
|
|
1505
|
+
if (ax_y != 0) {
|
|
1506
|
+
if (ax_x == 0) {
|
|
1507
|
+
rotangle = 90*sign(ax_y);
|
|
1508
|
+
} else {
|
|
1509
|
+
rotangle = atan2(ax_y,ax_x)*180.0/M_PI;
|
|
1510
|
+
}
|
|
1511
|
+
}
|
|
1512
|
+
top->Transform().RotateZ(rotangle);
|
|
1513
|
+
;}
|
|
1514
|
+
break;
|
|
1515
|
+
|
|
1516
|
+
case 41:
|
|
1517
|
+
//#line 274 "phantom.y"
|
|
1518
|
+
{
|
|
1519
|
+
top = new Cylinder;
|
|
1520
|
+
top->Transform().Scale(Vec3(scale_factor*radius,scale_factor*radius,scale_factor*length));
|
|
1521
|
+
top->Transform().RotateY(90);
|
|
1522
|
+
;}
|
|
1523
|
+
break;
|
|
1524
|
+
|
|
1525
|
+
case 42:
|
|
1526
|
+
//#line 282 "phantom.y"
|
|
1527
|
+
{
|
|
1528
|
+
top = new Cylinder;
|
|
1529
|
+
top->Transform().Scale(Vec3(scale_factor*radius,scale_factor*radius,scale_factor*length));
|
|
1530
|
+
top->Transform().RotateX(90);
|
|
1531
|
+
;}
|
|
1532
|
+
break;
|
|
1533
|
+
|
|
1534
|
+
case 43:
|
|
1535
|
+
//#line 290 "phantom.y"
|
|
1536
|
+
{
|
|
1537
|
+
top = new Cylinder;
|
|
1538
|
+
top->Transform().Scale(Vec3(scale_factor*radius,scale_factor*radius,scale_factor*length));
|
|
1539
|
+
top->Transform().RotateZ(90);
|
|
1540
|
+
;}
|
|
1541
|
+
break;
|
|
1542
|
+
|
|
1543
|
+
case 48:
|
|
1544
|
+
//#line 304 "phantom.y"
|
|
1545
|
+
{
|
|
1546
|
+
top = new Cylinder;
|
|
1547
|
+
top->Transform().Scale(Vec3(scale_factor*radius,scale_factor*radius,scale_factor*length));
|
|
1548
|
+
double rotang;
|
|
1549
|
+
rotang = -atan2(sqrt(axis_x*axis_x+axis_y*axis_y),axis_z)*180.0/M_PI;
|
|
1550
|
+
top->Transform().RotateX(rotang);
|
|
1551
|
+
rotang = -atan2(axis_x,axis_y)*180.0/M_PI;
|
|
1552
|
+
top->Transform().RotateZ(rotang);
|
|
1553
|
+
;}
|
|
1554
|
+
break;
|
|
1555
|
+
|
|
1556
|
+
case 54:
|
|
1557
|
+
//#line 323 "phantom.y"
|
|
1558
|
+
{
|
|
1559
|
+
top = new Sphere;
|
|
1560
|
+
top->Transform().Scale(Vec3(scale_factor*lengthx,scale_factor*lengthy,scale_factor*lengthz));
|
|
1561
|
+
;}
|
|
1562
|
+
break;
|
|
1563
|
+
|
|
1564
|
+
case 59:
|
|
1565
|
+
//#line 338 "phantom.y"
|
|
1566
|
+
{
|
|
1567
|
+
top = new Sphere;
|
|
1568
|
+
top->Transform().Scale(Vec3(scale_factor*lengthx,scale_factor*lengthy,scale_factor*lengthz));
|
|
1569
|
+
if (!ax_given)
|
|
1570
|
+
cross(ay_x,ay_y,ay_z,az_x,az_y,az_z,ax_x,ax_y,ax_z);
|
|
1571
|
+
if (!ay_given)
|
|
1572
|
+
cross(az_x,az_y,az_z,ax_x,ax_y,ax_z,ay_x,ay_y,ay_z);
|
|
1573
|
+
if (!az_given)
|
|
1574
|
+
cross(ax_x,ax_y,ax_z,ay_x,ay_y,ay_z,az_x,az_y,az_z);
|
|
1575
|
+
double a1 = sqrt(ax_x*ax_x + ax_y*ax_y);
|
|
1576
|
+
double a2 = (az_x*ax_x + az_y*ax_y);
|
|
1577
|
+
double a3 = (az_y*ax_x - az_x*ax_y);
|
|
1578
|
+
double a4 = sqrt(a2*a2+az_z*az_z);
|
|
1579
|
+
double rotangle = 0;
|
|
1580
|
+
if (a3 != 0) {
|
|
1581
|
+
if (a4 == 0) {
|
|
1582
|
+
rotangle = 90.0*sign(a3);
|
|
1583
|
+
} else {
|
|
1584
|
+
rotangle = atan2(a3,a4*a1)*180.0/M_PI;
|
|
1585
|
+
}
|
|
1586
|
+
}
|
|
1587
|
+
top->Transform().RotateX(rotangle);
|
|
1588
|
+
rotangle = 0;
|
|
1589
|
+
if (ax_z != 0) {
|
|
1590
|
+
if (a1 == 0) {
|
|
1591
|
+
rotangle = 90*sign(ax_z);
|
|
1592
|
+
} else {
|
|
1593
|
+
rotangle = atan2(ax_z,a1)*180.0/M_PI;
|
|
1594
|
+
}
|
|
1595
|
+
}
|
|
1596
|
+
top->Transform().RotateY(rotangle);
|
|
1597
|
+
rotangle = 0;
|
|
1598
|
+
if (ax_y != 0) {
|
|
1599
|
+
if (ax_x == 0) {
|
|
1600
|
+
rotangle = 90*sign(ax_y);
|
|
1601
|
+
} else {
|
|
1602
|
+
rotangle = atan2(ax_y,ax_x)*180.0/M_PI;
|
|
1603
|
+
}
|
|
1604
|
+
}
|
|
1605
|
+
top->Transform().RotateZ(rotangle);
|
|
1606
|
+
;}
|
|
1607
|
+
break;
|
|
1608
|
+
|
|
1609
|
+
case 64:
|
|
1610
|
+
//#line 388 "phantom.y"
|
|
1611
|
+
{
|
|
1612
|
+
top = new Cylinder;
|
|
1613
|
+
top->Transform().Scale(Vec3(scale_factor*lengthx,scale_factor*lengthy,scale_factor*length));
|
|
1614
|
+
if (axis_given) {
|
|
1615
|
+
az_x = axis_x;
|
|
1616
|
+
az_y = axis_y;
|
|
1617
|
+
az_z = axis_z;
|
|
1618
|
+
}
|
|
1619
|
+
if (!ax_given)
|
|
1620
|
+
cross(ay_x,ay_y,ay_z,az_x,az_y,az_z,ax_x,ax_y,ax_z);
|
|
1621
|
+
if (!ay_given)
|
|
1622
|
+
cross(az_x,az_y,az_z,ax_x,ax_y,ax_z,ay_x,ay_y,ay_z);
|
|
1623
|
+
if (!az_given)
|
|
1624
|
+
cross(ax_x,ax_y,ax_z,ay_x,ay_y,ay_z,az_x,az_y,az_z);
|
|
1625
|
+
double a1 = sqrt(ax_x*ax_x + ax_y*ax_y);
|
|
1626
|
+
double a2 = (az_x*ax_x + az_y*ax_y);
|
|
1627
|
+
double a3 = (az_y*ax_x - az_x*ax_y);
|
|
1628
|
+
double a4 = sqrt(a2*a2+az_z*az_z);
|
|
1629
|
+
double rotangle = 0;
|
|
1630
|
+
if (a3 != 0) {
|
|
1631
|
+
if (a4 == 0) {
|
|
1632
|
+
rotangle = 90.0*sign(a3);
|
|
1633
|
+
} else {
|
|
1634
|
+
rotangle = atan2(a3,a4*a1)*180.0/M_PI;
|
|
1635
|
+
}
|
|
1636
|
+
}
|
|
1637
|
+
top->Transform().RotateX(rotangle);
|
|
1638
|
+
rotangle = 0;
|
|
1639
|
+
if (ax_z != 0) {
|
|
1640
|
+
if (a1 == 0) {
|
|
1641
|
+
rotangle = 90*sign(ax_z);
|
|
1642
|
+
} else {
|
|
1643
|
+
rotangle = atan2(ax_z,a1)*180.0/M_PI;
|
|
1644
|
+
}
|
|
1645
|
+
}
|
|
1646
|
+
top->Transform().RotateY(rotangle);
|
|
1647
|
+
rotangle = 0;
|
|
1648
|
+
if (ax_y != 0) {
|
|
1649
|
+
if (ax_x == 0) {
|
|
1650
|
+
rotangle = 90*sign(ax_y);
|
|
1651
|
+
} else {
|
|
1652
|
+
rotangle = atan2(ax_y,ax_x)*180.0/M_PI;
|
|
1653
|
+
}
|
|
1654
|
+
}
|
|
1655
|
+
top->Transform().RotateZ(rotangle);
|
|
1656
|
+
;}
|
|
1657
|
+
break;
|
|
1658
|
+
|
|
1659
|
+
case 71:
|
|
1660
|
+
//#line 444 "phantom.y"
|
|
1661
|
+
{
|
|
1662
|
+
top = new Cylinder();
|
|
1663
|
+
top->Transform().Scale(Vec3(scale_factor*lengthz,scale_factor*lengthy,scale_factor*length));
|
|
1664
|
+
top->Transform().RotateY(90);
|
|
1665
|
+
;}
|
|
1666
|
+
break;
|
|
1667
|
+
|
|
1668
|
+
case 72:
|
|
1669
|
+
//#line 452 "phantom.y"
|
|
1670
|
+
{
|
|
1671
|
+
top = new Cylinder();
|
|
1672
|
+
top->Transform().Scale(Vec3(scale_factor*lengthx,scale_factor*lengthz,scale_factor*length));
|
|
1673
|
+
top->Transform().RotateX(90);
|
|
1674
|
+
;}
|
|
1675
|
+
break;
|
|
1676
|
+
|
|
1677
|
+
case 73:
|
|
1678
|
+
//#line 460 "phantom.y"
|
|
1679
|
+
{
|
|
1680
|
+
top = new Cylinder();
|
|
1681
|
+
top->Transform().Scale(Vec3(scale_factor*lengthx,scale_factor*lengthy,scale_factor*length));
|
|
1682
|
+
;}
|
|
1683
|
+
break;
|
|
1684
|
+
|
|
1685
|
+
case 91:
|
|
1686
|
+
//#line 504 "phantom.y"
|
|
1687
|
+
{ x = yyvsp[0].val ;}
|
|
1688
|
+
break;
|
|
1689
|
+
|
|
1690
|
+
case 92:
|
|
1691
|
+
//#line 505 "phantom.y"
|
|
1692
|
+
{ y = yyvsp[0].val ;}
|
|
1693
|
+
break;
|
|
1694
|
+
|
|
1695
|
+
case 93:
|
|
1696
|
+
//#line 506 "phantom.y"
|
|
1697
|
+
{ z = yyvsp[0].val ;}
|
|
1698
|
+
break;
|
|
1699
|
+
|
|
1700
|
+
case 94:
|
|
1701
|
+
//#line 511 "phantom.y"
|
|
1702
|
+
{ radius = yyvsp[0].val ;}
|
|
1703
|
+
break;
|
|
1704
|
+
|
|
1705
|
+
case 95:
|
|
1706
|
+
//#line 516 "phantom.y"
|
|
1707
|
+
{ lengthx = yyvsp[0].val ;}
|
|
1708
|
+
break;
|
|
1709
|
+
|
|
1710
|
+
case 96:
|
|
1711
|
+
//#line 517 "phantom.y"
|
|
1712
|
+
{ lengthy = yyvsp[0].val ;}
|
|
1713
|
+
break;
|
|
1714
|
+
|
|
1715
|
+
case 97:
|
|
1716
|
+
//#line 518 "phantom.y"
|
|
1717
|
+
{ lengthz = yyvsp[0].val ;}
|
|
1718
|
+
break;
|
|
1719
|
+
|
|
1720
|
+
case 98:
|
|
1721
|
+
//#line 523 "phantom.y"
|
|
1722
|
+
{ length = yyvsp[0].val ;}
|
|
1723
|
+
break;
|
|
1724
|
+
|
|
1725
|
+
case 99:
|
|
1726
|
+
//#line 528 "phantom.y"
|
|
1727
|
+
{ radius1 = yyvsp[0].val ;}
|
|
1728
|
+
break;
|
|
1729
|
+
|
|
1730
|
+
case 100:
|
|
1731
|
+
//#line 529 "phantom.y"
|
|
1732
|
+
{ radius2 = yyvsp[0].val ;}
|
|
1733
|
+
break;
|
|
1734
|
+
|
|
1735
|
+
case 101:
|
|
1736
|
+
//#line 533 "phantom.y"
|
|
1737
|
+
{ axis_x = yyvsp[0].vec[0]; axis_y = yyvsp[0].vec[1]; axis_z = yyvsp[0].vec[2]; axis_given = true; ;}
|
|
1738
|
+
break;
|
|
1739
|
+
|
|
1740
|
+
case 102:
|
|
1741
|
+
//#line 537 "phantom.y"
|
|
1742
|
+
{ ax_x = yyvsp[0].vec[0]; ax_y = yyvsp[0].vec[1]; ax_z = yyvsp[0].vec[2]; ax_given = true; ;}
|
|
1743
|
+
break;
|
|
1744
|
+
|
|
1745
|
+
case 103:
|
|
1746
|
+
//#line 538 "phantom.y"
|
|
1747
|
+
{ ay_x = yyvsp[0].vec[0]; ay_y = yyvsp[0].vec[1]; ay_z = yyvsp[0].vec[2]; ay_given = true;;}
|
|
1748
|
+
break;
|
|
1749
|
+
|
|
1750
|
+
case 104:
|
|
1751
|
+
//#line 539 "phantom.y"
|
|
1752
|
+
{ az_x = yyvsp[0].vec[0]; az_y = yyvsp[0].vec[1]; az_z = yyvsp[0].vec[2]; az_given = true;;}
|
|
1753
|
+
break;
|
|
1754
|
+
|
|
1755
|
+
case 105:
|
|
1756
|
+
//#line 544 "phantom.y"
|
|
1757
|
+
{ yyval.vec[0] = yyvsp[-5].val; yyval.vec[1] = yyvsp[-3].val; yyval.vec[2] = yyvsp[-1].val; ;}
|
|
1758
|
+
break;
|
|
1759
|
+
|
|
1760
|
+
case 106:
|
|
1761
|
+
//#line 552 "phantom.y"
|
|
1762
|
+
{
|
|
1763
|
+
clipcoefs[clip_count][0] = -1.0;
|
|
1764
|
+
clipcoefs[clip_count][1] = 0.0;
|
|
1765
|
+
clipcoefs[clip_count][2] = 0.0;
|
|
1766
|
+
clipcoefs[clip_count][3] = -scale_factor*yyvsp[0].val;
|
|
1767
|
+
clip_count++;
|
|
1768
|
+
;}
|
|
1769
|
+
break;
|
|
1770
|
+
|
|
1771
|
+
case 107:
|
|
1772
|
+
//#line 559 "phantom.y"
|
|
1773
|
+
{
|
|
1774
|
+
clipcoefs[clip_count][0] = 1.0;
|
|
1775
|
+
clipcoefs[clip_count][1] = 0.0;
|
|
1776
|
+
clipcoefs[clip_count][2] = 0.0;
|
|
1777
|
+
clipcoefs[clip_count][3] = scale_factor*yyvsp[0].val;
|
|
1778
|
+
clip_count++;
|
|
1779
|
+
;}
|
|
1780
|
+
break;
|
|
1781
|
+
|
|
1782
|
+
case 108:
|
|
1783
|
+
//#line 566 "phantom.y"
|
|
1784
|
+
{
|
|
1785
|
+
clipcoefs[clip_count][0] = 0.0;
|
|
1786
|
+
clipcoefs[clip_count][1] = -1.0;
|
|
1787
|
+
clipcoefs[clip_count][2] = 0.0;
|
|
1788
|
+
clipcoefs[clip_count][3] = -scale_factor*yyvsp[0].val;
|
|
1789
|
+
clip_count++;
|
|
1790
|
+
;}
|
|
1791
|
+
break;
|
|
1792
|
+
|
|
1793
|
+
case 109:
|
|
1794
|
+
//#line 573 "phantom.y"
|
|
1795
|
+
{
|
|
1796
|
+
clipcoefs[clip_count][0] = 0.0;
|
|
1797
|
+
clipcoefs[clip_count][1] = 1.0;
|
|
1798
|
+
clipcoefs[clip_count][2] = 0.0;
|
|
1799
|
+
clipcoefs[clip_count][3] = scale_factor*yyvsp[0].val;
|
|
1800
|
+
clip_count++;
|
|
1801
|
+
;}
|
|
1802
|
+
break;
|
|
1803
|
+
|
|
1804
|
+
case 110:
|
|
1805
|
+
//#line 580 "phantom.y"
|
|
1806
|
+
{
|
|
1807
|
+
clipcoefs[clip_count][0] = 0.0;
|
|
1808
|
+
clipcoefs[clip_count][1] = 0.0;
|
|
1809
|
+
clipcoefs[clip_count][2] = -1.0;
|
|
1810
|
+
clipcoefs[clip_count][3] = -scale_factor*yyvsp[0].val;
|
|
1811
|
+
clip_count++;
|
|
1812
|
+
;}
|
|
1813
|
+
break;
|
|
1814
|
+
|
|
1815
|
+
case 111:
|
|
1816
|
+
//#line 587 "phantom.y"
|
|
1817
|
+
{
|
|
1818
|
+
clipcoefs[clip_count][0] = 0.0;
|
|
1819
|
+
clipcoefs[clip_count][1] = 0.0;
|
|
1820
|
+
clipcoefs[clip_count][2] = 1.0;
|
|
1821
|
+
clipcoefs[clip_count][3] = scale_factor*yyvsp[0].val;
|
|
1822
|
+
clip_count++;
|
|
1823
|
+
;}
|
|
1824
|
+
break;
|
|
1825
|
+
|
|
1826
|
+
case 112:
|
|
1827
|
+
//#line 594 "phantom.y"
|
|
1828
|
+
{
|
|
1829
|
+
double norm = sqrt(yyvsp[-2].vec[0]*yyvsp[-2].vec[0] + yyvsp[-2].vec[1]*yyvsp[-2].vec[1] + yyvsp[-2].vec[2]*yyvsp[-2].vec[2]);
|
|
1830
|
+
clipcoefs[clip_count][0] = -yyvsp[-2].vec[0]/norm;
|
|
1831
|
+
clipcoefs[clip_count][1] = -yyvsp[-2].vec[1]/norm;
|
|
1832
|
+
clipcoefs[clip_count][2] = -yyvsp[-2].vec[2]/norm;
|
|
1833
|
+
clipcoefs[clip_count][3] = -scale_factor*yyvsp[0].val;
|
|
1834
|
+
clip_count++;
|
|
1835
|
+
;}
|
|
1836
|
+
break;
|
|
1837
|
+
|
|
1838
|
+
case 113:
|
|
1839
|
+
//#line 602 "phantom.y"
|
|
1840
|
+
{
|
|
1841
|
+
double norm = sqrt(yyvsp[-2].vec[0]*yyvsp[-2].vec[0] + yyvsp[-2].vec[1]*yyvsp[-2].vec[1] + yyvsp[-2].vec[2]*yyvsp[-2].vec[2]);
|
|
1842
|
+
clipcoefs[clip_count][0] = yyvsp[-2].vec[0]/norm;
|
|
1843
|
+
clipcoefs[clip_count][1] = yyvsp[-2].vec[1]/norm;
|
|
1844
|
+
clipcoefs[clip_count][2] = yyvsp[-2].vec[2]/norm;
|
|
1845
|
+
clipcoefs[clip_count][3] = scale_factor*yyvsp[0].val;
|
|
1846
|
+
clip_count++;
|
|
1847
|
+
;}
|
|
1848
|
+
break;
|
|
1849
|
+
|
|
1850
|
+
case 115:
|
|
1851
|
+
//#line 614 "phantom.y"
|
|
1852
|
+
{ yyval.val = sin(yyvsp[-1].val*M_PI/180.0) ;}
|
|
1853
|
+
break;
|
|
1854
|
+
|
|
1855
|
+
case 116:
|
|
1856
|
+
//#line 615 "phantom.y"
|
|
1857
|
+
{ yyval.val = cos(yyvsp[-1].val*M_PI/180.0) ;}
|
|
1858
|
+
break;
|
|
1859
|
+
|
|
1860
|
+
case 117:
|
|
1861
|
+
//#line 616 "phantom.y"
|
|
1862
|
+
{ yyval.val = sqrt(yyvsp[-1].val) ;}
|
|
1863
|
+
break;
|
|
1864
|
+
|
|
1865
|
+
case 118:
|
|
1866
|
+
//#line 617 "phantom.y"
|
|
1867
|
+
{ yyval.val = yyvsp[-2].val + yyvsp[0].val ;}
|
|
1868
|
+
break;
|
|
1869
|
+
|
|
1870
|
+
case 119:
|
|
1871
|
+
//#line 618 "phantom.y"
|
|
1872
|
+
{ yyval.val = yyvsp[-2].val - yyvsp[0].val ;}
|
|
1873
|
+
break;
|
|
1874
|
+
|
|
1875
|
+
case 120:
|
|
1876
|
+
//#line 619 "phantom.y"
|
|
1877
|
+
{ yyval.val = yyvsp[-2].val * yyvsp[0].val ;}
|
|
1878
|
+
break;
|
|
1879
|
+
|
|
1880
|
+
case 121:
|
|
1881
|
+
//#line 620 "phantom.y"
|
|
1882
|
+
{ yyval.val = yyvsp[-2].val / yyvsp[0].val ;}
|
|
1883
|
+
break;
|
|
1884
|
+
|
|
1885
|
+
case 122:
|
|
1886
|
+
//#line 621 "phantom.y"
|
|
1887
|
+
{ yyval.val = -yyvsp[0].val ;}
|
|
1888
|
+
break;
|
|
1889
|
+
|
|
1890
|
+
case 123:
|
|
1891
|
+
//#line 622 "phantom.y"
|
|
1892
|
+
{ yyval.val = yyvsp[-1].val ;}
|
|
1893
|
+
break;
|
|
1894
|
+
|
|
1895
|
+
|
|
1896
|
+
}
|
|
1897
|
+
|
|
1898
|
+
/* Line 1000 of yacc.c. */
|
|
1899
|
+
//#line 1877 "phantom.tab.cpp"
|
|
1900
|
+
|
|
1901
|
+
yyvsp -= yylen;
|
|
1902
|
+
yyssp -= yylen;
|
|
1903
|
+
|
|
1904
|
+
|
|
1905
|
+
YY_STACK_PRINT (yyss, yyssp);
|
|
1906
|
+
|
|
1907
|
+
*++yyvsp = yyval;
|
|
1908
|
+
|
|
1909
|
+
|
|
1910
|
+
/* Now `shift' the result of the reduction. Determine what state
|
|
1911
|
+
that goes to, based on the state we popped back to and the rule
|
|
1912
|
+
number reduced by. */
|
|
1913
|
+
|
|
1914
|
+
yyn = yyr1[yyn];
|
|
1915
|
+
|
|
1916
|
+
yystate = yypgoto[yyn - YYNTOKENS] + *yyssp;
|
|
1917
|
+
if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp)
|
|
1918
|
+
yystate = yytable[yystate];
|
|
1919
|
+
else
|
|
1920
|
+
yystate = yydefgoto[yyn - YYNTOKENS];
|
|
1921
|
+
|
|
1922
|
+
goto yynewstate;
|
|
1923
|
+
|
|
1924
|
+
|
|
1925
|
+
/*------------------------------------.
|
|
1926
|
+
| yyerrlab -- here on detecting error |
|
|
1927
|
+
`------------------------------------*/
|
|
1928
|
+
yyerrlab:
|
|
1929
|
+
/* If not already recovering from an error, report this error. */
|
|
1930
|
+
if (!yyerrstatus)
|
|
1931
|
+
{
|
|
1932
|
+
++yynerrs;
|
|
1933
|
+
#if YYERROR_VERBOSE
|
|
1934
|
+
yyn = yypact[yystate];
|
|
1935
|
+
|
|
1936
|
+
if (YYPACT_NINF < yyn && yyn < YYLAST)
|
|
1937
|
+
{
|
|
1938
|
+
YYSIZE_T yysize = 0;
|
|
1939
|
+
int yytype = YYTRANSLATE (yychar);
|
|
1940
|
+
const char* yyprefix;
|
|
1941
|
+
char *yymsg;
|
|
1942
|
+
int yyx;
|
|
1943
|
+
|
|
1944
|
+
/* Start YYX at -YYN if negative to avoid negative indexes in
|
|
1945
|
+
YYCHECK. */
|
|
1946
|
+
int yyxbegin = yyn < 0 ? -yyn : 0;
|
|
1947
|
+
|
|
1948
|
+
/* Stay within bounds of both yycheck and yytname. */
|
|
1949
|
+
int yychecklim = YYLAST - yyn;
|
|
1950
|
+
int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
|
|
1951
|
+
int yycount = 0;
|
|
1952
|
+
|
|
1953
|
+
yyprefix = ", expecting ";
|
|
1954
|
+
for (yyx = yyxbegin; yyx < yyxend; ++yyx)
|
|
1955
|
+
if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR)
|
|
1956
|
+
{
|
|
1957
|
+
yysize += yystrlen (yyprefix) + yystrlen (yytname [yyx]);
|
|
1958
|
+
yycount += 1;
|
|
1959
|
+
if (yycount == 5)
|
|
1960
|
+
{
|
|
1961
|
+
yysize = 0;
|
|
1962
|
+
break;
|
|
1963
|
+
}
|
|
1964
|
+
}
|
|
1965
|
+
yysize += (sizeof ("syntax error, unexpected ")
|
|
1966
|
+
+ yystrlen (yytname[yytype]));
|
|
1967
|
+
yymsg = (char *) YYSTACK_ALLOC (yysize);
|
|
1968
|
+
if (yymsg != 0)
|
|
1969
|
+
{
|
|
1970
|
+
char *yyp = yystpcpy (yymsg, "syntax error, unexpected ");
|
|
1971
|
+
yyp = yystpcpy (yyp, yytname[yytype]);
|
|
1972
|
+
|
|
1973
|
+
if (yycount < 5)
|
|
1974
|
+
{
|
|
1975
|
+
yyprefix = ", expecting ";
|
|
1976
|
+
for (yyx = yyxbegin; yyx < yyxend; ++yyx)
|
|
1977
|
+
if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR)
|
|
1978
|
+
{
|
|
1979
|
+
yyp = yystpcpy (yyp, yyprefix);
|
|
1980
|
+
yyp = yystpcpy (yyp, yytname[yyx]);
|
|
1981
|
+
yyprefix = " or ";
|
|
1982
|
+
}
|
|
1983
|
+
}
|
|
1984
|
+
yyerror (yymsg);
|
|
1985
|
+
YYSTACK_FREE (yymsg);
|
|
1986
|
+
}
|
|
1987
|
+
else
|
|
1988
|
+
yyerror ("syntax error; also virtual memory exhausted");
|
|
1989
|
+
}
|
|
1990
|
+
else
|
|
1991
|
+
#endif /* YYERROR_VERBOSE */
|
|
1992
|
+
yyerror ("syntax error");
|
|
1993
|
+
}
|
|
1994
|
+
|
|
1995
|
+
|
|
1996
|
+
|
|
1997
|
+
if (yyerrstatus == 3)
|
|
1998
|
+
{
|
|
1999
|
+
/* If just tried and failed to reuse lookahead token after an
|
|
2000
|
+
error, discard it. */
|
|
2001
|
+
|
|
2002
|
+
if (yychar <= YYEOF)
|
|
2003
|
+
{
|
|
2004
|
+
/* If at end of input, pop the error token,
|
|
2005
|
+
then the rest of the stack, then return failure. */
|
|
2006
|
+
if (yychar == YYEOF)
|
|
2007
|
+
for (;;)
|
|
2008
|
+
{
|
|
2009
|
+
YYPOPSTACK;
|
|
2010
|
+
if (yyssp == yyss)
|
|
2011
|
+
YYABORT;
|
|
2012
|
+
YYDSYMPRINTF ("Error: popping", yystos[*yyssp], yyvsp, yylsp);
|
|
2013
|
+
yydestruct (yystos[*yyssp], yyvsp);
|
|
2014
|
+
}
|
|
2015
|
+
}
|
|
2016
|
+
else
|
|
2017
|
+
{
|
|
2018
|
+
YYDSYMPRINTF ("Error: discarding", yytoken, &yylval, &yylloc);
|
|
2019
|
+
yydestruct (yytoken, &yylval);
|
|
2020
|
+
yychar = YYEMPTY;
|
|
2021
|
+
|
|
2022
|
+
}
|
|
2023
|
+
}
|
|
2024
|
+
|
|
2025
|
+
/* Else will try to reuse lookahead token after shifting the error
|
|
2026
|
+
token. */
|
|
2027
|
+
goto yyerrlab1;
|
|
2028
|
+
|
|
2029
|
+
|
|
2030
|
+
/*---------------------------------------------------.
|
|
2031
|
+
| yyerrorlab -- error raised explicitly by YYERROR. |
|
|
2032
|
+
`---------------------------------------------------*/
|
|
2033
|
+
yyerrorlab:
|
|
2034
|
+
|
|
2035
|
+
#ifdef __GNUC__
|
|
2036
|
+
/* Pacify GCC when the user code never invokes YYERROR and the label
|
|
2037
|
+
yyerrorlab therefore never appears in user code. */
|
|
2038
|
+
if (0)
|
|
2039
|
+
goto yyerrorlab;
|
|
2040
|
+
#endif
|
|
2041
|
+
|
|
2042
|
+
yyvsp -= yylen;
|
|
2043
|
+
yyssp -= yylen;
|
|
2044
|
+
yystate = *yyssp;
|
|
2045
|
+
goto yyerrlab1;
|
|
2046
|
+
|
|
2047
|
+
|
|
2048
|
+
/*-------------------------------------------------------------.
|
|
2049
|
+
| yyerrlab1 -- common code for both syntax error and YYERROR. |
|
|
2050
|
+
`-------------------------------------------------------------*/
|
|
2051
|
+
yyerrlab1:
|
|
2052
|
+
yyerrstatus = 3; /* Each real token shifted decrements this. */
|
|
2053
|
+
|
|
2054
|
+
for (;;)
|
|
2055
|
+
{
|
|
2056
|
+
yyn = yypact[yystate];
|
|
2057
|
+
if (yyn != YYPACT_NINF)
|
|
2058
|
+
{
|
|
2059
|
+
yyn += YYTERROR;
|
|
2060
|
+
if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR)
|
|
2061
|
+
{
|
|
2062
|
+
yyn = yytable[yyn];
|
|
2063
|
+
if (0 < yyn)
|
|
2064
|
+
break;
|
|
2065
|
+
}
|
|
2066
|
+
}
|
|
2067
|
+
|
|
2068
|
+
/* Pop the current state because it cannot handle the error token. */
|
|
2069
|
+
if (yyssp == yyss)
|
|
2070
|
+
YYABORT;
|
|
2071
|
+
|
|
2072
|
+
YYDSYMPRINTF ("Error: popping", yystos[*yyssp], yyvsp, yylsp);
|
|
2073
|
+
yydestruct (yystos[yystate], yyvsp);
|
|
2074
|
+
YYPOPSTACK;
|
|
2075
|
+
yystate = *yyssp;
|
|
2076
|
+
YY_STACK_PRINT (yyss, yyssp);
|
|
2077
|
+
}
|
|
2078
|
+
|
|
2079
|
+
if (yyn == YYFINAL)
|
|
2080
|
+
YYACCEPT;
|
|
2081
|
+
|
|
2082
|
+
YYDPRINTF ((stderr, "Shifting error token, "));
|
|
2083
|
+
|
|
2084
|
+
*++yyvsp = yylval;
|
|
2085
|
+
|
|
2086
|
+
|
|
2087
|
+
yystate = yyn;
|
|
2088
|
+
goto yynewstate;
|
|
2089
|
+
|
|
2090
|
+
|
|
2091
|
+
/*-------------------------------------.
|
|
2092
|
+
| yyacceptlab -- YYACCEPT comes here. |
|
|
2093
|
+
`-------------------------------------*/
|
|
2094
|
+
yyacceptlab:
|
|
2095
|
+
yyresult = 0;
|
|
2096
|
+
goto yyreturn;
|
|
2097
|
+
|
|
2098
|
+
/*-----------------------------------.
|
|
2099
|
+
| yyabortlab -- YYABORT comes here. |
|
|
2100
|
+
`-----------------------------------*/
|
|
2101
|
+
yyabortlab:
|
|
2102
|
+
yyresult = 1;
|
|
2103
|
+
goto yyreturn;
|
|
2104
|
+
|
|
2105
|
+
#ifndef yyoverflow
|
|
2106
|
+
/*----------------------------------------------.
|
|
2107
|
+
| yyoverflowlab -- parser overflow comes here. |
|
|
2108
|
+
`----------------------------------------------*/
|
|
2109
|
+
yyoverflowlab:
|
|
2110
|
+
yyerror ("parser stack overflow");
|
|
2111
|
+
yyresult = 2;
|
|
2112
|
+
/* Fall through. */
|
|
2113
|
+
#endif
|
|
2114
|
+
|
|
2115
|
+
yyreturn:
|
|
2116
|
+
#ifndef yyoverflow
|
|
2117
|
+
if (yyss != yyssa)
|
|
2118
|
+
YYSTACK_FREE (yyss);
|
|
2119
|
+
#endif
|
|
2120
|
+
return yyresult;
|
|
2121
|
+
}
|
|
2122
|
+
|
|
2123
|
+
|
|
2124
|
+
|
|
2125
|
+
|
|
2126
|
+
|