raytatouille 0.10.0__tar.gz

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.
Files changed (897) hide show
  1. raytatouille-0.10.0/.clang-format +11 -0
  2. raytatouille-0.10.0/.clang-tidy +21 -0
  3. raytatouille-0.10.0/.editorconfig +12 -0
  4. raytatouille-0.10.0/.gitattributes +7 -0
  5. raytatouille-0.10.0/.gitignore +16 -0
  6. raytatouille-0.10.0/AGENTS.md +271 -0
  7. raytatouille-0.10.0/CHANGELOG.md +1250 -0
  8. raytatouille-0.10.0/CLAUDE.md +5 -0
  9. raytatouille-0.10.0/CMakeLists.txt +87 -0
  10. raytatouille-0.10.0/CMakePresets.json +116 -0
  11. raytatouille-0.10.0/LICENSE +21 -0
  12. raytatouille-0.10.0/LICENSES/Eigen-MPL-2.0.txt +373 -0
  13. raytatouille-0.10.0/LICENSES/README.md +33 -0
  14. raytatouille-0.10.0/LICENSES/nanobind-BSD-3-Clause.txt +26 -0
  15. raytatouille-0.10.0/LICENSES/nlohmann-json-MIT.txt +21 -0
  16. raytatouille-0.10.0/LICENSES/nlohmann-json-third-party-MIT.txt +28 -0
  17. raytatouille-0.10.0/LICENSES/oneTBB-Apache-2.0.txt +201 -0
  18. raytatouille-0.10.0/LICENSES/pocketfft-BSD-3-Clause.txt +25 -0
  19. raytatouille-0.10.0/LICENSES/robin-map-MIT.txt +21 -0
  20. raytatouille-0.10.0/PKG-INFO +117 -0
  21. raytatouille-0.10.0/README.md +93 -0
  22. raytatouille-0.10.0/apps/rtt-bench/CMakeLists.txt +18 -0
  23. raytatouille-0.10.0/apps/rtt-bench/main.cpp +243 -0
  24. raytatouille-0.10.0/apps/rtt-cli/CMakeLists.txt +135 -0
  25. raytatouille-0.10.0/apps/rtt-cli/main.cpp +254 -0
  26. raytatouille-0.10.0/apps/rtt-cli/tests/expect_exit.cmake +6 -0
  27. raytatouille-0.10.0/apps/rtt-cli/tests/pickup_0_3.rtt.json +25 -0
  28. raytatouille-0.10.0/apps/rtt-cli/tests/two_references.rtt.json +65 -0
  29. raytatouille-0.10.0/changelog.d/README.md +28 -0
  30. raytatouille-0.10.0/cmake/RttPocketfft.cmake +55 -0
  31. raytatouille-0.10.0/cmake/RttTargets.cmake +64 -0
  32. raytatouille-0.10.0/docs/adr/0001.md +11 -0
  33. raytatouille-0.10.0/docs/adr/0002.md +11 -0
  34. raytatouille-0.10.0/docs/adr/0003.md +11 -0
  35. raytatouille-0.10.0/docs/adr/0004.md +32 -0
  36. raytatouille-0.10.0/docs/adr/0005.md +11 -0
  37. raytatouille-0.10.0/docs/adr/0006.md +11 -0
  38. raytatouille-0.10.0/docs/adr/0007.md +136 -0
  39. raytatouille-0.10.0/docs/adr/0008.md +50 -0
  40. raytatouille-0.10.0/docs/adr/0009.md +11 -0
  41. raytatouille-0.10.0/docs/adr/0010.md +11 -0
  42. raytatouille-0.10.0/docs/adr/0011.md +11 -0
  43. raytatouille-0.10.0/docs/adr/0012.md +11 -0
  44. raytatouille-0.10.0/docs/adr/0013.md +11 -0
  45. raytatouille-0.10.0/docs/adr/0014.md +40 -0
  46. raytatouille-0.10.0/docs/adr/0015.md +27 -0
  47. raytatouille-0.10.0/docs/adr/0016.md +46 -0
  48. raytatouille-0.10.0/docs/adr/0017.md +86 -0
  49. raytatouille-0.10.0/docs/adr/0018.md +114 -0
  50. raytatouille-0.10.0/docs/adr/0019.md +79 -0
  51. raytatouille-0.10.0/docs/adr/0020.md +47 -0
  52. raytatouille-0.10.0/docs/adr/0021.md +120 -0
  53. raytatouille-0.10.0/docs/adr/0022.md +89 -0
  54. raytatouille-0.10.0/docs/adr/0023.md +240 -0
  55. raytatouille-0.10.0/docs/adr/0024.md +363 -0
  56. raytatouille-0.10.0/docs/adr/0025.md +223 -0
  57. raytatouille-0.10.0/docs/adr/0026.md +262 -0
  58. raytatouille-0.10.0/docs/adr/0027.md +83 -0
  59. raytatouille-0.10.0/docs/adr/0028.md +148 -0
  60. raytatouille-0.10.0/docs/adr/0029.md +280 -0
  61. raytatouille-0.10.0/docs/adr/0030.md +497 -0
  62. raytatouille-0.10.0/docs/adr/0031.md +313 -0
  63. raytatouille-0.10.0/docs/adr/0032.md +458 -0
  64. raytatouille-0.10.0/docs/adr/0033.md +496 -0
  65. raytatouille-0.10.0/docs/adr/0034.md +280 -0
  66. raytatouille-0.10.0/docs/adr/0035.md +252 -0
  67. raytatouille-0.10.0/docs/adr/0036.md +333 -0
  68. raytatouille-0.10.0/docs/adr/0037.md +68 -0
  69. raytatouille-0.10.0/docs/adr/0038.md +102 -0
  70. raytatouille-0.10.0/docs/adr/0039.md +174 -0
  71. raytatouille-0.10.0/docs/adr/0040.md +147 -0
  72. raytatouille-0.10.0/docs/adr/0041.md +187 -0
  73. raytatouille-0.10.0/docs/adr/0042.md +295 -0
  74. raytatouille-0.10.0/docs/adr/0043.md +261 -0
  75. raytatouille-0.10.0/docs/adr/0044.md +403 -0
  76. raytatouille-0.10.0/docs/adr/0045.md +453 -0
  77. raytatouille-0.10.0/docs/adr/0046.md +74 -0
  78. raytatouille-0.10.0/docs/adr/0047.md +70 -0
  79. raytatouille-0.10.0/docs/adr/0048.md +110 -0
  80. raytatouille-0.10.0/docs/adr/0049.md +353 -0
  81. raytatouille-0.10.0/docs/adr/README.md +76 -0
  82. raytatouille-0.10.0/docs/agenten.md +101 -0
  83. raytatouille-0.10.0/docs/architecture.md +595 -0
  84. raytatouille-0.10.0/docs/dateiformat.md +676 -0
  85. raytatouille-0.10.0/docs/diagnostics.md +298 -0
  86. raytatouille-0.10.0/docs/feedback/gui-anforderungen.md +180 -0
  87. raytatouille-0.10.0/docs/quellen.md +164 -0
  88. raytatouille-0.10.0/docs/roadmap-erweiterungen.md +176 -0
  89. raytatouille-0.10.0/examples/anamorphic/biconic_singlet.rtt.json +67 -0
  90. raytatouille-0.10.0/examples/anamorphic/crossed_cylinders.rtt.json +82 -0
  91. raytatouille-0.10.0/examples/anamorphic/cylinder_planoconvex.rtt.json +62 -0
  92. raytatouille-0.10.0/examples/forbes/qbfs_singlet.rtt.json +69 -0
  93. raytatouille-0.10.0/examples/forbes/qcon_singlet.rtt.json +69 -0
  94. raytatouille-0.10.0/examples/komplexe_modelle/README.md +106 -0
  95. raytatouille-0.10.0/examples/komplexe_modelle/erzeuge_mikroskopobjektiv_20x.py +108 -0
  96. raytatouille-0.10.0/examples/komplexe_modelle/mikroskopobjektiv_20x.rtt.json +262 -0
  97. raytatouille-0.10.0/examples/lehrbeispiele/01a_biegung_plan_zuerst.rtt.json +62 -0
  98. raytatouille-0.10.0/examples/lehrbeispiele/01b_biegung_symmetrisch.rtt.json +65 -0
  99. raytatouille-0.10.0/examples/lehrbeispiele/01c_biegung_gewoelbt_zuerst.rtt.json +62 -0
  100. raytatouille-0.10.0/examples/lehrbeispiele/01d_biegung_bestform.rtt.json +65 -0
  101. raytatouille-0.10.0/examples/lehrbeispiele/02a_singlet_bk7.rtt.json +68 -0
  102. raytatouille-0.10.0/examples/lehrbeispiele/02b_achromat_bk7_f2.rtt.json +76 -0
  103. raytatouille-0.10.0/examples/lehrbeispiele/03_descartes_hyperbel.rtt.json +62 -0
  104. raytatouille-0.10.0/examples/lehrbeispiele/04a_hohlspiegel_kugel.rtt.json +58 -0
  105. raytatouille-0.10.0/examples/lehrbeispiele/04b_hohlspiegel_parabel.rtt.json +58 -0
  106. raytatouille-0.10.0/examples/lehrbeispiele/05a_cassegrain_klassisch.rtt.json +74 -0
  107. raytatouille-0.10.0/examples/lehrbeispiele/05b_ritchey_chretien.rtt.json +74 -0
  108. raytatouille-0.10.0/examples/lehrbeispiele/06a_teleobjektiv.rtt.json +89 -0
  109. raytatouille-0.10.0/examples/lehrbeispiele/06b_einzellinse_f200.rtt.json +66 -0
  110. raytatouille-0.10.0/examples/lehrbeispiele/07a_blende_vor_linse.rtt.json +68 -0
  111. raytatouille-0.10.0/examples/lehrbeispiele/07b_blende_hinter_linse.rtt.json +68 -0
  112. raytatouille-0.10.0/examples/lehrbeispiele/08_brewster_platte.rtt.json +48 -0
  113. raytatouille-0.10.0/examples/lehrbeispiele/README.md +225 -0
  114. raytatouille-0.10.0/examples/python/analysis.py +68 -0
  115. raytatouille-0.10.0/examples/python/calcite_double_image.py +73 -0
  116. raytatouille-0.10.0/examples/python/cancel_progress.py +73 -0
  117. raytatouille-0.10.0/examples/python/diffraction.py +95 -0
  118. raytatouille-0.10.0/examples/python/edit_undo.py +52 -0
  119. raytatouille-0.10.0/examples/python/ghosts.py +65 -0
  120. raytatouille-0.10.0/examples/python/grating_orders.py +92 -0
  121. raytatouille-0.10.0/examples/python/ideal_lens.py +77 -0
  122. raytatouille-0.10.0/examples/python/irradiance.py +59 -0
  123. raytatouille-0.10.0/examples/python/layout.py +60 -0
  124. raytatouille-0.10.0/examples/python/materials.py +51 -0
  125. raytatouille-0.10.0/examples/python/model_tree.py +66 -0
  126. raytatouille-0.10.0/examples/python/optimize_singlet.py +65 -0
  127. raytatouille-0.10.0/examples/python/polarization.py +64 -0
  128. raytatouille-0.10.0/examples/python/ray_paths.py +64 -0
  129. raytatouille-0.10.0/examples/python/reports.py +83 -0
  130. raytatouille-0.10.0/examples/python/results.py +62 -0
  131. raytatouille-0.10.0/examples/python/singlet.py +56 -0
  132. raytatouille-0.10.0/examples/python/tolerance.py +75 -0
  133. raytatouille-0.10.0/examples/python/wavefront.py +63 -0
  134. raytatouille-0.10.0/examples/rotational/axicon_planoconvex.rtt.json +62 -0
  135. raytatouille-0.10.0/examples/rotational/odd_asphere_singlet.rtt.json +68 -0
  136. raytatouille-0.10.0/libs/rtt-analysis/CMakeLists.txt +76 -0
  137. raytatouille-0.10.0/libs/rtt-analysis/include/rtt/analysis/chromatic.hpp +103 -0
  138. raytatouille-0.10.0/libs/rtt-analysis/include/rtt/analysis/field.hpp +135 -0
  139. raytatouille-0.10.0/libs/rtt-analysis/include/rtt/analysis/ghosts.hpp +113 -0
  140. raytatouille-0.10.0/libs/rtt-analysis/include/rtt/analysis/irradiance.hpp +146 -0
  141. raytatouille-0.10.0/libs/rtt-analysis/include/rtt/analysis/jones.hpp +237 -0
  142. raytatouille-0.10.0/libs/rtt-analysis/include/rtt/analysis/nominal_reference.hpp +62 -0
  143. raytatouille-0.10.0/libs/rtt-analysis/include/rtt/analysis/opd.hpp +218 -0
  144. raytatouille-0.10.0/libs/rtt-analysis/include/rtt/analysis/paths.hpp +291 -0
  145. raytatouille-0.10.0/libs/rtt-analysis/include/rtt/analysis/psf.hpp +382 -0
  146. raytatouille-0.10.0/libs/rtt-analysis/include/rtt/analysis/pupil.hpp +236 -0
  147. raytatouille-0.10.0/libs/rtt-analysis/include/rtt/analysis/reports.hpp +130 -0
  148. raytatouille-0.10.0/libs/rtt-analysis/include/rtt/analysis/spot.hpp +278 -0
  149. raytatouille-0.10.0/libs/rtt-analysis/include/rtt/analysis/stokes.hpp +69 -0
  150. raytatouille-0.10.0/libs/rtt-analysis/include/rtt/analysis/zernike.hpp +105 -0
  151. raytatouille-0.10.0/libs/rtt-analysis/src/chromatic.cpp +116 -0
  152. raytatouille-0.10.0/libs/rtt-analysis/src/common.hpp +331 -0
  153. raytatouille-0.10.0/libs/rtt-analysis/src/fft.cpp +60 -0
  154. raytatouille-0.10.0/libs/rtt-analysis/src/fft.hpp +36 -0
  155. raytatouille-0.10.0/libs/rtt-analysis/src/field.cpp +301 -0
  156. raytatouille-0.10.0/libs/rtt-analysis/src/ghosts.cpp +204 -0
  157. raytatouille-0.10.0/libs/rtt-analysis/src/irradiance.cpp +282 -0
  158. raytatouille-0.10.0/libs/rtt-analysis/src/jones.cpp +574 -0
  159. raytatouille-0.10.0/libs/rtt-analysis/src/nominal_reference.cpp +79 -0
  160. raytatouille-0.10.0/libs/rtt-analysis/src/opd.cpp +158 -0
  161. raytatouille-0.10.0/libs/rtt-analysis/src/paths.cpp +394 -0
  162. raytatouille-0.10.0/libs/rtt-analysis/src/psf.cpp +1065 -0
  163. raytatouille-0.10.0/libs/rtt-analysis/src/pupil.cpp +638 -0
  164. raytatouille-0.10.0/libs/rtt-analysis/src/reference.cpp +205 -0
  165. raytatouille-0.10.0/libs/rtt-analysis/src/reference.hpp +106 -0
  166. raytatouille-0.10.0/libs/rtt-analysis/src/reports.cpp +214 -0
  167. raytatouille-0.10.0/libs/rtt-analysis/src/spot.cpp +213 -0
  168. raytatouille-0.10.0/libs/rtt-analysis/src/stokes.cpp +71 -0
  169. raytatouille-0.10.0/libs/rtt-analysis/src/thickness.hpp +31 -0
  170. raytatouille-0.10.0/libs/rtt-analysis/src/zernike.cpp +307 -0
  171. raytatouille-0.10.0/libs/rtt-analysis/tests/test_annular.cpp +355 -0
  172. raytatouille-0.10.0/libs/rtt-analysis/tests/test_centre_thickness.cpp +43 -0
  173. raytatouille-0.10.0/libs/rtt-analysis/tests/test_chromatic.cpp +275 -0
  174. raytatouille-0.10.0/libs/rtt-analysis/tests/test_error_context.cpp +161 -0
  175. raytatouille-0.10.0/libs/rtt-analysis/tests/test_fans.cpp +145 -0
  176. raytatouille-0.10.0/libs/rtt-analysis/tests/test_fft.cpp +320 -0
  177. raytatouille-0.10.0/libs/rtt-analysis/tests/test_field.cpp +409 -0
  178. raytatouille-0.10.0/libs/rtt-analysis/tests/test_focus_shift.cpp +252 -0
  179. raytatouille-0.10.0/libs/rtt-analysis/tests/test_gauss_rejected.cpp +80 -0
  180. raytatouille-0.10.0/libs/rtt-analysis/tests/test_ghost_ranking.cpp +346 -0
  181. raytatouille-0.10.0/libs/rtt-analysis/tests/test_ideal_lens_analysis.cpp +83 -0
  182. raytatouille-0.10.0/libs/rtt-analysis/tests/test_interferogram.cpp +557 -0
  183. raytatouille-0.10.0/libs/rtt-analysis/tests/test_irradiance.cpp +453 -0
  184. raytatouille-0.10.0/libs/rtt-analysis/tests/test_jones_pupil.cpp +1258 -0
  185. raytatouille-0.10.0/libs/rtt-analysis/tests/test_loss_counter.cpp +83 -0
  186. raytatouille-0.10.0/libs/rtt-analysis/tests/test_losses.cpp +120 -0
  187. raytatouille-0.10.0/libs/rtt-analysis/tests/test_m2_acceptance.cpp +643 -0
  188. raytatouille-0.10.0/libs/rtt-analysis/tests/test_m3_acceptance.cpp +595 -0
  189. raytatouille-0.10.0/libs/rtt-analysis/tests/test_m4_acceptance.cpp +315 -0
  190. raytatouille-0.10.0/libs/rtt-analysis/tests/test_m6_acceptance.cpp +574 -0
  191. raytatouille-0.10.0/libs/rtt-analysis/tests/test_mapping_limit.cpp +235 -0
  192. raytatouille-0.10.0/libs/rtt-analysis/tests/test_mtf_ee.cpp +915 -0
  193. raytatouille-0.10.0/libs/rtt-analysis/tests/test_no_stop.cpp +82 -0
  194. raytatouille-0.10.0/libs/rtt-analysis/tests/test_nominal_reference.cpp +475 -0
  195. raytatouille-0.10.0/libs/rtt-analysis/tests/test_obscured.cpp +258 -0
  196. raytatouille-0.10.0/libs/rtt-analysis/tests/test_opd.cpp +587 -0
  197. raytatouille-0.10.0/libs/rtt-analysis/tests/test_opd_points.cpp +138 -0
  198. raytatouille-0.10.0/libs/rtt-analysis/tests/test_paths.cpp +400 -0
  199. raytatouille-0.10.0/libs/rtt-analysis/tests/test_point_list_pupil.cpp +86 -0
  200. raytatouille-0.10.0/libs/rtt-analysis/tests/test_psf.cpp +602 -0
  201. raytatouille-0.10.0/libs/rtt-analysis/tests/test_pupil_cells.cpp +238 -0
  202. raytatouille-0.10.0/libs/rtt-analysis/tests/test_pupil_function.cpp +558 -0
  203. raytatouille-0.10.0/libs/rtt-analysis/tests/test_relative_ghosts.cpp +88 -0
  204. raytatouille-0.10.0/libs/rtt-analysis/tests/test_reports.cpp +302 -0
  205. raytatouille-0.10.0/libs/rtt-analysis/tests/test_run_control.cpp +180 -0
  206. raytatouille-0.10.0/libs/rtt-analysis/tests/test_spot.cpp +272 -0
  207. raytatouille-0.10.0/libs/rtt-analysis/tests/test_stokes_pupil.cpp +347 -0
  208. raytatouille-0.10.0/libs/rtt-analysis/tests/test_surface_stop_ghosts.cpp +60 -0
  209. raytatouille-0.10.0/libs/rtt-analysis/tests/test_warnings.cpp +347 -0
  210. raytatouille-0.10.0/libs/rtt-analysis/tests/test_zernike.cpp +501 -0
  211. raytatouille-0.10.0/libs/rtt-coating/CMakeLists.txt +18 -0
  212. raytatouille-0.10.0/libs/rtt-coating/include/rtt/coating/catalog.hpp +139 -0
  213. raytatouille-0.10.0/libs/rtt-coating/include/rtt/coating/ideal.hpp +51 -0
  214. raytatouille-0.10.0/libs/rtt-coating/include/rtt/coating/tabulated.hpp +59 -0
  215. raytatouille-0.10.0/libs/rtt-coating/include/rtt/coating/thickness.hpp +49 -0
  216. raytatouille-0.10.0/libs/rtt-coating/include/rtt/coating/transfer_matrix.hpp +218 -0
  217. raytatouille-0.10.0/libs/rtt-coating/src/catalog.cpp +312 -0
  218. raytatouille-0.10.0/libs/rtt-coating/src/ideal.cpp +34 -0
  219. raytatouille-0.10.0/libs/rtt-coating/src/tabulated.cpp +91 -0
  220. raytatouille-0.10.0/libs/rtt-coating/src/thickness.cpp +34 -0
  221. raytatouille-0.10.0/libs/rtt-coating/src/transfer_matrix.cpp +58 -0
  222. raytatouille-0.10.0/libs/rtt-coating/tests/test_catalog.cpp +282 -0
  223. raytatouille-0.10.0/libs/rtt-coating/tests/test_coatings.cpp +168 -0
  224. raytatouille-0.10.0/libs/rtt-coating/tests/test_transfer_matrix.cpp +439 -0
  225. raytatouille-0.10.0/libs/rtt-compile/CMakeLists.txt +24 -0
  226. raytatouille-0.10.0/libs/rtt-compile/include/rtt/compile/compiled_element.hpp +33 -0
  227. raytatouille-0.10.0/libs/rtt-compile/include/rtt/compile/compiled_system.hpp +523 -0
  228. raytatouille-0.10.0/libs/rtt-compile/include/rtt/compile/errors.hpp +40 -0
  229. raytatouille-0.10.0/libs/rtt-compile/include/rtt/compile/ghosts.hpp +91 -0
  230. raytatouille-0.10.0/libs/rtt-compile/include/rtt/compile/layout.hpp +106 -0
  231. raytatouille-0.10.0/libs/rtt-compile/include/rtt/compile/perturbation.hpp +150 -0
  232. raytatouille-0.10.0/libs/rtt-compile/src/compile.cpp +1710 -0
  233. raytatouille-0.10.0/libs/rtt-compile/src/ghosts.cpp +169 -0
  234. raytatouille-0.10.0/libs/rtt-compile/src/layout.cpp +425 -0
  235. raytatouille-0.10.0/libs/rtt-compile/src/perturbation.cpp +65 -0
  236. raytatouille-0.10.0/libs/rtt-compile/tests/test_active.cpp +532 -0
  237. raytatouille-0.10.0/libs/rtt-compile/tests/test_anamorphic_compile.cpp +165 -0
  238. raytatouille-0.10.0/libs/rtt-compile/tests/test_bound_ranges.cpp +200 -0
  239. raytatouille-0.10.0/libs/rtt-compile/tests/test_coatings.cpp +392 -0
  240. raytatouille-0.10.0/libs/rtt-compile/tests/test_compile.cpp +1131 -0
  241. raytatouille-0.10.0/libs/rtt-compile/tests/test_configurations.cpp +375 -0
  242. raytatouille-0.10.0/libs/rtt-compile/tests/test_crystal.cpp +391 -0
  243. raytatouille-0.10.0/libs/rtt-compile/tests/test_diagnostic_codes.cpp +901 -0
  244. raytatouille-0.10.0/libs/rtt-compile/tests/test_errors.cpp +105 -0
  245. raytatouille-0.10.0/libs/rtt-compile/tests/test_forbes_compile.cpp +122 -0
  246. raytatouille-0.10.0/libs/rtt-compile/tests/test_ghosts.cpp +288 -0
  247. raytatouille-0.10.0/libs/rtt-compile/tests/test_ideal_lens.cpp +231 -0
  248. raytatouille-0.10.0/libs/rtt-compile/tests/test_layout.cpp +683 -0
  249. raytatouille-0.10.0/libs/rtt-compile/tests/test_media.cpp +230 -0
  250. raytatouille-0.10.0/libs/rtt-compile/tests/test_migration.cpp +122 -0
  251. raytatouille-0.10.0/libs/rtt-compile/tests/test_node_frames.cpp +201 -0
  252. raytatouille-0.10.0/libs/rtt-compile/tests/test_object_at_infinity.cpp +227 -0
  253. raytatouille-0.10.0/libs/rtt-compile/tests/test_object_medium.cpp +140 -0
  254. raytatouille-0.10.0/libs/rtt-compile/tests/test_object_z.cpp +167 -0
  255. raytatouille-0.10.0/libs/rtt-compile/tests/test_perturbation.cpp +1129 -0
  256. raytatouille-0.10.0/libs/rtt-compile/tests/test_relative_placement.cpp +419 -0
  257. raytatouille-0.10.0/libs/rtt-compile/tests/test_rotational_compile.cpp +132 -0
  258. raytatouille-0.10.0/libs/rtt-compile/tests/test_stop.cpp +130 -0
  259. raytatouille-0.10.0/libs/rtt-compile/tests/test_surface_stop.cpp +110 -0
  260. raytatouille-0.10.0/libs/rtt-diagnostics/CMakeLists.txt +10 -0
  261. raytatouille-0.10.0/libs/rtt-diagnostics/include/rtt/diagnostics/codes.hpp +514 -0
  262. raytatouille-0.10.0/libs/rtt-diagnostics/tests/test_codes.cpp +72 -0
  263. raytatouille-0.10.0/libs/rtt-geom/CMakeLists.txt +15 -0
  264. raytatouille-0.10.0/libs/rtt-geom/include/rtt/geom/anamorphic.hpp +359 -0
  265. raytatouille-0.10.0/libs/rtt-geom/include/rtt/geom/asphere.hpp +85 -0
  266. raytatouille-0.10.0/libs/rtt-geom/include/rtt/geom/axicon.hpp +70 -0
  267. raytatouille-0.10.0/libs/rtt-geom/include/rtt/geom/conic.hpp +111 -0
  268. raytatouille-0.10.0/libs/rtt-geom/include/rtt/geom/forbes.hpp +402 -0
  269. raytatouille-0.10.0/libs/rtt-geom/include/rtt/geom/intersect.hpp +370 -0
  270. raytatouille-0.10.0/libs/rtt-geom/include/rtt/geom/odd_asphere.hpp +134 -0
  271. raytatouille-0.10.0/libs/rtt-geom/include/rtt/geom/phase.hpp +223 -0
  272. raytatouille-0.10.0/libs/rtt-geom/include/rtt/geom/plane.hpp +40 -0
  273. raytatouille-0.10.0/libs/rtt-geom/include/rtt/geom/shape.hpp +131 -0
  274. raytatouille-0.10.0/libs/rtt-geom/src/instantiate.cpp +114 -0
  275. raytatouille-0.10.0/libs/rtt-geom/tests/forbes_tables.inc +92 -0
  276. raytatouille-0.10.0/libs/rtt-geom/tests/forbes_tables.py +171 -0
  277. raytatouille-0.10.0/libs/rtt-geom/tests/test_anamorphic.cpp +419 -0
  278. raytatouille-0.10.0/libs/rtt-geom/tests/test_asphere.cpp +100 -0
  279. raytatouille-0.10.0/libs/rtt-geom/tests/test_axicon.cpp +326 -0
  280. raytatouille-0.10.0/libs/rtt-geom/tests/test_conic.cpp +121 -0
  281. raytatouille-0.10.0/libs/rtt-geom/tests/test_forbes.cpp +411 -0
  282. raytatouille-0.10.0/libs/rtt-geom/tests/test_intersect.cpp +274 -0
  283. raytatouille-0.10.0/libs/rtt-geom/tests/test_newton.cpp +281 -0
  284. raytatouille-0.10.0/libs/rtt-geom/tests/test_odd_asphere.cpp +278 -0
  285. raytatouille-0.10.0/libs/rtt-geom/tests/test_phase.cpp +248 -0
  286. raytatouille-0.10.0/libs/rtt-geom/tests/test_shape_concept.cpp +125 -0
  287. raytatouille-0.10.0/libs/rtt-geom/tests/test_vertex_expansion.cpp +137 -0
  288. raytatouille-0.10.0/libs/rtt-io/CMakeLists.txt +46 -0
  289. raytatouille-0.10.0/libs/rtt-io/include/rtt/io/edit.hpp +105 -0
  290. raytatouille-0.10.0/libs/rtt-io/include/rtt/io/json_io.hpp +66 -0
  291. raytatouille-0.10.0/libs/rtt-io/include/rtt/io/surface_table.hpp +93 -0
  292. raytatouille-0.10.0/libs/rtt-io/include/rtt/io/zmx.hpp +141 -0
  293. raytatouille-0.10.0/libs/rtt-io/src/edit.cpp +172 -0
  294. raytatouille-0.10.0/libs/rtt-io/src/export_path.cpp +602 -0
  295. raytatouille-0.10.0/libs/rtt-io/src/export_path.hpp +105 -0
  296. raytatouille-0.10.0/libs/rtt-io/src/frames.hpp +31 -0
  297. raytatouille-0.10.0/libs/rtt-io/src/json_format.cpp +109 -0
  298. raytatouille-0.10.0/libs/rtt-io/src/json_format.hpp +11 -0
  299. raytatouille-0.10.0/libs/rtt-io/src/json_io.cpp +2235 -0
  300. raytatouille-0.10.0/libs/rtt-io/src/json_patch.cpp +306 -0
  301. raytatouille-0.10.0/libs/rtt-io/src/json_patch.hpp +73 -0
  302. raytatouille-0.10.0/libs/rtt-io/src/json_tree.hpp +32 -0
  303. raytatouille-0.10.0/libs/rtt-io/src/numbers.hpp +40 -0
  304. raytatouille-0.10.0/libs/rtt-io/src/surface_table.cpp +677 -0
  305. raytatouille-0.10.0/libs/rtt-io/src/zmx.cpp +1368 -0
  306. raytatouille-0.10.0/libs/rtt-io/src/zmx_export.cpp +453 -0
  307. raytatouille-0.10.0/libs/rtt-io/src/zmx_names.hpp +34 -0
  308. raytatouille-0.10.0/libs/rtt-io/tests/test_aperture_reading.cpp +87 -0
  309. raytatouille-0.10.0/libs/rtt-io/tests/test_aperture_stop.cpp +99 -0
  310. raytatouille-0.10.0/libs/rtt-io/tests/test_edit.cpp +605 -0
  311. raytatouille-0.10.0/libs/rtt-io/tests/test_export_inactive.cpp +210 -0
  312. raytatouille-0.10.0/libs/rtt-io/tests/test_for_each_param.cpp +119 -0
  313. raytatouille-0.10.0/libs/rtt-io/tests/test_format_0_10.cpp +160 -0
  314. raytatouille-0.10.0/libs/rtt-io/tests/test_format_0_3.cpp +218 -0
  315. raytatouille-0.10.0/libs/rtt-io/tests/test_format_0_4.cpp +310 -0
  316. raytatouille-0.10.0/libs/rtt-io/tests/test_format_0_5.cpp +176 -0
  317. raytatouille-0.10.0/libs/rtt-io/tests/test_format_0_7.cpp +96 -0
  318. raytatouille-0.10.0/libs/rtt-io/tests/test_format_0_8.cpp +114 -0
  319. raytatouille-0.10.0/libs/rtt-io/tests/test_format_0_9.cpp +308 -0
  320. raytatouille-0.10.0/libs/rtt-io/tests/test_format_forbes.cpp +212 -0
  321. raytatouille-0.10.0/libs/rtt-io/tests/test_format_optimization.cpp +205 -0
  322. raytatouille-0.10.0/libs/rtt-io/tests/test_format_rotational.cpp +254 -0
  323. raytatouille-0.10.0/libs/rtt-io/tests/test_format_tolerances.cpp +407 -0
  324. raytatouille-0.10.0/libs/rtt-io/tests/test_json_patch.cpp +245 -0
  325. raytatouille-0.10.0/libs/rtt-io/tests/test_parse_errors.cpp +122 -0
  326. raytatouille-0.10.0/libs/rtt-io/tests/test_patch_fuzz.cpp +140 -0
  327. raytatouille-0.10.0/libs/rtt-io/tests/test_roundtrip.cpp +92 -0
  328. raytatouille-0.10.0/libs/rtt-io/tests/test_segment_materials.cpp +140 -0
  329. raytatouille-0.10.0/libs/rtt-io/tests/test_surface_table.cpp +574 -0
  330. raytatouille-0.10.0/libs/rtt-io/tests/test_zmx.cpp +999 -0
  331. raytatouille-0.10.0/libs/rtt-io/tests/test_zmx_export.cpp +933 -0
  332. raytatouille-0.10.0/libs/rtt-io/tests/test_zmx_export_folded.cpp +624 -0
  333. raytatouille-0.10.0/libs/rtt-io/tests/test_zmx_export_surfaces.cpp +346 -0
  334. raytatouille-0.10.0/libs/rtt-io/tests/test_zmx_surfaces.cpp +591 -0
  335. raytatouille-0.10.0/libs/rtt-io/tests/zmx/apertures.rtt.json +208 -0
  336. raytatouille-0.10.0/libs/rtt-io/tests/zmx/apertures.zmx +122 -0
  337. raytatouille-0.10.0/libs/rtt-io/tests/zmx/asphere.rtt.json +180 -0
  338. raytatouille-0.10.0/libs/rtt-io/tests/zmx/asphere.zmx +119 -0
  339. raytatouille-0.10.0/libs/rtt-io/tests/zmx/asphere_cm.rtt.json +180 -0
  340. raytatouille-0.10.0/libs/rtt-io/tests/zmx/asphere_cm.zmx +119 -0
  341. raytatouille-0.10.0/libs/rtt-io/tests/zmx/asphere_in.rtt.json +180 -0
  342. raytatouille-0.10.0/libs/rtt-io/tests/zmx/asphere_in.zmx +119 -0
  343. raytatouille-0.10.0/libs/rtt-io/tests/zmx/biconic.rtt.json +192 -0
  344. raytatouille-0.10.0/libs/rtt-io/tests/zmx/biconic.zmx +126 -0
  345. raytatouille-0.10.0/libs/rtt-io/tests/zmx/biconic_in.rtt.json +192 -0
  346. raytatouille-0.10.0/libs/rtt-io/tests/zmx/biconic_in.zmx +126 -0
  347. raytatouille-0.10.0/libs/rtt-io/tests/zmx/doublet.rtt.json +201 -0
  348. raytatouille-0.10.0/libs/rtt-io/tests/zmx/doublet.zmx +130 -0
  349. raytatouille-0.10.0/libs/rtt-io/tests/zmx/export_double_pass.rtt.json +119 -0
  350. raytatouille-0.10.0/libs/rtt-io/tests/zmx/export_fold.rtt.json +212 -0
  351. raytatouille-0.10.0/libs/rtt-io/tests/zmx/export_fold.zmx +82 -0
  352. raytatouille-0.10.0/libs/rtt-io/tests/zmx/export_singlet.csv +6 -0
  353. raytatouille-0.10.0/libs/rtt-io/tests/zmx/export_singlet.rtt.json +172 -0
  354. raytatouille-0.10.0/libs/rtt-io/tests/zmx/export_singlet.zmx +57 -0
  355. raytatouille-0.10.0/libs/rtt-io/tests/zmx/finite.rtt.json +155 -0
  356. raytatouille-0.10.0/libs/rtt-io/tests/zmx/finite.zmx +100 -0
  357. raytatouille-0.10.0/libs/rtt-io/tests/zmx/first_order.json +278 -0
  358. raytatouille-0.10.0/libs/rtt-io/tests/zmx/fold.zmx +123 -0
  359. raytatouille-0.10.0/libs/rtt-io/tests/zmx/frames.json +770 -0
  360. raytatouille-0.10.0/libs/rtt-io/tests/zmx/gimbal.zmx +121 -0
  361. raytatouille-0.10.0/libs/rtt-io/tests/zmx/gimbal_x.zmx +136 -0
  362. raytatouille-0.10.0/libs/rtt-io/tests/zmx/immersion.rtt.json +131 -0
  363. raytatouille-0.10.0/libs/rtt-io/tests/zmx/immersion.zmx +92 -0
  364. raytatouille-0.10.0/libs/rtt-io/tests/zmx/make_export_cases.py +247 -0
  365. raytatouille-0.10.0/libs/rtt-io/tests/zmx/make_zmx_cases.py +1109 -0
  366. raytatouille-0.10.0/libs/rtt-io/tests/zmx/mirror.rtt.json +106 -0
  367. raytatouille-0.10.0/libs/rtt-io/tests/zmx/mirror.zmx +84 -0
  368. raytatouille-0.10.0/libs/rtt-io/tests/zmx/oap.zmx +152 -0
  369. raytatouille-0.10.0/libs/rtt-io/tests/zmx/oddasph.rtt.json +168 -0
  370. raytatouille-0.10.0/libs/rtt-io/tests/zmx/oddasph.zmx +110 -0
  371. raytatouille-0.10.0/libs/rtt-io/tests/zmx/oddasph_cone.rtt.json +163 -0
  372. raytatouille-0.10.0/libs/rtt-io/tests/zmx/oddasph_cone.zmx +105 -0
  373. raytatouille-0.10.0/libs/rtt-io/tests/zmx/oddasph_in.rtt.json +168 -0
  374. raytatouille-0.10.0/libs/rtt-io/tests/zmx/oddasph_in.zmx +110 -0
  375. raytatouille-0.10.0/libs/rtt-io/tests/zmx/paraxial.rtt.json +110 -0
  376. raytatouille-0.10.0/libs/rtt-io/tests/zmx/paraxial.zmx +83 -0
  377. raytatouille-0.10.0/libs/rtt-io/tests/zmx/pivot.zmx +134 -0
  378. raytatouille-0.10.0/libs/rtt-io/tests/zmx/qbfs.rtt.json +155 -0
  379. raytatouille-0.10.0/libs/rtt-io/tests/zmx/qbfs.zmx +106 -0
  380. raytatouille-0.10.0/libs/rtt-io/tests/zmx/qcon.rtt.json +156 -0
  381. raytatouille-0.10.0/libs/rtt-io/tests/zmx/qcon.zmx +108 -0
  382. raytatouille-0.10.0/libs/rtt-io/tests/zmx/qcon_in.rtt.json +156 -0
  383. raytatouille-0.10.0/libs/rtt-io/tests/zmx/qcon_in.zmx +108 -0
  384. raytatouille-0.10.0/libs/rtt-io/tests/zmx/random_breaks.zmx +136 -0
  385. raytatouille-0.10.0/libs/rtt-io/tests/zmx/sasian.rtt.json +221 -0
  386. raytatouille-0.10.0/libs/rtt-io/tests/zmx/sasian.zmx +130 -0
  387. raytatouille-0.10.0/libs/rtt-io/tests/zmx/singlet.rtt.json +162 -0
  388. raytatouille-0.10.0/libs/rtt-io/tests/zmx/singlet.zmx +108 -0
  389. raytatouille-0.10.0/libs/rtt-io/tests/zmx/singlet_in.rtt.json +162 -0
  390. raytatouille-0.10.0/libs/rtt-io/tests/zmx/singlet_in.zmx +108 -0
  391. raytatouille-0.10.0/libs/rtt-io/tests/zmx/singlet_m.rtt.json +162 -0
  392. raytatouille-0.10.0/libs/rtt-io/tests/zmx/singlet_m.zmx +108 -0
  393. raytatouille-0.10.0/libs/rtt-io/tests/zmx/tilt_image.zmx +104 -0
  394. raytatouille-0.10.0/libs/rtt-io/tests/zmx/tilt_plate.zmx +102 -0
  395. raytatouille-0.10.0/libs/rtt-io/tests/zmx/tilt_prism.zmx +117 -0
  396. raytatouille-0.10.0/libs/rtt-io/tests/zmx/toroid.rtt.json +197 -0
  397. raytatouille-0.10.0/libs/rtt-io/tests/zmx/toroid.zmx +128 -0
  398. raytatouille-0.10.0/libs/rtt-io/tests/zmx/toroid_in.rtt.json +197 -0
  399. raytatouille-0.10.0/libs/rtt-io/tests/zmx/toroid_in.zmx +128 -0
  400. raytatouille-0.10.0/libs/rtt-io/tests/zmx/xbiconic.zmx +103 -0
  401. raytatouille-0.10.0/libs/rtt-io/tests/zmx/xcylinder.zmx +102 -0
  402. raytatouille-0.10.0/libs/rtt-json/CMakeLists.txt +11 -0
  403. raytatouille-0.10.0/libs/rtt-json/include/rtt/json/strict.hpp +124 -0
  404. raytatouille-0.10.0/libs/rtt-json/tests/test_strict.cpp +87 -0
  405. raytatouille-0.10.0/libs/rtt-material/CMakeLists.txt +19 -0
  406. raytatouille-0.10.0/libs/rtt-material/include/rtt/material/agf.hpp +252 -0
  407. raytatouille-0.10.0/libs/rtt-material/include/rtt/material/air.hpp +86 -0
  408. raytatouille-0.10.0/libs/rtt-material/include/rtt/material/dispersion.hpp +298 -0
  409. raytatouille-0.10.0/libs/rtt-material/include/rtt/material/load_warning.hpp +23 -0
  410. raytatouille-0.10.0/libs/rtt-material/include/rtt/material/material.hpp +197 -0
  411. raytatouille-0.10.0/libs/rtt-material/include/rtt/material/tabulated.hpp +45 -0
  412. raytatouille-0.10.0/libs/rtt-material/include/rtt/material/thermal.hpp +52 -0
  413. raytatouille-0.10.0/libs/rtt-material/include/rtt/material/uniaxial.hpp +70 -0
  414. raytatouille-0.10.0/libs/rtt-material/src/agf.cpp +686 -0
  415. raytatouille-0.10.0/libs/rtt-material/src/dispersion.cpp +24 -0
  416. raytatouille-0.10.0/libs/rtt-material/src/material.cpp +308 -0
  417. raytatouille-0.10.0/libs/rtt-material/src/path_text.hpp +21 -0
  418. raytatouille-0.10.0/libs/rtt-material/src/tabulated.cpp +54 -0
  419. raytatouille-0.10.0/libs/rtt-material/src/uniaxial.cpp +55 -0
  420. raytatouille-0.10.0/libs/rtt-material/tests/test_agf.cpp +791 -0
  421. raytatouille-0.10.0/libs/rtt-material/tests/test_air.cpp +79 -0
  422. raytatouille-0.10.0/libs/rtt-material/tests/test_dispersion.cpp +186 -0
  423. raytatouille-0.10.0/libs/rtt-material/tests/test_library.cpp +392 -0
  424. raytatouille-0.10.0/libs/rtt-material/tests/test_load_warnings.cpp +314 -0
  425. raytatouille-0.10.0/libs/rtt-material/tests/test_material.cpp +260 -0
  426. raytatouille-0.10.0/libs/rtt-material/tests/test_tabulated.cpp +79 -0
  427. raytatouille-0.10.0/libs/rtt-material/tests/test_uniaxial.cpp +166 -0
  428. raytatouille-0.10.0/libs/rtt-math/CMakeLists.txt +13 -0
  429. raytatouille-0.10.0/libs/rtt-math/include/rtt/math/bessel.hpp +51 -0
  430. raytatouille-0.10.0/libs/rtt-math/include/rtt/math/complex.hpp +55 -0
  431. raytatouille-0.10.0/libs/rtt-math/include/rtt/math/isometry.hpp +63 -0
  432. raytatouille-0.10.0/libs/rtt-math/include/rtt/math/real.hpp +27 -0
  433. raytatouille-0.10.0/libs/rtt-math/include/rtt/math/types.hpp +24 -0
  434. raytatouille-0.10.0/libs/rtt-math/include/rtt/math/units.hpp +38 -0
  435. raytatouille-0.10.0/libs/rtt-math/src/isometry.cpp +71 -0
  436. raytatouille-0.10.0/libs/rtt-math/tests/test_bessel.cpp +40 -0
  437. raytatouille-0.10.0/libs/rtt-math/tests/test_complex.cpp +85 -0
  438. raytatouille-0.10.0/libs/rtt-math/tests/test_fp_contract.cpp +26 -0
  439. raytatouille-0.10.0/libs/rtt-math/tests/test_isometry.cpp +68 -0
  440. raytatouille-0.10.0/libs/rtt-math/tests/test_units.cpp +26 -0
  441. raytatouille-0.10.0/libs/rtt-model/CMakeLists.txt +33 -0
  442. raytatouille-0.10.0/libs/rtt-model/include/rtt/model/element.hpp +98 -0
  443. raytatouille-0.10.0/libs/rtt-model/include/rtt/model/ids.hpp +35 -0
  444. raytatouille-0.10.0/libs/rtt-model/include/rtt/model/model.hpp +16 -0
  445. raytatouille-0.10.0/libs/rtt-model/include/rtt/model/optimization.hpp +151 -0
  446. raytatouille-0.10.0/libs/rtt-model/include/rtt/model/param.hpp +53 -0
  447. raytatouille-0.10.0/libs/rtt-model/include/rtt/model/parameters.hpp +98 -0
  448. raytatouille-0.10.0/libs/rtt-model/include/rtt/model/path.hpp +40 -0
  449. raytatouille-0.10.0/libs/rtt-model/include/rtt/model/pose.hpp +57 -0
  450. raytatouille-0.10.0/libs/rtt-model/include/rtt/model/surface.hpp +288 -0
  451. raytatouille-0.10.0/libs/rtt-model/include/rtt/model/system.hpp +168 -0
  452. raytatouille-0.10.0/libs/rtt-model/include/rtt/model/tolerance.hpp +176 -0
  453. raytatouille-0.10.0/libs/rtt-model/include/rtt/model/tolerance_classes.hpp +103 -0
  454. raytatouille-0.10.0/libs/rtt-model/include/rtt/model/validate.hpp +39 -0
  455. raytatouille-0.10.0/libs/rtt-model/src/element.cpp +23 -0
  456. raytatouille-0.10.0/libs/rtt-model/src/expression.cpp +324 -0
  457. raytatouille-0.10.0/libs/rtt-model/src/expression.hpp +86 -0
  458. raytatouille-0.10.0/libs/rtt-model/src/expression_eval.cpp +56 -0
  459. raytatouille-0.10.0/libs/rtt-model/src/parameters.cpp +362 -0
  460. raytatouille-0.10.0/libs/rtt-model/src/pose.cpp +34 -0
  461. raytatouille-0.10.0/libs/rtt-model/src/tolerance.cpp +320 -0
  462. raytatouille-0.10.0/libs/rtt-model/src/tolerance_targets.cpp +170 -0
  463. raytatouille-0.10.0/libs/rtt-model/src/tolerance_targets.hpp +108 -0
  464. raytatouille-0.10.0/libs/rtt-model/src/validate.cpp +1686 -0
  465. raytatouille-0.10.0/libs/rtt-model/tests/relative_placement.hpp +221 -0
  466. raytatouille-0.10.0/libs/rtt-model/tests/test_anamorphic_model.cpp +178 -0
  467. raytatouille-0.10.0/libs/rtt-model/tests/test_expression.cpp +265 -0
  468. raytatouille-0.10.0/libs/rtt-model/tests/test_forbes_model.cpp +258 -0
  469. raytatouille-0.10.0/libs/rtt-model/tests/test_parameters.cpp +272 -0
  470. raytatouille-0.10.0/libs/rtt-model/tests/test_pose.cpp +98 -0
  471. raytatouille-0.10.0/libs/rtt-model/tests/test_rotational_model.cpp +257 -0
  472. raytatouille-0.10.0/libs/rtt-model/tests/test_segment_materials.cpp +139 -0
  473. raytatouille-0.10.0/libs/rtt-model/tests/test_support.hpp +56 -0
  474. raytatouille-0.10.0/libs/rtt-model/tests/test_tolerance_classes.cpp +360 -0
  475. raytatouille-0.10.0/libs/rtt-model/tests/test_validate.cpp +211 -0
  476. raytatouille-0.10.0/libs/rtt-model/tests/test_validate_0_4.cpp +258 -0
  477. raytatouille-0.10.0/libs/rtt-model/tests/test_validate_aperture_reading.cpp +37 -0
  478. raytatouille-0.10.0/libs/rtt-model/tests/test_validate_aperture_stop.cpp +123 -0
  479. raytatouille-0.10.0/libs/rtt-model/tests/test_validate_ideal_lens.cpp +124 -0
  480. raytatouille-0.10.0/libs/rtt-model/tests/test_validate_object_medium.cpp +77 -0
  481. raytatouille-0.10.0/libs/rtt-model/tests/test_validate_object_reference.cpp +61 -0
  482. raytatouille-0.10.0/libs/rtt-model/tests/test_validate_optimization.cpp +232 -0
  483. raytatouille-0.10.0/libs/rtt-model/tests/test_validate_tolerances.cpp +581 -0
  484. raytatouille-0.10.0/libs/rtt-model/tests/tolerance_fixture.hpp +84 -0
  485. raytatouille-0.10.0/libs/rtt-optim/CMakeLists.txt +29 -0
  486. raytatouille-0.10.0/libs/rtt-optim/include/rtt/optim/bounds.hpp +44 -0
  487. raytatouille-0.10.0/libs/rtt-optim/include/rtt/optim/generators.hpp +85 -0
  488. raytatouille-0.10.0/libs/rtt-optim/include/rtt/optim/levenberg_marquardt.hpp +135 -0
  489. raytatouille-0.10.0/libs/rtt-optim/include/rtt/optim/merit.hpp +179 -0
  490. raytatouille-0.10.0/libs/rtt-optim/include/rtt/optim/optimize.hpp +204 -0
  491. raytatouille-0.10.0/libs/rtt-optim/include/rtt/optim/overlay.hpp +71 -0
  492. raytatouille-0.10.0/libs/rtt-optim/include/rtt/optim/variables.hpp +58 -0
  493. raytatouille-0.10.0/libs/rtt-optim/src/bounds.cpp +64 -0
  494. raytatouille-0.10.0/libs/rtt-optim/src/generators.cpp +354 -0
  495. raytatouille-0.10.0/libs/rtt-optim/src/generators_detail.hpp +25 -0
  496. raytatouille-0.10.0/libs/rtt-optim/src/levenberg_marquardt.cpp +556 -0
  497. raytatouille-0.10.0/libs/rtt-optim/src/merit.cpp +687 -0
  498. raytatouille-0.10.0/libs/rtt-optim/src/optimize.cpp +319 -0
  499. raytatouille-0.10.0/libs/rtt-optim/src/overlay_basis.cpp +130 -0
  500. raytatouille-0.10.0/libs/rtt-optim/src/overlay_basis.hpp +81 -0
  501. raytatouille-0.10.0/libs/rtt-optim/src/parabasal.cpp +304 -0
  502. raytatouille-0.10.0/libs/rtt-optim/src/parabasal.hpp +44 -0
  503. raytatouille-0.10.0/libs/rtt-optim/src/variables.cpp +99 -0
  504. raytatouille-0.10.0/libs/rtt-optim/tests/test_active_merit.cpp +235 -0
  505. raytatouille-0.10.0/libs/rtt-optim/tests/test_anamorphic_merit.cpp +220 -0
  506. raytatouille-0.10.0/libs/rtt-optim/tests/test_bounds.cpp +123 -0
  507. raytatouille-0.10.0/libs/rtt-optim/tests/test_generators.cpp +679 -0
  508. raytatouille-0.10.0/libs/rtt-optim/tests/test_ideal_lens_optim.cpp +83 -0
  509. raytatouille-0.10.0/libs/rtt-optim/tests/test_iteration_callback.cpp +221 -0
  510. raytatouille-0.10.0/libs/rtt-optim/tests/test_levenberg_marquardt.cpp +719 -0
  511. raytatouille-0.10.0/libs/rtt-optim/tests/test_m5_acceptance.cpp +785 -0
  512. raytatouille-0.10.0/libs/rtt-optim/tests/test_merit_noise.cpp +305 -0
  513. raytatouille-0.10.0/libs/rtt-optim/tests/test_optimize.cpp +968 -0
  514. raytatouille-0.10.0/libs/rtt-optim/tests/test_parabasal.cpp +537 -0
  515. raytatouille-0.10.0/libs/rtt-optim/tests/test_parabasal_real_na.cpp +187 -0
  516. raytatouille-0.10.0/libs/rtt-optim/tests/test_trial_overlay.cpp +308 -0
  517. raytatouille-0.10.0/libs/rtt-optim/tests/test_variables.cpp +112 -0
  518. raytatouille-0.10.0/libs/rtt-paraxial/CMakeLists.txt +23 -0
  519. raytatouille-0.10.0/libs/rtt-paraxial/include/rtt/paraxial/paraxial.hpp +230 -0
  520. raytatouille-0.10.0/libs/rtt-paraxial/include/rtt/paraxial/prescription.hpp +125 -0
  521. raytatouille-0.10.0/libs/rtt-paraxial/include/rtt/paraxial/seidel.hpp +161 -0
  522. raytatouille-0.10.0/libs/rtt-paraxial/src/paraxial.cpp +561 -0
  523. raytatouille-0.10.0/libs/rtt-paraxial/src/paraxial_rays.cpp +183 -0
  524. raytatouille-0.10.0/libs/rtt-paraxial/src/paraxial_rays.hpp +68 -0
  525. raytatouille-0.10.0/libs/rtt-paraxial/src/prescription.cpp +129 -0
  526. raytatouille-0.10.0/libs/rtt-paraxial/src/seidel.cpp +190 -0
  527. raytatouille-0.10.0/libs/rtt-paraxial/src/vertex_rule.cpp +127 -0
  528. raytatouille-0.10.0/libs/rtt-paraxial/src/vertex_rule.hpp +121 -0
  529. raytatouille-0.10.0/libs/rtt-paraxial/tests/test_anamorphic_paraxial.cpp +243 -0
  530. raytatouille-0.10.0/libs/rtt-paraxial/tests/test_errors.cpp +95 -0
  531. raytatouille-0.10.0/libs/rtt-paraxial/tests/test_forbes_paraxial.cpp +179 -0
  532. raytatouille-0.10.0/libs/rtt-paraxial/tests/test_ideal_lens_interim.cpp +30 -0
  533. raytatouille-0.10.0/libs/rtt-paraxial/tests/test_ideal_lens_paraxial.cpp +186 -0
  534. raytatouille-0.10.0/libs/rtt-paraxial/tests/test_paraxial.cpp +1026 -0
  535. raytatouille-0.10.0/libs/rtt-paraxial/tests/test_paraxial_section.cpp +671 -0
  536. raytatouille-0.10.0/libs/rtt-paraxial/tests/test_prescription.cpp +595 -0
  537. raytatouille-0.10.0/libs/rtt-paraxial/tests/test_rotational_paraxial.cpp +233 -0
  538. raytatouille-0.10.0/libs/rtt-paraxial/tests/test_seidel.cpp +664 -0
  539. raytatouille-0.10.0/libs/rtt-paraxial/tests/test_surface_stop.cpp +267 -0
  540. raytatouille-0.10.0/libs/rtt-paraxial/tests/test_vertex_rule.cpp +169 -0
  541. raytatouille-0.10.0/libs/rtt-polar/CMakeLists.txt +13 -0
  542. raytatouille-0.10.0/libs/rtt-polar/include/rtt/polar/birefringence.hpp +199 -0
  543. raytatouille-0.10.0/libs/rtt-polar/include/rtt/polar/fresnel.hpp +188 -0
  544. raytatouille-0.10.0/libs/rtt-polar/include/rtt/polar/ideal.hpp +186 -0
  545. raytatouille-0.10.0/libs/rtt-polar/include/rtt/polar/interface.hpp +112 -0
  546. raytatouille-0.10.0/libs/rtt-polar/include/rtt/polar/prt.hpp +147 -0
  547. raytatouille-0.10.0/libs/rtt-polar/include/rtt/polar/prt_analysis.hpp +70 -0
  548. raytatouille-0.10.0/libs/rtt-polar/src/fresnel.cpp +58 -0
  549. raytatouille-0.10.0/libs/rtt-polar/src/ideal.cpp +57 -0
  550. raytatouille-0.10.0/libs/rtt-polar/src/prt_analysis.cpp +70 -0
  551. raytatouille-0.10.0/libs/rtt-polar/tests/test_birefringence.cpp +379 -0
  552. raytatouille-0.10.0/libs/rtt-polar/tests/test_fresnel.cpp +222 -0
  553. raytatouille-0.10.0/libs/rtt-polar/tests/test_ideal.cpp +275 -0
  554. raytatouille-0.10.0/libs/rtt-polar/tests/test_interface.cpp +157 -0
  555. raytatouille-0.10.0/libs/rtt-polar/tests/test_prt.cpp +396 -0
  556. raytatouille-0.10.0/libs/rtt-py/CMakeLists.txt +241 -0
  557. raytatouille-0.10.0/libs/rtt-py/python/raytatouille/__init__.py +137 -0
  558. raytatouille-0.10.0/libs/rtt-py/python/raytatouille/_util.py +30 -0
  559. raytatouille-0.10.0/libs/rtt-py/python/raytatouille/analysis.py +1363 -0
  560. raytatouille-0.10.0/libs/rtt-py/python/raytatouille/diagnostics.py +41 -0
  561. raytatouille-0.10.0/libs/rtt-py/python/raytatouille/edit.py +252 -0
  562. raytatouille-0.10.0/libs/rtt-py/python/raytatouille/errors.py +223 -0
  563. raytatouille-0.10.0/libs/rtt-py/python/raytatouille/layout.py +264 -0
  564. raytatouille-0.10.0/libs/rtt-py/python/raytatouille/materials.py +258 -0
  565. raytatouille-0.10.0/libs/rtt-py/python/raytatouille/model.py +169 -0
  566. raytatouille-0.10.0/libs/rtt-py/python/raytatouille/optim.py +165 -0
  567. raytatouille-0.10.0/libs/rtt-py/python/raytatouille/paraxial.py +142 -0
  568. raytatouille-0.10.0/libs/rtt-py/python/raytatouille/plot.py +207 -0
  569. raytatouille-0.10.0/libs/rtt-py/python/raytatouille/polar.py +268 -0
  570. raytatouille-0.10.0/libs/rtt-py/python/raytatouille/py.typed +0 -0
  571. raytatouille-0.10.0/libs/rtt-py/python/raytatouille/reports.py +141 -0
  572. raytatouille-0.10.0/libs/rtt-py/python/raytatouille/results.py +589 -0
  573. raytatouille-0.10.0/libs/rtt-py/python/raytatouille/schemas.py +37 -0
  574. raytatouille-0.10.0/libs/rtt-py/python/raytatouille/tolerance.py +265 -0
  575. raytatouille-0.10.0/libs/rtt-py/python/raytatouille/trace.py +180 -0
  576. raytatouille-0.10.0/libs/rtt-py/src/bind_analysis.cpp +705 -0
  577. raytatouille-0.10.0/libs/rtt-py/src/bind_compile.cpp +307 -0
  578. raytatouille-0.10.0/libs/rtt-py/src/bind_edit.cpp +162 -0
  579. raytatouille-0.10.0/libs/rtt-py/src/bind_irradiance.cpp +154 -0
  580. raytatouille-0.10.0/libs/rtt-py/src/bind_jones.cpp +276 -0
  581. raytatouille-0.10.0/libs/rtt-py/src/bind_layout.cpp +318 -0
  582. raytatouille-0.10.0/libs/rtt-py/src/bind_material.cpp +233 -0
  583. raytatouille-0.10.0/libs/rtt-py/src/bind_model.cpp +280 -0
  584. raytatouille-0.10.0/libs/rtt-py/src/bind_model_tree.cpp +907 -0
  585. raytatouille-0.10.0/libs/rtt-py/src/bind_optim.cpp +351 -0
  586. raytatouille-0.10.0/libs/rtt-py/src/bind_paraxial.cpp +141 -0
  587. raytatouille-0.10.0/libs/rtt-py/src/bind_paths.cpp +439 -0
  588. raytatouille-0.10.0/libs/rtt-py/src/bind_polar.cpp +279 -0
  589. raytatouille-0.10.0/libs/rtt-py/src/bind_psf.cpp +445 -0
  590. raytatouille-0.10.0/libs/rtt-py/src/bind_pupil.cpp +278 -0
  591. raytatouille-0.10.0/libs/rtt-py/src/bind_reports.cpp +249 -0
  592. raytatouille-0.10.0/libs/rtt-py/src/bind_results.cpp +92 -0
  593. raytatouille-0.10.0/libs/rtt-py/src/bind_tolerance.cpp +677 -0
  594. raytatouille-0.10.0/libs/rtt-py/src/bind_trace.cpp +598 -0
  595. raytatouille-0.10.0/libs/rtt-py/src/bindings.hpp +182 -0
  596. raytatouille-0.10.0/libs/rtt-py/src/errors.cpp +93 -0
  597. raytatouille-0.10.0/libs/rtt-py/src/module.cpp +28 -0
  598. raytatouille-0.10.0/libs/rtt-py/src/polar_batch.cpp +216 -0
  599. raytatouille-0.10.0/libs/rtt-py/src/polar_batch.hpp +92 -0
  600. raytatouille-0.10.0/libs/rtt-py/tests/analysis_cases.cpp +279 -0
  601. raytatouille-0.10.0/libs/rtt-py/tests/anamorphic_cases.cpp +112 -0
  602. raytatouille-0.10.0/libs/rtt-py/tests/anamorphic_cases.hpp +16 -0
  603. raytatouille-0.10.0/libs/rtt-py/tests/configuration_cases.cpp +108 -0
  604. raytatouille-0.10.0/libs/rtt-py/tests/configuration_cases.hpp +16 -0
  605. raytatouille-0.10.0/libs/rtt-py/tests/conftest.py +100 -0
  606. raytatouille-0.10.0/libs/rtt-py/tests/crystal_cases.cpp +181 -0
  607. raytatouille-0.10.0/libs/rtt-py/tests/crystal_cases.hpp +16 -0
  608. raytatouille-0.10.0/libs/rtt-py/tests/data/bare_asphere.rtt.json +65 -0
  609. raytatouille-0.10.0/libs/rtt-py/tests/diffraction_cases.cpp +198 -0
  610. raytatouille-0.10.0/libs/rtt-py/tests/diffraction_cases.hpp +16 -0
  611. raytatouille-0.10.0/libs/rtt-py/tests/forbes_cases.cpp +81 -0
  612. raytatouille-0.10.0/libs/rtt-py/tests/forbes_cases.hpp +16 -0
  613. raytatouille-0.10.0/libs/rtt-py/tests/ideal_lens_cases.cpp +102 -0
  614. raytatouille-0.10.0/libs/rtt-py/tests/ideal_lens_cases.hpp +15 -0
  615. raytatouille-0.10.0/libs/rtt-py/tests/jones_cases.cpp +159 -0
  616. raytatouille-0.10.0/libs/rtt-py/tests/jones_cases.hpp +15 -0
  617. raytatouille-0.10.0/libs/rtt-py/tests/m6_cases.cpp +155 -0
  618. raytatouille-0.10.0/libs/rtt-py/tests/m6_cases.hpp +15 -0
  619. raytatouille-0.10.0/libs/rtt-py/tests/m7_cases.cpp +188 -0
  620. raytatouille-0.10.0/libs/rtt-py/tests/m7_cases.hpp +16 -0
  621. raytatouille-0.10.0/libs/rtt-py/tests/npy_writer.hpp +59 -0
  622. raytatouille-0.10.0/libs/rtt-py/tests/optim_cases.cpp +128 -0
  623. raytatouille-0.10.0/libs/rtt-py/tests/optim_cases.hpp +15 -0
  624. raytatouille-0.10.0/libs/rtt-py/tests/optim_systems.py +39 -0
  625. raytatouille-0.10.0/libs/rtt-py/tests/paths_cases.cpp +306 -0
  626. raytatouille-0.10.0/libs/rtt-py/tests/paths_cases.hpp +16 -0
  627. raytatouille-0.10.0/libs/rtt-py/tests/psf_cases.cpp +204 -0
  628. raytatouille-0.10.0/libs/rtt-py/tests/psf_cases.hpp +15 -0
  629. raytatouille-0.10.0/libs/rtt-py/tests/pupil_cases.cpp +172 -0
  630. raytatouille-0.10.0/libs/rtt-py/tests/pupil_cases.hpp +16 -0
  631. raytatouille-0.10.0/libs/rtt-py/tests/q_cases.cpp +84 -0
  632. raytatouille-0.10.0/libs/rtt-py/tests/q_cases.hpp +15 -0
  633. raytatouille-0.10.0/libs/rtt-py/tests/reports_cases.cpp +203 -0
  634. raytatouille-0.10.0/libs/rtt-py/tests/reports_cases.hpp +16 -0
  635. raytatouille-0.10.0/libs/rtt-py/tests/requirements.txt +12 -0
  636. raytatouille-0.10.0/libs/rtt-py/tests/rotational_cases.cpp +118 -0
  637. raytatouille-0.10.0/libs/rtt-py/tests/rotational_cases.hpp +16 -0
  638. raytatouille-0.10.0/libs/rtt-py/tests/rtt_py_reference.cpp +361 -0
  639. raytatouille-0.10.0/libs/rtt-py/tests/test_accumulated_q.py +160 -0
  640. raytatouille-0.10.0/libs/rtt-py/tests/test_active.py +113 -0
  641. raytatouille-0.10.0/libs/rtt-py/tests/test_analysis.py +173 -0
  642. raytatouille-0.10.0/libs/rtt-py/tests/test_anamorphic.py +318 -0
  643. raytatouille-0.10.0/libs/rtt-py/tests/test_aperture_reading.py +43 -0
  644. raytatouille-0.10.0/libs/rtt-py/tests/test_aperture_stop.py +58 -0
  645. raytatouille-0.10.0/libs/rtt-py/tests/test_bitwise.py +258 -0
  646. raytatouille-0.10.0/libs/rtt-py/tests/test_bitwise_analysis.py +230 -0
  647. raytatouille-0.10.0/libs/rtt-py/tests/test_bitwise_anamorphic.py +124 -0
  648. raytatouille-0.10.0/libs/rtt-py/tests/test_bitwise_configurations.py +80 -0
  649. raytatouille-0.10.0/libs/rtt-py/tests/test_bitwise_crystal.py +147 -0
  650. raytatouille-0.10.0/libs/rtt-py/tests/test_bitwise_diffraction.py +187 -0
  651. raytatouille-0.10.0/libs/rtt-py/tests/test_bitwise_forbes.py +95 -0
  652. raytatouille-0.10.0/libs/rtt-py/tests/test_bitwise_ideal_lens.py +92 -0
  653. raytatouille-0.10.0/libs/rtt-py/tests/test_bitwise_jones.py +149 -0
  654. raytatouille-0.10.0/libs/rtt-py/tests/test_bitwise_m6.py +161 -0
  655. raytatouille-0.10.0/libs/rtt-py/tests/test_bitwise_m7.py +222 -0
  656. raytatouille-0.10.0/libs/rtt-py/tests/test_bitwise_optim.py +126 -0
  657. raytatouille-0.10.0/libs/rtt-py/tests/test_bitwise_paths.py +309 -0
  658. raytatouille-0.10.0/libs/rtt-py/tests/test_bitwise_psf.py +201 -0
  659. raytatouille-0.10.0/libs/rtt-py/tests/test_bitwise_pupil.py +149 -0
  660. raytatouille-0.10.0/libs/rtt-py/tests/test_bitwise_q.py +87 -0
  661. raytatouille-0.10.0/libs/rtt-py/tests/test_bitwise_reports.py +195 -0
  662. raytatouille-0.10.0/libs/rtt-py/tests/test_bitwise_rotational.py +122 -0
  663. raytatouille-0.10.0/libs/rtt-py/tests/test_bitwise_tolerance.py +271 -0
  664. raytatouille-0.10.0/libs/rtt-py/tests/test_compile_paraxial.py +143 -0
  665. raytatouille-0.10.0/libs/rtt-py/tests/test_configurations.py +116 -0
  666. raytatouille-0.10.0/libs/rtt-py/tests/test_crystal.py +115 -0
  667. raytatouille-0.10.0/libs/rtt-py/tests/test_diagnostics.py +136 -0
  668. raytatouille-0.10.0/libs/rtt-py/tests/test_diffraction.py +126 -0
  669. raytatouille-0.10.0/libs/rtt-py/tests/test_edit_dict.py +86 -0
  670. raytatouille-0.10.0/libs/rtt-py/tests/test_editor.py +327 -0
  671. raytatouille-0.10.0/libs/rtt-py/tests/test_errors.py +87 -0
  672. raytatouille-0.10.0/libs/rtt-py/tests/test_examples.py +193 -0
  673. raytatouille-0.10.0/libs/rtt-py/tests/test_forbes.py +190 -0
  674. raytatouille-0.10.0/libs/rtt-py/tests/test_format_0_4.py +142 -0
  675. raytatouille-0.10.0/libs/rtt-py/tests/test_gauss_pupil.py +53 -0
  676. raytatouille-0.10.0/libs/rtt-py/tests/test_ideal_lens_read.py +76 -0
  677. raytatouille-0.10.0/libs/rtt-py/tests/test_io.py +87 -0
  678. raytatouille-0.10.0/libs/rtt-py/tests/test_irradiance.py +127 -0
  679. raytatouille-0.10.0/libs/rtt-py/tests/test_jones_pupil.py +155 -0
  680. raytatouille-0.10.0/libs/rtt-py/tests/test_layout.py +148 -0
  681. raytatouille-0.10.0/libs/rtt-py/tests/test_load_warnings.py +66 -0
  682. raytatouille-0.10.0/libs/rtt-py/tests/test_materials.py +223 -0
  683. raytatouille-0.10.0/libs/rtt-py/tests/test_model_read.py +557 -0
  684. raytatouille-0.10.0/libs/rtt-py/tests/test_object_medium.py +90 -0
  685. raytatouille-0.10.0/libs/rtt-py/tests/test_object_reference.py +44 -0
  686. raytatouille-0.10.0/libs/rtt-py/tests/test_optim.py +225 -0
  687. raytatouille-0.10.0/libs/rtt-py/tests/test_optimization_read.py +96 -0
  688. raytatouille-0.10.0/libs/rtt-py/tests/test_paraxial_section.py +126 -0
  689. raytatouille-0.10.0/libs/rtt-py/tests/test_paths.py +291 -0
  690. raytatouille-0.10.0/libs/rtt-py/tests/test_pickle_and_first_order.py +74 -0
  691. raytatouille-0.10.0/libs/rtt-py/tests/test_plot.py +99 -0
  692. raytatouille-0.10.0/libs/rtt-py/tests/test_point_list_pupil.py +54 -0
  693. raytatouille-0.10.0/libs/rtt-py/tests/test_polar.py +311 -0
  694. raytatouille-0.10.0/libs/rtt-py/tests/test_psf.py +333 -0
  695. raytatouille-0.10.0/libs/rtt-py/tests/test_pupil.py +150 -0
  696. raytatouille-0.10.0/libs/rtt-py/tests/test_ray_paths.py +154 -0
  697. raytatouille-0.10.0/libs/rtt-py/tests/test_reports.py +256 -0
  698. raytatouille-0.10.0/libs/rtt-py/tests/test_results.py +549 -0
  699. raytatouille-0.10.0/libs/rtt-py/tests/test_rotational.py +276 -0
  700. raytatouille-0.10.0/libs/rtt-py/tests/test_run_control.py +230 -0
  701. raytatouille-0.10.0/libs/rtt-py/tests/test_schemas.py +40 -0
  702. raytatouille-0.10.0/libs/rtt-py/tests/test_stokes_pupil.py +72 -0
  703. raytatouille-0.10.0/libs/rtt-py/tests/test_tolerance_expand.py +194 -0
  704. raytatouille-0.10.0/libs/rtt-py/tests/test_tolerance_monte_carlo.py +335 -0
  705. raytatouille-0.10.0/libs/rtt-py/tests/test_tolerance_sensitivity.py +297 -0
  706. raytatouille-0.10.0/libs/rtt-py/tests/test_tolerances_read.py +115 -0
  707. raytatouille-0.10.0/libs/rtt-py/tests/test_trace.py +192 -0
  708. raytatouille-0.10.0/libs/rtt-py/tests/tolerance_cases.cpp +277 -0
  709. raytatouille-0.10.0/libs/rtt-py/tests/tolerance_cases.hpp +16 -0
  710. raytatouille-0.10.0/libs/rtt-tolerance/CMakeLists.txt +32 -0
  711. raytatouille-0.10.0/libs/rtt-tolerance/include/rtt/tolerance/classes.hpp +36 -0
  712. raytatouille-0.10.0/libs/rtt-tolerance/include/rtt/tolerance/expand.hpp +70 -0
  713. raytatouille-0.10.0/libs/rtt-tolerance/include/rtt/tolerance/monte_carlo.hpp +163 -0
  714. raytatouille-0.10.0/libs/rtt-tolerance/include/rtt/tolerance/random.hpp +74 -0
  715. raytatouille-0.10.0/libs/rtt-tolerance/include/rtt/tolerance/sensitivity.hpp +193 -0
  716. raytatouille-0.10.0/libs/rtt-tolerance/include/rtt/tolerance/trial.hpp +191 -0
  717. raytatouille-0.10.0/libs/rtt-tolerance/src/classes.cpp +79 -0
  718. raytatouille-0.10.0/libs/rtt-tolerance/src/expand.cpp +182 -0
  719. raytatouille-0.10.0/libs/rtt-tolerance/src/inactive_detail.hpp +61 -0
  720. raytatouille-0.10.0/libs/rtt-tolerance/src/monte_carlo.cpp +316 -0
  721. raytatouille-0.10.0/libs/rtt-tolerance/src/monte_carlo_detail.hpp +33 -0
  722. raytatouille-0.10.0/libs/rtt-tolerance/src/random.cpp +99 -0
  723. raytatouille-0.10.0/libs/rtt-tolerance/src/random_detail.hpp +41 -0
  724. raytatouille-0.10.0/libs/rtt-tolerance/src/sensitivity.cpp +423 -0
  725. raytatouille-0.10.0/libs/rtt-tolerance/src/sensitivity_detail.hpp +77 -0
  726. raytatouille-0.10.0/libs/rtt-tolerance/src/trial.cpp +924 -0
  727. raytatouille-0.10.0/libs/rtt-tolerance/tests/test_anamorphic_radius_sign.cpp +169 -0
  728. raytatouille-0.10.0/libs/rtt-tolerance/tests/test_classes.cpp +612 -0
  729. raytatouille-0.10.0/libs/rtt-tolerance/tests/test_forbes_tolerance.cpp +154 -0
  730. raytatouille-0.10.0/libs/rtt-tolerance/tests/test_inactive_tolerance.cpp +380 -0
  731. raytatouille-0.10.0/libs/rtt-tolerance/tests/test_m7_acceptance.cpp +771 -0
  732. raytatouille-0.10.0/libs/rtt-tolerance/tests/test_monte_carlo.cpp +880 -0
  733. raytatouille-0.10.0/libs/rtt-tolerance/tests/test_object_reference.cpp +179 -0
  734. raytatouille-0.10.0/libs/rtt-tolerance/tests/test_radius_sign.cpp +283 -0
  735. raytatouille-0.10.0/libs/rtt-tolerance/tests/test_random.cpp +440 -0
  736. raytatouille-0.10.0/libs/rtt-tolerance/tests/test_rotational_tolerance.cpp +276 -0
  737. raytatouille-0.10.0/libs/rtt-tolerance/tests/test_sensitivity.cpp +1085 -0
  738. raytatouille-0.10.0/libs/rtt-tolerance/tests/test_trial.cpp +727 -0
  739. raytatouille-0.10.0/libs/rtt-trace/CMakeLists.txt +35 -0
  740. raytatouille-0.10.0/libs/rtt-trace/include/rtt/trace/apply_event.hpp +338 -0
  741. raytatouille-0.10.0/libs/rtt-trace/include/rtt/trace/ray_batch.hpp +207 -0
  742. raytatouille-0.10.0/libs/rtt-trace/include/rtt/trace/ray_paths.hpp +117 -0
  743. raytatouille-0.10.0/libs/rtt-trace/include/rtt/trace/run_control.hpp +133 -0
  744. raytatouille-0.10.0/libs/rtt-trace/include/rtt/trace/sequential.hpp +108 -0
  745. raytatouille-0.10.0/libs/rtt-trace/include/rtt/trace/sources.hpp +447 -0
  746. raytatouille-0.10.0/libs/rtt-trace/src/aim_continuation.hpp +119 -0
  747. raytatouille-0.10.0/libs/rtt-trace/src/apply_event.cpp +721 -0
  748. raytatouille-0.10.0/libs/rtt-trace/src/event_media.hpp +41 -0
  749. raytatouille-0.10.0/libs/rtt-trace/src/ray_batch.cpp +100 -0
  750. raytatouille-0.10.0/libs/rtt-trace/src/run_control.cpp +60 -0
  751. raytatouille-0.10.0/libs/rtt-trace/src/sequential.cpp +309 -0
  752. raytatouille-0.10.0/libs/rtt-trace/src/sources.cpp +1511 -0
  753. raytatouille-0.10.0/libs/rtt-trace/src/start_plane.hpp +99 -0
  754. raytatouille-0.10.0/libs/rtt-trace/tests/test_accumulated_q.cpp +551 -0
  755. raytatouille-0.10.0/libs/rtt-trace/tests/test_active_trace.cpp +134 -0
  756. raytatouille-0.10.0/libs/rtt-trace/tests/test_aim_continuation.cpp +221 -0
  757. raytatouille-0.10.0/libs/rtt-trace/tests/test_aim_reference.cpp +513 -0
  758. raytatouille-0.10.0/libs/rtt-trace/tests/test_anamorphic_aiming.cpp +662 -0
  759. raytatouille-0.10.0/libs/rtt-trace/tests/test_anamorphic_trace.cpp +105 -0
  760. raytatouille-0.10.0/libs/rtt-trace/tests/test_apply_event.cpp +369 -0
  761. raytatouille-0.10.0/libs/rtt-trace/tests/test_crystal_trace.cpp +347 -0
  762. raytatouille-0.10.0/libs/rtt-trace/tests/test_diffraction.cpp +781 -0
  763. raytatouille-0.10.0/libs/rtt-trace/tests/test_forbes_trace.cpp +177 -0
  764. raytatouille-0.10.0/libs/rtt-trace/tests/test_gauss_pupil.cpp +197 -0
  765. raytatouille-0.10.0/libs/rtt-trace/tests/test_ideal_lens_aiming.cpp +58 -0
  766. raytatouille-0.10.0/libs/rtt-trace/tests/test_ideal_lens_trace.cpp +638 -0
  767. raytatouille-0.10.0/libs/rtt-trace/tests/test_interactions.cpp +542 -0
  768. raytatouille-0.10.0/libs/rtt-trace/tests/test_object_medium.cpp +162 -0
  769. raytatouille-0.10.0/libs/rtt-trace/tests/test_object_reference.cpp +96 -0
  770. raytatouille-0.10.0/libs/rtt-trace/tests/test_obscuration.cpp +227 -0
  771. raytatouille-0.10.0/libs/rtt-trace/tests/test_parallel_aiming.cpp +185 -0
  772. raytatouille-0.10.0/libs/rtt-trace/tests/test_point_list_pupil.cpp +99 -0
  773. raytatouille-0.10.0/libs/rtt-trace/tests/test_ray_batch.cpp +140 -0
  774. raytatouille-0.10.0/libs/rtt-trace/tests/test_ray_paths.cpp +425 -0
  775. raytatouille-0.10.0/libs/rtt-trace/tests/test_real_na.cpp +281 -0
  776. raytatouille-0.10.0/libs/rtt-trace/tests/test_relative_trace.cpp +160 -0
  777. raytatouille-0.10.0/libs/rtt-trace/tests/test_rotational_trace.cpp +177 -0
  778. raytatouille-0.10.0/libs/rtt-trace/tests/test_run_control.cpp +220 -0
  779. raytatouille-0.10.0/libs/rtt-trace/tests/test_sequential.cpp +409 -0
  780. raytatouille-0.10.0/libs/rtt-trace/tests/test_sources.cpp +1907 -0
  781. raytatouille-0.10.0/libs/rtt-trace/tests/test_start_plane.cpp +66 -0
  782. raytatouille-0.10.0/libs/rtt-trace/tests/test_surface_stop.cpp +277 -0
  783. raytatouille-0.10.0/pyproject.toml +87 -0
  784. raytatouille-0.10.0/schema/raytatouille-coatings.schema.json +42 -0
  785. raytatouille-0.10.0/schema/raytatouille-result.schema.json +2537 -0
  786. raytatouille-0.10.0/schema/raytatouille.schema.json +762 -0
  787. raytatouille-0.10.0/tests/reference/m0/feature_tour.rtt.json +302 -0
  788. raytatouille-0.10.0/tests/reference/m0/michelson.rtt.json +94 -0
  789. raytatouille-0.10.0/tests/reference/m0/singlet.rtt.json +65 -0
  790. raytatouille-0.10.0/tests/reference/m1/paraboloid_mirror.rtt.json +45 -0
  791. raytatouille-0.10.0/tests/reference/m1/singlet_const.rtt.json +65 -0
  792. raytatouille-0.10.0/tests/reference/m1/telecentric_singlet.rtt.json +66 -0
  793. raytatouille-0.10.0/tests/reference/m1/two_lenses_stop_between.rtt.json +83 -0
  794. raytatouille-0.10.0/tests/reference/m2/achromat.rtt.json +76 -0
  795. raytatouille-0.10.0/tests/reference/m2/cooke_triplet.rtt.json +120 -0
  796. raytatouille-0.10.0/tests/reference/m2/cooke_triplet_surface_stop.rtt.json +102 -0
  797. raytatouille-0.10.0/tests/reference/m2/paraboloid_stop.rtt.json +56 -0
  798. raytatouille-0.10.0/tests/reference/m2/telecentric_4f.rtt.json +85 -0
  799. raytatouille-0.10.0/tests/reference/m3/absorbing_ar_plate.rtt.json +49 -0
  800. raytatouille-0.10.0/tests/reference/m3/ar_mgf2.rtt.json +65 -0
  801. raytatouille-0.10.0/tests/reference/m3/ar_singlet.rtt.json +67 -0
  802. raytatouille-0.10.0/tests/reference/m3/fresnel_bk7.rtt.json +63 -0
  803. raytatouille-0.10.0/tests/reference/m3/fresnel_rhomb.rtt.json +67 -0
  804. raytatouille-0.10.0/tests/reference/m3/half_wave.rtt.json +64 -0
  805. raytatouille-0.10.0/tests/reference/m3/lossless_stack.rtt.json +68 -0
  806. raytatouille-0.10.0/tests/reference/m3/malus.rtt.json +64 -0
  807. raytatouille-0.10.0/tests/reference/m3/metal_periscope.rtt.json +63 -0
  808. raytatouille-0.10.0/tests/reference/m3/polarizer_qwp.rtt.json +98 -0
  809. raytatouille-0.10.0/tests/reference/m3/quarter_wave.rtt.json +64 -0
  810. raytatouille-0.10.0/tests/reference/m3/tir_prism.rtt.json +42 -0
  811. raytatouille-0.10.0/tests/reference/m4/calcite_walkoff.rtt.json +61 -0
  812. raytatouille-0.10.0/tests/reference/m4/ghost_plates.rtt.json +68 -0
  813. raytatouille-0.10.0/tests/reference/m4/ghost_singlet.rtt.json +60 -0
  814. raytatouille-0.10.0/tests/reference/m4/grating_transmission.rtt.json +90 -0
  815. raytatouille-0.10.0/tests/reference/m4/michelson_offset.rtt.json +121 -0
  816. raytatouille-0.10.0/tests/reference/m5/singlet_optim.rtt.json +84 -0
  817. raytatouille-0.10.0/tests/reference/m5/singlet_solve.rtt.json +93 -0
  818. raytatouille-0.10.0/tests/reference/m5/two_lens_gap.rtt.json +116 -0
  819. raytatouille-0.10.0/tests/reference/m5/zoom.rtt.json +115 -0
  820. raytatouille-0.10.0/tests/reference/m6/fold45_focus.rtt.json +58 -0
  821. raytatouille-0.10.0/tests/reference/m6/fold45_metal.rtt.json +47 -0
  822. raytatouille-0.10.0/tests/reference/m6/paraboloid_f10.rtt.json +56 -0
  823. raytatouille-0.10.0/tests/reference/m6/paraboloid_f50.rtt.json +56 -0
  824. raytatouille-0.10.0/tests/reference/m6/planoconvex_f10.rtt.json +62 -0
  825. raytatouille-0.10.0/tests/reference/m7/achromat_tolerances.rtt.json +158 -0
  826. raytatouille-0.10.0/tests/reference/m7/assembly_motion.rtt.json +128 -0
  827. raytatouille-0.10.0/tests/reference/m7/configuration_row.rtt.json +100 -0
  828. raytatouille-0.10.0/tests/reference/m7/decentred_lens.rtt.json +81 -0
  829. raytatouille-0.10.0/tests/reference/m7/decentred_lens_finite.rtt.json +106 -0
  830. raytatouille-0.10.0/tests/reference/m7/double_pass.rtt.json +112 -0
  831. raytatouille-0.10.0/tests/reference/m7/paraboloid_compensator.rtt.json +103 -0
  832. raytatouille-0.10.0/tests/reference/m7/planoconvex_bk7.rtt.json +87 -0
  833. raytatouille-0.10.0/tests/reference/m7/tilted_plate.rtt.json +82 -0
  834. raytatouille-0.10.0/tests/reference/r2/ideal_lens.rtt.json +88 -0
  835. raytatouille-0.10.0/tests/reference/r3/immersion_real_na.rtt.json +61 -0
  836. raytatouille-0.10.0/tests/reference/r3/object_in_glass.rtt.json +63 -0
  837. raytatouille-0.10.0/tests/reference/r3/object_reference.rtt.json +62 -0
  838. raytatouille-0.10.0/tests/reference/results/CompiledElement.result.json +14 -0
  839. raytatouille-0.10.0/tests/reference/results/Diagnostic.result.json +11 -0
  840. raytatouille-0.10.0/tests/reference/results/Diattenuation.result.json +30 -0
  841. raytatouille-0.10.0/tests/reference/results/Diattenuations.result.json +325 -0
  842. raytatouille-0.10.0/tests/reference/results/DimensionReport.result.json +119 -0
  843. raytatouille-0.10.0/tests/reference/results/DistortionPoint.result.json +16 -0
  844. raytatouille-0.10.0/tests/reference/results/DistortionSweep.result.json +73 -0
  845. raytatouille-0.10.0/tests/reference/results/EncircledEnergy.result.json +131 -0
  846. raytatouille-0.10.0/tests/reference/results/FieldCurvaturePoint.result.json +16 -0
  847. raytatouille-0.10.0/tests/reference/results/FieldCurvatureSweep.result.json +73 -0
  848. raytatouille-0.10.0/tests/reference/results/FirstOrder.result.json +31 -0
  849. raytatouille-0.10.0/tests/reference/results/GhostRanking.result.json +123 -0
  850. raytatouille-0.10.0/tests/reference/results/GlassInfo.result.json +63 -0
  851. raytatouille-0.10.0/tests/reference/results/GlassMap.result.json +41 -0
  852. raytatouille-0.10.0/tests/reference/results/Interferogram.result.json +187 -0
  853. raytatouille-0.10.0/tests/reference/results/IrradianceMap.result.json +160 -0
  854. raytatouille-0.10.0/tests/reference/results/JonesPupil.result.json +345 -0
  855. raytatouille-0.10.0/tests/reference/results/LateralColour.result.json +56 -0
  856. raytatouille-0.10.0/tests/reference/results/LoadWarning.result.json +11 -0
  857. raytatouille-0.10.0/tests/reference/results/LongitudinalColour.result.json +48 -0
  858. raytatouille-0.10.0/tests/reference/results/MeritEvaluation.result.json +73 -0
  859. raytatouille-0.10.0/tests/reference/results/MonteCarloResult.result.json +549 -0
  860. raytatouille-0.10.0/tests/reference/results/Mtf.result.json +898 -0
  861. raytatouille-0.10.0/tests/reference/results/OpdFan.result.json +146 -0
  862. raytatouille-0.10.0/tests/reference/results/OpdMap.result.json +128 -0
  863. raytatouille-0.10.0/tests/reference/results/OpdPupilPoints.result.json +101 -0
  864. raytatouille-0.10.0/tests/reference/results/OptimResult.result.json +136 -0
  865. raytatouille-0.10.0/tests/reference/results/PathOplDifference.result.json +88 -0
  866. raytatouille-0.10.0/tests/reference/results/PathTransmission.result.json +140 -0
  867. raytatouille-0.10.0/tests/reference/results/Prescription.result.json +170 -0
  868. raytatouille-0.10.0/tests/reference/results/Psf.result.json +282 -0
  869. raytatouille-0.10.0/tests/reference/results/PupilCells.result.json +105 -0
  870. raytatouille-0.10.0/tests/reference/results/PupilFunction.result.json +1690 -0
  871. raytatouille-0.10.0/tests/reference/results/RayBatch.result.json +1368 -0
  872. raytatouille-0.10.0/tests/reference/results/RayFan.result.json +153 -0
  873. raytatouille-0.10.0/tests/reference/results/RayPaths.result.json +5303 -0
  874. raytatouille-0.10.0/tests/reference/results/RaytraceReport.result.json +336 -0
  875. raytatouille-0.10.0/tests/reference/results/Retardance.result.json +28 -0
  876. raytatouille-0.10.0/tests/reference/results/Retardances.result.json +271 -0
  877. raytatouille-0.10.0/tests/reference/results/Seidel.result.json +189 -0
  878. raytatouille-0.10.0/tests/reference/results/SpotDiagram.result.json +518 -0
  879. raytatouille-0.10.0/tests/reference/results/StokesPupil.result.json +185 -0
  880. raytatouille-0.10.0/tests/reference/results/SurfaceLayout.result.json +53 -0
  881. raytatouille-0.10.0/tests/reference/results/SystemReport.result.json +191 -0
  882. raytatouille-0.10.0/tests/reference/results/ThroughFocus.result.json +55 -0
  883. raytatouille-0.10.0/tests/reference/results/ToleranceItems.result.json +789 -0
  884. raytatouille-0.10.0/tests/reference/results/ToleranceSensitivity.result.json +861 -0
  885. raytatouille-0.10.0/tests/reference/results/TraceStats.result.json +17 -0
  886. raytatouille-0.10.0/tests/reference/results/ZernikeFit.result.json +31 -0
  887. raytatouille-0.10.0/tests/schema/requirements.txt +2 -0
  888. raytatouille-0.10.0/tests/schema/test_aperture_reading_schema.py +36 -0
  889. raytatouille-0.10.0/tests/schema/test_aperture_stop_schema.py +41 -0
  890. raytatouille-0.10.0/tests/schema/test_coating_schema.py +76 -0
  891. raytatouille-0.10.0/tests/schema/test_result_schema.py +289 -0
  892. raytatouille-0.10.0/tests/schema/test_schema.py +626 -0
  893. raytatouille-0.10.0/tools/changelog.py +144 -0
  894. raytatouille-0.10.0/tools/check_pins.py +103 -0
  895. raytatouille-0.10.0/tools/check_version.py +68 -0
  896. raytatouille-0.10.0/tools/result_examples.py +100 -0
  897. raytatouille-0.10.0/vcpkg.json +14 -0
@@ -0,0 +1,11 @@
1
+ BasedOnStyle: Google
2
+ Language: Cpp
3
+ Standard: c++20
4
+ ColumnLimit: 100
5
+ IndentWidth: 2
6
+ AccessModifierOffset: -1
7
+ DerivePointerAlignment: false
8
+ PointerAlignment: Left
9
+ IncludeBlocks: Regroup
10
+ AllowShortFunctionsOnASingleLine: Inline
11
+ BinPackParameters: false
@@ -0,0 +1,21 @@
1
+ Checks: >
2
+ -*,
3
+ bugprone-*,
4
+ -bugprone-easily-swappable-parameters,
5
+ -bugprone-exception-escape,
6
+ cppcoreguidelines-init-variables,
7
+ cppcoreguidelines-pro-type-cstyle-cast,
8
+ cppcoreguidelines-slicing,
9
+ misc-const-correctness,
10
+ misc-redundant-expression,
11
+ misc-unused-using-decls,
12
+ modernize-use-nullptr,
13
+ modernize-use-override,
14
+ modernize-use-using,
15
+ performance-*,
16
+ readability-container-size-empty,
17
+ readability-else-after-return,
18
+ readability-redundant-member-init
19
+ WarningsAsErrors: '*'
20
+ HeaderFilterRegex: '.*/libs/rtt-[a-z]+/(include|src)/.*'
21
+ FormatStyle: file
@@ -0,0 +1,12 @@
1
+ root = true
2
+
3
+ [*]
4
+ charset = utf-8
5
+ end_of_line = lf
6
+ insert_final_newline = true
7
+ trim_trailing_whitespace = true
8
+ indent_style = space
9
+ indent_size = 2
10
+
11
+ [*.py]
12
+ indent_size = 4
@@ -0,0 +1,7 @@
1
+ * text=auto eol=lf
2
+ *.rtt.json text eol=lf
3
+ tests/catalogs/** -text
4
+ # ZMX test cases keep the CRLF line ends OpticStudio writes (ADR 0044); the tests edit them.
5
+ libs/rtt-io/tests/zmx/*.zmx -text
6
+ # The surface table is written with CRLF (RFC 4180, rule 1; ADR 0045, point 7).
7
+ libs/rtt-io/tests/zmx/*.csv -text
@@ -0,0 +1,16 @@
1
+ /build/
2
+ /out/
3
+ /vcpkg_installed/
4
+ .vs/
5
+ .vscode/
6
+ .idea/
7
+ *.user
8
+ compile_commands.json
9
+ __pycache__/
10
+ .pytest_cache/
11
+ .mypy_cache/
12
+ *.pyc
13
+ .cache/
14
+
15
+ # Claude Code worktrees
16
+ .claude/worktrees/
@@ -0,0 +1,271 @@
1
+ # Regeln für Programmieragenten
2
+
3
+ Diese Datei liest jeder Agent zu Beginn jeder Sitzung. Sie gilt zusammen mit
4
+ `docs/architecture.md` (Architektur, Konventionen, Roadmap) und `docs/adr/`.
5
+
6
+ ## Projekt in einem Satz
7
+
8
+ Raytatouille ist eine headless Raytracing-Engine für Optikdesign in C++20 (MIT-Lizenz) mit
9
+ Python-API; Linux, Windows und macOS 26 (arm64).
10
+
11
+ ## Bauen und testen
12
+
13
+ ```bash
14
+ # Linux, Systempakete (Ubuntu 24.04):
15
+ sudo apt-get install cmake ninja-build g++ clang clang-format clang-tidy \
16
+ libeigen3-dev nlohmann-json3-dev catch2 libtbb-dev
17
+ cmake --preset dev && cmake --build --preset dev && ctest --preset dev
18
+
19
+ # macOS 26 (arm64), Homebrew und Command Line Tools; danach dieselben Presets wie oben:
20
+ brew install cmake ninja eigen nlohmann-json catch2 tbb
21
+
22
+ # Mit vcpkg (wie die CI; Windows: Preset ci-windows-msvc, macOS: ci-macos-clang):
23
+ export VCPKG_ROOT=/pfad/zu/vcpkg
24
+ cmake --preset ci-linux-gcc && cmake --build --preset ci-linux-gcc && ctest --preset ci-linux-gcc
25
+
26
+ # Formatierung, Schema, Systemdateien
27
+ clang-format -i $(git ls-files '*.cpp' '*.hpp')
28
+ pip install -r tests/schema/requirements.txt && pytest -q tests/schema
29
+ ./build/dev/apps/rtt-cli/rtt validate tests/reference/m0/*.rtt.json
30
+ ./build/dev/apps/rtt-cli/rtt format tests/reference/m0/*.rtt.json
31
+ ```
32
+
33
+ Windows/MSYS2 (Preset `dev` mit GCC aus `C:\msys64\ucrt64`): Tests über `ctest` starten; CMake setzt
34
+ dort den `PATH` der Tests selbst (Compiler-Verzeichnis vorn). Direkt gestartete `.exe` aus Git Bash
35
+ brauchen `export PATH=/c/msys64/ucrt64/bin:$PATH`, weil Git for Windows eine inkompatible
36
+ msvcrt-`libstdc++-6.dll` in `/mingw64/bin` mitbringt (Einsprungpunkt-Fehler beim Start).
37
+
38
+ Python lokal unter Windows: ein eigenes Build-Verzeichnis mit GCC aus MSYS2 und `RTT_BUILD_PYTHON=ON`
39
+ gegen ein MSYS2-Python mit eigener venv (nanobind, NumPy, pytest, mypy) genügt für alle Python-Tests
40
+ einschließlich der Bitvergleiche (über `ctest -R rtt_py`). Das MSVC-Preset `ci-windows-python`
41
+ braucht beim Übersetzen der Bindungen mehr Speicher, als ein Rechner mit 16 GB neben mehreren
42
+ Sitzungen frei hat, und bricht dort ab; es läuft in der CI.
43
+
44
+ pocketfft (FFT, ADR 0033) kommt aus vcpkg. Presets mit Systempaketen finden den Header mit
45
+ `find_path` oder laden ihn einmal per FetchContent auf demselben Pin wie der vcpkg-Port
46
+ (`cmake/RttPocketfft.cmake`, Schalter `RTT_FETCH_POCKETFFT`); ohne Netz `RTT_POCKETFFT_INCLUDE_DIR`
47
+ setzen. Es gibt keine Kopie im Repository; die CI prüft die Pins mit `tools/check_pins.py`.
48
+
49
+ Vor jedem PR müssen lokal grün sein: Build mit `-DRTT_WARNINGS_AS_ERRORS=ON`, alle Tests,
50
+ `clang-format --dry-run -Werror`, die Schema-Tests. Clang-tidy läuft mit
51
+ `-DRTT_ENABLE_CLANG_TIDY=ON`, Sanitizer mit `-DRTT_ENABLE_SANITIZERS=ON`.
52
+
53
+ Fehlerquellen, die nur die CI sieht, vorab lokal prüfen:
54
+
55
+ - **Python mit dem NumPy-Stand für Python 3.10.** Die CI testet `rtt-py` auch mit dem Pin für
56
+ Python < 3.11 aus `libs/rtt-py/tests/requirements.txt` (derzeit `numpy==2.2.6`). Ältere NumPy
57
+ wandelt Ein-Element-Arrays anders um (Reihenfolge der nanobind-Overloads), und ihre Stubs sind für
58
+ mypy strenger (z. B. `np.ndarray` ohne Typargument). Wer Bindings, Python-Code oder Python-Tests
59
+ ändert, lässt pytest und `mypy --strict` zusätzlich in einer venv mit genau diesem Pin laufen
60
+ (ein Python ≥ 3.10 genügt).
61
+ - **GCC mit Optimierung.** Manche Warnungen (`-Wnull-dereference`, `-Wrange-loop-construct`) meldet
62
+ GCC nur bei `-O2`, nicht bei `-fsyntax-only` oder im Debug-Build. Geänderte Übersetzungseinheiten
63
+ einmal mit `-O2 -Werror` und den Projektwarnungen übersetzen (Release-Build oder `g++ -c`).
64
+ - **Python-Tests über ctest, nicht direkt mit pytest.** Die Bitvergleiche gegen C++
65
+ (`test_bitwise*.py`) brauchen `RTT_PY_REFERENCE_EXE`, `RTT_REFERENCE_DIR` und `RTT_CATALOG_DIR`;
66
+ ctest setzt sie (`ctest -R rtt_py`). Ohne sie werden die Bitvergleiche still übersprungen, und
67
+ pytest ist trotzdem grün. Wer pytest direkt startet, setzt die drei Variablen wie
68
+ `libs/rtt-py/CMakeLists.txt` und prüft, dass kein Bitvergleich übersprungen wurde.
69
+ - **Veralteter `__pycache__` der Python-Tests.** Sind lokal nur die Tests rot, die den Dateinamen
70
+ einer Warnung prüfen (`w.filename == __file__`), und steht in `w.filename` ein fremder oder anders
71
+ geschriebener Pfad (z. B. Backslashes statt Vorwärts-Slashes), liegt es am Cache: pytest
72
+ verwendet das umgeschriebene Testmodul aus `libs/rtt-py/tests/__pycache__` wieder und prüft dabei
73
+ nur Änderungszeit und Größe der Quelle, nicht den Pfad. `co_filename` bleibt so der Pfad der
74
+ ersten Übersetzung, aus ihm nimmt `warnings.warn` den Dateinamen; `__file__` kommt aus dem
75
+ aktuellen Import. Abhilfe: `libs/rtt-py/tests/__pycache__` löschen; die Tests nicht ändern.
76
+ - **Bitvergleiche brauchen einen Inhaltswächter.** Liefern C++ und Python beide dasselbe Falsche
77
+ (z. B. alle Strahlen verfehlt), ist der Vergleich trotzdem grün. Jeder neue Fall bekommt deshalb
78
+ eine Prüfung auf den erwarteten Status und auf Werte, die sich unterscheiden.
79
+ - **Startstrahlen nicht in die Ebene der ersten Fläche legen.** Ein Strahl, der genau in der Ebene
80
+ der Blende oder der ersten Fläche startet, trifft sie nicht (Abstand 0) und endet als verfehlt.
81
+ In Tests die Startstrahlen vor die erste Fläche legen (z. B. z = −1) und den Status prüfen
82
+ (#151, #177).
83
+ - **Geänderte Referenzdateien auch durch die Python-Tests.** `test_model_read.py` und die
84
+ Bitvergleiche lesen die Dateien unter `tests/reference/` (z. B. `feature_tour.rtt.json`). Wer eine
85
+ dieser Dateien ändert, lässt die Python-Tests lokal laufen, auch wenn sich keine Bindung ändert;
86
+ ein vorhandener Python-Build genügt dafür (pytest liest die JSON-Dateien aus dem Quellbaum).
87
+ - **GCC 13 der CI warnt anders als ein neueres lokales GCC.** Die CI baut mit GCC 13 und `-O3`;
88
+ Meldungen wie `-Wdangling-reference` oder `-Wmaybe-uninitialized` sieht ein lokales GCC 16 oft
89
+ nicht, und umgekehrt. Ist GCC 13 lokal nicht verfügbar, die CI-Läufe von `ci-linux-gcc` nach dem
90
+ Push gezielt ansehen. Dazu gehört `-Wrange-loop-construct`: Eine Bereichsschleife per Wert über
91
+ `const Vec3` meldet nur GCC 13, also über Klassentypen immer `const T&` (#218).
92
+ - **`-Wdangling-reference` bei Aufrufen mit temporärem Argument.** Bindet man das
93
+ Referenz-Ergebnis eines Aufrufs an eine Referenz und bekommt der Aufruf ein Temporäres, hält GCC
94
+ (13 wie 16) das Ergebnis für eine Referenz auf das Temporäre und bricht mit `-Werror` ab, auch
95
+ wenn sie auf ein langlebiges Objekt zeigt. Beispiele: ein `std::string` aus einem Literal
96
+ (`const auto& f = frame(c, "/root/…")`, #266), ein Lambda in
97
+ `const T& x = std::visit([](const auto& op) -> const T& { return op.member; }, v)` (#268).
98
+ Abhilfe: per Wert binden oder einen Zeiger zurückgeben.
99
+ - **Keine exakten Vergleiche über libm-Ergebnisse auf Konstanten.** GCC faltet z. B.
100
+ `std::cbrt(kKonstante)` bei Optimierung zur Übersetzungszeit korrekt gerundet; die Laufzeit-libm
101
+ (glibc, MinGW) darf um 1 ulp abweichen. Ein Test, der sich darauf verlässt, dass er denselben Wert
102
+ wie der Code zur Laufzeit trifft, ist dann je nach Plattform und Build rot oder grün. Nicht auf
103
+ „exakte“ Eingaben vertrauen: glibc rundet `cbrt` nicht korrekt, auch nicht für einen exakten
104
+ Würfel wie 2⁻³⁰. Stattdessen den Wert im Test zur Laufzeit mit derselben Funktion und derselben
105
+ Eingabe wie der Code berechnen (Eingabe über `volatile`, damit nichts gefaltet wird) und die
106
+ Voraussetzung vor dem Lauf mit `REQUIRE` prüfen (#218).
107
+ - **vcpkg-Stände statt Ubuntu-Pakete.** Die CI baut mit Eigen 5.0.1 und Catch2 3.15.3 aus vcpkg;
108
+ Ubuntu 24.04 liefert Eigen 3.4 und Catch2 3.4. GCC 13 mit `-O3` meldet manches nur mit den
109
+ vcpkg-Ständen, z. B. `-Wnull-dereference` im vektorisierten Eigen-Produkt einer Transponierten
110
+ (#366) oder `-Wmaybe-uninitialized` an `Param` in einer Testdatei (#370). Vorab prüfen: Eigen
111
+ (Spiegel `github.com/eigen-mirror/eigen`, Tag `5.0.1`) und Catch2 (`catchorg/Catch2`, Tag
112
+ `v3.15.3`, einmal mit CMake konfigurieren für `catch_user_config.hpp`) holen und die geänderten
113
+ Übersetzungseinheiten mit diesen Pfaden per `-isystem` vor den System-Headern und
114
+ `-O3 -DNDEBUG -Werror` übersetzen.
115
+ - **Das clang-tidy der CI meldet mehr als ein neueres lokales.** Die CI (`ci-linux-clang`,
116
+ clang-tidy 18) meldet z. B. `bugprone-unchecked-optional-access` und `misc-unused-using-decls`,
117
+ die das lokale clang-tidy 22 nicht meldet (#227, #233, #235). Ein `std::optional` deshalb nach
118
+ der Prüfung einmal in eine Referenz binden und danach nur diese nutzen; nach einem Umbau
119
+ `using`-Deklarationen von Hand prüfen.
120
+ Seit #336 prüft der Job auch die Python-Bindungen `_core`; das Preset `ci-linux-clang` braucht
121
+ deshalb ein Python mit den Paketen aus `libs/rtt-py/tests/requirements.txt`
122
+ (`-DPython_EXECUTABLE=…`). Unter macOS 26 scheitert clang-tidy 18 aus Homebrew (`llvm@18`) an
123
+ der libc++ des SDK; mit seinen eigenen Headern läuft es über die `compile_commands.json` eines
124
+ vorhandenen Builds: `clang-tidy -p <build> <datei> --extra-arg=-nostdinc++
125
+ --extra-arg=-isystem/opt/homebrew/opt/llvm@18/include/c++/v1`.
126
+ - **MSVC wertet Verengungen in Bereichsschleifen als Fehler.** `for (const std::uint16_t x : {0, 1})`
127
+ wandelt `int`-Literale um (C4244, mit `/WX` ein Fehler); die Literale typisieren, z. B.
128
+ `{std::uint16_t{0}, std::uint16_t{1}}` (#220, #223).
129
+ - **Clang-Warnungen ohne clang-Build.** Wer lokal nur mit GCC baut, prüft geänderte
130
+ Übersetzungseinheiten zusätzlich mit `clang++ -fsyntax-only -Werror` und den Projektwarnungen
131
+ (z. B. `-Wunused-lambda-capture`, #239); die CI baut mit clang und den Sanitizern. Wer nur mit
132
+ clang prüft, ergänzt `-Wshadow-uncaptured-local`, sonst fehlt, was GCCs `-Wshadow` in Lambdas
133
+ meldet (#247).
134
+ - **libc++ unter macOS rechnet anders als libstdc++ und MSVC** (#373, ADR 0047). Drei Fallen:
135
+ `std::sqrt(std::complex)` geht über die Polarform (Re √(−x) ≈ 10⁻¹⁷ statt 0), darum
136
+ `rtt::math::principal_sqrt` (ADR 0046); die Spezialfunktionen aus C++17 (`std::cyl_bessel_j`
137
+ u. a.) fehlen, darum `rtt::math::bessel_j0`/`bessel_j1` bzw. eine Hilfsfunktion in `rtt-math`;
138
+ `std::from_chars` für `double` gibt es erst ab macOS 26. Wer ohne Mac arbeitet, sieht diese
139
+ Fehler erst im CI-Job `macOS ci-macos-clang`.
140
+ - **Plot-Tests brauchen matplotlib.** Fehlt matplotlib in der lokalen venv, überspringt pytest
141
+ die Plot- und Beispieltests still; dann deckt sie nur die CI ab. Beim Ändern von Plot-Helfern
142
+ matplotlib installieren oder die CI-Läufe gezielt ansehen.
143
+ - **GitHub liest Schließ-Schlüsselwörter überall im PR-Text.** Auch ein zitiertes „Closes #N“ in
144
+ einem Satz über einen späteren PR verknüpft das Issue und schließt es beim Merge. Über andere
145
+ PRs deshalb ohne Schlüsselwort schreiben („schließt dann #N“) und vor dem Merge
146
+ `gh pr view <nr> --json closingIssuesReferences` prüfen (#303).
147
+ - **Keine frische venv ohne NumPy unter MSYS2.** `pip install` in einer leeren MSYS2-venv baut
148
+ NumPy aus den Quellen (es gibt dort kein Wheel) und braucht mehrere GB Speicher. Die venv mit
149
+ `--system-site-packages` auf dem NumPy aus pacman anlegen oder mit `--no-deps` installieren;
150
+ parallele Builds mehrerer Sitzungen mit `-j 2` (#271).
151
+
152
+ ## Aufbau
153
+
154
+ ```text
155
+ libs/rtt-<name>/include/rtt/<name>/*.hpp öffentliche Header (Namespace rtt::<name>)
156
+ libs/rtt-<name>/src/ Implementierung
157
+ libs/rtt-<name>/tests/ Catch2-Tests
158
+ apps/rtt-cli/ Programm `rtt`
159
+ schema/raytatouille.schema.json JSON-Schema des Dateiformats
160
+ tests/reference/ Referenzsysteme (*.rtt.json) und Sollwerte
161
+ tests/schema/ pytest für das Schema
162
+ docs/ Architektur und ADRs
163
+ ```
164
+
165
+ Neue Bibliothek: Ordner wie oben, `CMakeLists.txt` nach dem Muster von `libs/rtt-model`
166
+ (`rtt_target_defaults(<target> LIBRARY)`, Tests mit `rtt_add_test`), in der Wurzel-
167
+ `CMakeLists.txt` eintragen. Abhängigkeiten nur zu tieferen Schichten (siehe Architektur).
168
+
169
+ ## Arbeitsregeln
170
+
171
+ 1. **Ein Auftrag = eine Bibliothek + ein Meilenstein-Ziel.** Abnahmekriterien stehen im Issue
172
+ und in der Roadmap. Nichts darüber hinaus bauen.
173
+ 2. **Erst Test, dann Code.** Referenztest mit analytischem Sollwert zuerst; er muss vorher
174
+ fehlschlagen. Referenzwerte und bestehende Tests nur mit Freigabe des Maintainers ändern.
175
+ Einen Test anzupassen, damit er grün wird, ist verboten.
176
+ 3. **Keine Exceptions in Tracing-Schleifen.** Strahlprobleme sind Status-Flags, Eingabefehler
177
+ Exceptions an der API-Grenze. Kein undefiniertes Verhalten; Sanitizer-Läufe sauber.
178
+ 4. **Modernes C++20:** RAII, kein besitzendes `new`/`delete`, `const` wo möglich, kein
179
+ veränderlicher globaler Zustand, keine C-Casts. Neue Abhängigkeiten nur über `vcpkg.json`
180
+ mit Lizenzprüfung (ADR 0010) und Begründung im PR; Ausnahme für reine Python-Build- und
181
+ Testwerkzeuge siehe ADR 0018.
182
+ 5. **Konventionen sind Gesetz** (docs/architecture.md, Abschnitt Konventionen): mm, µm, rad
183
+ intern, Suffix `_deg` für Grad, +z optische Achse, Radiusvorzeichen, Rotationsreihenfolge.
184
+ Jede öffentliche Funktion dokumentiert Einheiten, Koordinatensystem und Vorzeichen im
185
+ Doxygen-Kommentar.
186
+ 6. **Physik mit Quelle:** jede Formel mit Literaturstelle (Quelle, Abschnitt, Gleichungsnummer)
187
+ im Kommentar. Zuerst [docs/quellen.md](docs/quellen.md) verwenden. Fehlt die Formel dort:
188
+ frei zugängliche Quelle mit Gleichungsnummer suchen, im Volltext lesen, Symbol für Symbol mit
189
+ dem Code vergleichen (Vorzeichen, Normalenrichtung, Einheiten) und im selben PR in
190
+ docs/quellen.md eintragen. Gleichungsnummern nie aus dem Gedächtnis oder aus Zitaten
191
+ übernehmen. Ein Frage-Issue erst, wenn keine prüfbare Quelle auffindbar ist.
192
+ 7. **Determinismus:** Zufall nur mit explizitem Seed; Parallelisierung darf Ergebnisse nicht
193
+ ändern.
194
+ 8. **Öffentliche Header** anderer Bibliotheken nicht ändern. Brauchst du eine Änderung,
195
+ beschreibe sie im Issue; sie kommt als eigener PR mit ADR.
196
+ 9. **Dateiformat:** Jede Änderung an Modell oder Format erhöht `kSchemaVersion`, passt
197
+ `rtt-io`, das JSON-Schema und die Referenzdateien an (`rtt format`) und bringt eine Migration.
198
+ 10. **Unklarheit = Frage, nicht Annahme.** Bei offenen physikalischen Konventionen oder
199
+ widersprüchlichen Vorgaben: Frage im Issue stellen und auf Antwort warten.
200
+
201
+ ## Neuer Flächentyp (Checkliste, ADR 0041)
202
+
203
+ Jeder neue Typ für `shape.base` oder `shape.terms` berührt alle diese Stellen; fehlt eine, fällt
204
+ das oft erst spät auf. Die Paraxialregel steht in ADR 0041, Punkt 2. Formatänderungen folgen
205
+ Regel 9; der Plan für M8 steht in ADR 0041, Punkt 7.
206
+
207
+ 1. **Modell** (`rtt-model`):
208
+ - Struct in `include/rtt/model/surface.hpp` und Alternative in `BaseShape` bzw. `ShapeTerm`;
209
+ - `validate.cpp`: Prüfung der Parameter in `check_shape` (vollständiger Besuch), Codes in der
210
+ Registry;
211
+ - `parameters.cpp`: Pointer jedes Params für `for_each_param` (vollständiger Besuch);
212
+ - Toleranzen: Arten und Klassen in `tolerance.cpp`, `tolerance_targets.cpp` und
213
+ `validate.cpp`, Anwenden und Vorzeichenprüfung in `rtt-tolerance/src/trial.cpp`, mit
214
+ Nachtrag zu ADR 0035, oder ausdrücklich keine.
215
+ 2. **Datei** (`rtt-io`, `schema/`):
216
+ - `json_io.cpp`: `read_base_shape` bzw. `read_shape_term`, Schreiben in `base_shape()` und
217
+ `shape()` (vollständiger Besuch), Versionsprüfung wie `check_0_5_forms`;
218
+ - JSON-Schema `base_shape` bzw. `shape_term`, `docs/dateiformat.md`;
219
+ - Tests: Roundtrip, Schlüssel der Bearbeitungsform (`test_edit.cpp`),
220
+ `test_for_each_param.cpp`, die Tests, die die Version festhalten.
221
+ 3. **Form** (`rtt-geom`):
222
+ - Klasse `final` mit `sag`, `grad` (beide `noexcept`), `base_conic` (Startwert des
223
+ Schnitts), `max_radius` und `vertex_expansion` (ADR 0041, Punkt 1), Quelle mit
224
+ Gleichungsnummer;
225
+ - analytischer Schnitt als eigene Überladung von `intersect`, sonst `intersect_newton`;
226
+ - Instanziierung in `src/instantiate.cpp`, Tests in `CMakeLists.txt`.
227
+ 4. **Kompilieren** (`rtt-compile`): Alternative in `CompiledShape` (`compiled_system.hpp`);
228
+ Abbildung Modell → Form in `compile_shape` (vollständiger Besuch); die Layout-Besuche in
229
+ `layout.cpp` sind generisch, prüfen.
230
+ 5. **Paraxial** (`rtt-paraxial`): Scheitelentwicklung nach ADR 0041, Punkt 2, also Scheitellage,
231
+ c und Kappe (K, A4) oder `ParaxialError`; Tests für erste Ordnung und Seidel bzw. den
232
+ Fehler.
233
+ 6. **Trace und Analysen:** `intersect_surface` und die Startebene der Zielung (`sources.cpp`)
234
+ besuchen generisch, die Startebene und die Mittendicke im Maßreport (`reports.cpp`) mit dem
235
+ Scheitel `sag(0, 0)`; ein Test mit einem realen Strahl durch die neue Fläche gegen eine
236
+ unabhängige Rechnung.
237
+ 7. **Ergebnisformat:** `SurfaceLayout` um die Parameter des Typs erweitern (Nachtrag zu
238
+ ADR 0023, Version des Ergebnisformats, `raytatouille-result.schema.json`,
239
+ `tests/reference/results/`).
240
+ 8. **Python** (`rtt-py`):
241
+ - Klasse in `bind_model_tree.cpp`, denn jede Alternative einer Variante braucht eine
242
+ gebundene Klasse;
243
+ - `shape_data()` in `bind_layout.cpp` (vollständiger Besuch);
244
+ - `model.py` (Import und `__all__`) und `layout.py`;
245
+ - Tests: `VARIANT_CLASSES` in `test_model_read.py`, `test_layout.py`, `test_edit_dict.py`;
246
+ - die Stubs entstehen beim Build aus den Docstrings.
247
+ 9. **Diagnosen:** neue Codes in `rtt-diagnostics/codes.hpp`, `docs/diagnostics.md`, je ein Fall
248
+ in `test_diagnostic_codes.cpp`.
249
+ 10. **Referenzen und Doku:**
250
+ - ein Beispiel unter `tests/reference/`; es läuft auch durch `tests/schema` und die
251
+ Python-Lesetests;
252
+ - in `docs/architecture.md` die Liste „Flächentypen v1“ (Abschnitt Geometrie) und
253
+ „Stand M1: Formen …“ (Absatz „Medien entlang eines Pfads“);
254
+ - `docs/quellen.md`, Changelog-Fragment.
255
+
256
+ ## Sprache und Stil
257
+
258
+ - Code, Kommentare, Commit-Messages und Bezeichner auf Englisch; Projektdokumentation auf Deutsch.
259
+ - Stil: `.clang-format` (Google-basiert, 100 Spalten). Dateinamen `snake_case`, Typen
260
+ `PascalCase`, Funktionen und Variablen `snake_case`, Konstanten `kName`, Member mit `_`-Suffix.
261
+ - Commits im Imperativ, ein Thema pro Commit, z. B. `geom: add even asphere sag and gradient`.
262
+
263
+ ## Definition of Done (PR-Checkliste)
264
+
265
+ - [ ] CI grün (Linux GCC/Clang/Sanitizer, Windows MSVC, macOS, Format, Schema)
266
+ - [ ] Referenztests für jedes neue physikalische Verhalten, mit Quelle
267
+ - [ ] Neue Quellen in `docs/quellen.md` eingetragen
268
+ - [ ] Öffentliche API mit Doxygen-Kommentaren inkl. Einheiten
269
+ - [ ] Changelog-Fragment `changelog.d/<issue>.<art>.md` angelegt (nicht `CHANGELOG.md` ändern; siehe `changelog.d/README.md`)
270
+ - [ ] Bei Formatänderung: Schema-Version, JSON-Schema, Referenzdateien, Migration
271
+ - [ ] Beispiel unter `tests/reference/` oder `examples/` für neue Features