pyflightstream 0.52.1__tar.gz → 0.53.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 (429) hide show
  1. {pyflightstream-0.52.1/src/pyflightstream.egg-info → pyflightstream-0.53.0}/PKG-INFO +1 -1
  2. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/pyproject.toml +5 -2
  3. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/_fsi_calibration.py +11 -0
  4. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/_fsm.py +56 -0
  5. pyflightstream-0.53.0/src/pyflightstream/_mesh.py +244 -0
  6. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/_textio.py +235 -0
  7. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/_farfield_spec.py +4 -2
  8. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/fsi_workspace.py +235 -2
  9. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/pproc.py +35 -1
  10. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/__init__.py +6 -0
  11. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_export_first_step.py +7 -10
  12. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_farfield.py +67 -18
  13. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_frames.py +8 -8
  14. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_pproc.py +9 -1
  15. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_probe_imports.py +1 -1
  16. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_probes.py +104 -25
  17. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_qsteady_rotor.py +5 -30
  18. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_skeleton.py +159 -13
  19. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_timing.py +55 -1
  20. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_vocabulary.py +31 -0
  21. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/fsi/_direct_morphing.py +102 -0
  22. pyflightstream-0.53.0/src/pyflightstream/fsi/calibration.py +23 -0
  23. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/fsi/centrifugal.py +6 -1
  24. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/fsi/config.py +25 -0
  25. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/fsi/driver.py +47 -14
  26. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/fsi/sections.py +648 -1
  27. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/_field_inputs.py +1 -1
  28. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/_products_campaign.py +77 -11
  29. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/_reduction_stage.py +6 -0
  30. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/_settings_product.py +44 -15
  31. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/_sim.py +10 -3
  32. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/_stage.py +270 -19
  33. pyflightstream-0.53.0/src/pyflightstream/post/_structure.py +580 -0
  34. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/farfield_products.py +40 -6
  35. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/input_template.py +1 -0
  36. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/products.py +107 -73
  37. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/superfile.py +9 -2
  38. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_campaign.py +81 -56
  39. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_cli_geometry.py +52 -0
  40. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_cli_parsers.py +16 -5
  41. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_cli_print.py +4 -0
  42. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_executors.py +5 -0
  43. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_ids.py +79 -1
  44. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_pending.py +42 -3
  45. pyflightstream-0.53.0/src/pyflightstream/run/_plan_report.py +877 -0
  46. pyflightstream-0.53.0/src/pyflightstream/run/_post_selection.py +167 -0
  47. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_solver_windows.py +131 -1
  48. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_wake_edge_verdict.py +1 -1
  49. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/cli.py +19 -13
  50. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/collect.py +12 -2
  51. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/script/__init__.py +1 -0
  52. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/script/_ledger_tables.py +76 -18
  53. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/__init__.py +3 -9
  54. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_batch_life.py +9 -4
  55. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_free_space.py +220 -57
  56. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_links.py +3 -1
  57. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_matrix_phases.py +37 -4
  58. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_refine/_config.py +26 -6
  59. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_refine/_level.py +2 -2
  60. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_refine/_staging.py +25 -2
  61. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_visual_inspect.py +84 -0
  62. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/fsi_setup.py +616 -19
  63. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/storage.py +29 -63
  64. {pyflightstream-0.52.1 → pyflightstream-0.53.0/src/pyflightstream.egg-info}/PKG-INFO +1 -1
  65. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream.egg-info/SOURCES.txt +1 -0
  66. pyflightstream-0.52.1/src/pyflightstream/_mesh.py +0 -90
  67. pyflightstream-0.52.1/src/pyflightstream/fsi/calibration.py +0 -10
  68. pyflightstream-0.52.1/src/pyflightstream/post/_structure.py +0 -192
  69. pyflightstream-0.52.1/src/pyflightstream/run/_plan_report.py +0 -246
  70. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/LICENSE +0 -0
  71. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/MANIFEST.in +0 -0
  72. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/README.md +0 -0
  73. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/setup.cfg +0 -0
  74. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/__init__.py +0 -0
  75. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/_atmosphere.py +0 -0
  76. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/_cli.py +0 -0
  77. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/_console.py +0 -0
  78. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/_decimal.py +0 -0
  79. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/_deprecations.py +0 -0
  80. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/_digest.py +0 -0
  81. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/_errors.py +0 -0
  82. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/_expressions.py +0 -0
  83. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/_fsm_fresh.py +0 -0
  84. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/_lengths.py +0 -0
  85. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/_maturity.py +0 -0
  86. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/_progress.py +0 -0
  87. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/_retired_names.py +0 -0
  88. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/_signature.py +0 -0
  89. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/_tokens.py +0 -0
  90. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/_yamlflow.py +0 -0
  91. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/__init__.py +0 -0
  92. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/_ccs.py +0 -0
  93. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/_fsi_external.py +0 -0
  94. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/_geometry_emit.py +0 -0
  95. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/_geometry_instruction.py +0 -0
  96. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/_matrix_layouts.py +0 -0
  97. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/_matrix_upgrade.py +0 -0
  98. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/_setup_keys.py +0 -0
  99. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/_setup_link.py +0 -0
  100. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/_skipped_families.py +0 -0
  101. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/_sweep_names.py +0 -0
  102. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/_unsteady_actions.py +0 -0
  103. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/acoustics.py +0 -0
  104. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/ccs_fuselage.py +0 -0
  105. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/ccs_revolution.py +0 -0
  106. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/ccs_wing.py +0 -0
  107. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/corrections.py +0 -0
  108. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/farfield_inputs.py +0 -0
  109. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/field_coverage.py +0 -0
  110. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/freestream.py +0 -0
  111. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/matrix.py +0 -0
  112. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/mesh.py +0 -0
  113. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/naming.py +0 -0
  114. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/qsteady.py +0 -0
  115. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/reference_blocks.py +0 -0
  116. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/selection.py +0 -0
  117. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/settings.py +0 -0
  118. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/setup_surfaces.py +0 -0
  119. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/sixdof.py +0 -0
  120. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/windows.py +0 -0
  121. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_actuator.py +0 -0
  122. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_additional.py +0 -0
  123. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_batch_actions.py +0 -0
  124. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_batch_script.py +0 -0
  125. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_clock.py +0 -0
  126. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_conventions.py +0 -0
  127. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_exports.py +0 -0
  128. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_freestream.py +0 -0
  129. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_gap_evidence.py +0 -0
  130. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_geometry.py +0 -0
  131. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_motion.py +0 -0
  132. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_names.py +0 -0
  133. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_reductions.py +0 -0
  134. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_registry.py +0 -0
  135. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_rotor.py +0 -0
  136. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_row_cells.py +0 -0
  137. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_rows.py +0 -0
  138. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_sixdof.py +0 -0
  139. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_solver_settings.py +0 -0
  140. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_steady.py +0 -0
  141. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_streamlines.py +0 -0
  142. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_unsteady.py +0 -0
  143. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_wake_length.py +0 -0
  144. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/__init__.py +0 -0
  145. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/_meta.yaml +0 -0
  146. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/_schema.py +0 -0
  147. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/acoustics.yaml +0 -0
  148. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/actuators.yaml +0 -0
  149. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/advanced_settings.yaml +0 -0
  150. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/aeroelastic_coupling.yaml +0 -0
  151. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/base_regions.yaml +0 -0
  152. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/boundary_conditions.yaml +0 -0
  153. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/cad.yaml +0 -0
  154. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/cad_create.yaml +0 -0
  155. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/ccs_fuselage_mesh.yaml +0 -0
  156. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/ccs_revolve_mesh.yaml +0 -0
  157. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/ccs_wing_mesh.yaml +0 -0
  158. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/coordinate_systems.yaml +0 -0
  159. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/file_io.yaml +0 -0
  160. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/free_surfaces.yaml +0 -0
  161. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/inlets_outlets.yaml +0 -0
  162. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/mesh_import_export.yaml +0 -0
  163. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/mesh_operations.yaml +0 -0
  164. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/mesh_unite.yaml +0 -0
  165. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/mesh_wrapper.yaml +0 -0
  166. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/motion_definitions.yaml +0 -0
  167. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/plots.yaml +0 -0
  168. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/probe_points.yaml +0 -0
  169. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/runtime_settings.yaml +0 -0
  170. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/scene_settings.yaml +0 -0
  171. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/scenes.yaml +0 -0
  172. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/script_controls.yaml +0 -0
  173. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/simulation_controls.yaml +0 -0
  174. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/solver_analysis.yaml +0 -0
  175. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/solver_contours.yaml +0 -0
  176. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/solver_export.yaml +0 -0
  177. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/solver_initialization.yaml +0 -0
  178. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/solver_settings.yaml +0 -0
  179. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/stability_toolbox.yaml +0 -0
  180. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/streamlines.yaml +0 -0
  181. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/surface_sections.yaml +0 -0
  182. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/sweeper.yaml +0 -0
  183. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/transition_trips.yaml +0 -0
  184. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/unsteady_solver.yaml +0 -0
  185. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/commands/volume_sections.yaml +0 -0
  186. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/exceptions.py +0 -0
  187. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/extras.py +0 -0
  188. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/farfield/__init__.py +0 -0
  189. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/farfield/balances.py +0 -0
  190. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/farfield/fields.py +0 -0
  191. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/farfield/quadrature.py +0 -0
  192. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/farfield/trefftz.py +0 -0
  193. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/fsi/__init__.py +0 -0
  194. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/fsi/beam.py +0 -0
  195. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/fsi/cli.py +0 -0
  196. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/fsi/errors.py +0 -0
  197. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/fsi/external.py +0 -0
  198. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/fsi/kinematics.py +0 -0
  199. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/fsi/loads.py +0 -0
  200. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/fsi/materials.py +0 -0
  201. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/fsi/nodes.py +0 -0
  202. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/fsi/state.py +0 -0
  203. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/fsi/wing.py +0 -0
  204. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/options.py +0 -0
  205. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/overview.py +0 -0
  206. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/__init__.py +0 -0
  207. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/_additional.py +0 -0
  208. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/_admit.py +0 -0
  209. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/_condition.py +0 -0
  210. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/_installed_copies.py +0 -0
  211. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/_matrix_template.py +0 -0
  212. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/_noise_products.py +0 -0
  213. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/_rotor_plan.py +0 -0
  214. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/_rotor_products.py +0 -0
  215. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/_tables.py +0 -0
  216. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/_transfer_functions.py +0 -0
  217. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/acoustics.py +0 -0
  218. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/axes.py +0 -0
  219. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/boundary_layer.py +0 -0
  220. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/corrections.py +0 -0
  221. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/custom_polar.py +0 -0
  222. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/diagnostics.py +0 -0
  223. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/disc_maps.py +0 -0
  224. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/equations.py +0 -0
  225. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/farfield_fields.py +0 -0
  226. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/field_frames.py +0 -0
  227. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/glossary.py +0 -0
  228. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/guides.py +0 -0
  229. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/harmonics.py +0 -0
  230. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/inflow_tools.py +0 -0
  231. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/point_tables.py +0 -0
  232. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/polar.py +0 -0
  233. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/probe_fields.py +0 -0
  234. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/provenance.py +0 -0
  235. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/qsteady.py +0 -0
  236. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/qsteady_noise.py +0 -0
  237. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/reductions.py +0 -0
  238. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/rotor_table.py +0 -0
  239. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/section_distributions.py +0 -0
  240. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/series.py +0 -0
  241. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/settings_table.py +0 -0
  242. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/streamlines.py +0 -0
  243. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/surfaces.py +0 -0
  244. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/unsteady.py +0 -0
  245. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/unsteady_polar.py +0 -0
  246. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/post/writers.py +0 -0
  247. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/probes/__init__.py +0 -0
  248. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/probes/_model.py +0 -0
  249. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/probes/errors.py +0 -0
  250. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/probes/geometry.py +0 -0
  251. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/probes/lattice.py +0 -0
  252. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/probes/layouts.py +0 -0
  253. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/probes/planar.py +0 -0
  254. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/qa/__init__.py +0 -0
  255. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/qa/_reanalysis.py +0 -0
  256. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/qa/_spec_0400_gap.py +0 -0
  257. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/qa/_spec_0400_gapbase.py +0 -0
  258. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/qa/_spec_0400_gapedges.py +0 -0
  259. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/qa/_spec_0400_gapkit.py +0 -0
  260. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/qa/_spec_0460_marking.py +0 -0
  261. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/qa/_spec_26125.py +0 -0
  262. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/qa/_spec_catalog_b.py +0 -0
  263. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/qa/_spec_ccs_mesh.py +0 -0
  264. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/qa/_spec_ccs_noise.py +0 -0
  265. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/qa/_spec_kit.py +0 -0
  266. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/qa/_spec_t1.py +0 -0
  267. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/qa/cli.py +0 -0
  268. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/qa/compat.py +0 -0
  269. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/qa/cost.py +0 -0
  270. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/qa/drift.py +0 -0
  271. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/qa/errors.py +0 -0
  272. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/qa/geometry.py +0 -0
  273. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/qa/matrix.py +0 -0
  274. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/qa/physics.py +0 -0
  275. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/qa/probes.py +0 -0
  276. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/qa/references/PHY-01.yaml +0 -0
  277. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/qa/references/PHY-02.yaml +0 -0
  278. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/qa/references/PHY-05.yaml +0 -0
  279. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/qa/references/PHY-06.yaml +0 -0
  280. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/qa/references/SMI-01.yaml +0 -0
  281. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/qa/references/SMI-02.yaml +0 -0
  282. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/qa/references/pressure-drag/PHY-01.yaml +0 -0
  283. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/qa/references/pressure-drag/PHY-02.yaml +0 -0
  284. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/qa/references/pressure-drag/PHY-05.yaml +0 -0
  285. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/qa/references/pressure-drag/PHY-06.yaml +0 -0
  286. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/qa/reports.py +0 -0
  287. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/qa/specs.py +0 -0
  288. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/reference.py +0 -0
  289. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/results/__init__.py +0 -0
  290. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/results/conditions.py +0 -0
  291. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/results/core.py +0 -0
  292. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/results/exports.py +0 -0
  293. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/results/loads.py +0 -0
  294. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/results/log.py +0 -0
  295. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/results/native_surface.py +0 -0
  296. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/results/sectional_loads.py +0 -0
  297. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/results/surface.py +0 -0
  298. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/results/tables.py +0 -0
  299. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/results/wake.py +0 -0
  300. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/__init__.py +0 -0
  301. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_actions_counter.py +0 -0
  302. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_additional.py +0 -0
  303. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_alias.py +0 -0
  304. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_assemble.py +0 -0
  305. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_assessment.py +0 -0
  306. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_batch_collect.py +0 -0
  307. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_batch_exec.py +0 -0
  308. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_batch_plan.py +0 -0
  309. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_batch_run.py +0 -0
  310. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_batch_split.py +0 -0
  311. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_cli_mesh.py +0 -0
  312. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_cli_parsers_storage.py +0 -0
  313. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_cli_query.py +0 -0
  314. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_cli_query_history.py +0 -0
  315. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_cli_query_point.py +0 -0
  316. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_collect_logs.py +0 -0
  317. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_collect_notes.py +0 -0
  318. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_continuation.py +0 -0
  319. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_continuation_frame.py +0 -0
  320. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_field_motion.py +0 -0
  321. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_grouped.py +0 -0
  322. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_identity.py +0 -0
  323. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_mark_converged.py +0 -0
  324. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_matrix_warnings.py +0 -0
  325. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_plan.py +0 -0
  326. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_points.py +0 -0
  327. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_rebuild.py +0 -0
  328. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_rebuild_evidence.py +0 -0
  329. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_rebuild_grouped.py +0 -0
  330. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_rebuild_summary.py +0 -0
  331. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_record_files.py +0 -0
  332. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_step_exports.py +0 -0
  333. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/_sweep.py +0 -0
  334. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/matrix.py +0 -0
  335. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/run/records.py +0 -0
  336. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/script/_arg_checks.py +0 -0
  337. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/script/_build_forms.py +0 -0
  338. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/script/_marking.py +0 -0
  339. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/script/_phase_order.py +0 -0
  340. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/script/_relaxed_te.py +0 -0
  341. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/script/_settings.py +0 -0
  342. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/script/_surface_averaging.py +0 -0
  343. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/script/_wake_edge_file.py +0 -0
  344. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/script/entities.py +0 -0
  345. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/script/helpers.py +0 -0
  346. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/script/motion.py +0 -0
  347. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/script/rotor_vocabulary.py +0 -0
  348. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/script/solver_setup.py +0 -0
  349. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/script/toggles.py +0 -0
  350. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/support.py +0 -0
  351. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/testing.py +0 -0
  352. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/utils/__init__.py +0 -0
  353. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/utils/cli.py +0 -0
  354. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/utils/database.py +0 -0
  355. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/utils/errors.py +0 -0
  356. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/utils/manual.py +0 -0
  357. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/versions.py +0 -0
  358. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_batch_relocate.py +0 -0
  359. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_batches.py +0 -0
  360. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_degenerate.py +0 -0
  361. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_effective.py +0 -0
  362. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_geometry_build.py +0 -0
  363. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_geometry_clean.py +0 -0
  364. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_geometry_convert.py +0 -0
  365. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_geometry_instruction.py +0 -0
  366. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_geometry_record.py +0 -0
  367. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_geometry_sidecar.py +0 -0
  368. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_geometry_vtk.py +0 -0
  369. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_inspect_pages.py +0 -0
  370. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_layout.py +0 -0
  371. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_ledger_api.py +0 -0
  372. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_ledger_history.py +0 -0
  373. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_mark_boundaries.py +0 -0
  374. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_matrix_binding.py +0 -0
  375. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_matrix_homes.py +0 -0
  376. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_missing_log.py +0 -0
  377. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_query_files.py +0 -0
  378. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_query_logs.py +0 -0
  379. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_query_point.py +0 -0
  380. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_refine/__init__.py +0 -0
  381. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_refine/_audit.py +0 -0
  382. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_refine/_blocks.py +0 -0
  383. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_refine/_geometry.py +0 -0
  384. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_refine/_grid.py +0 -0
  385. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_refine/_layout.py +0 -0
  386. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_refine/_lines.py +0 -0
  387. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_refine/_nastran.py +0 -0
  388. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_refine/_obj.py +0 -0
  389. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_refine/_prepare.py +0 -0
  390. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_refine/_remesh.py +0 -0
  391. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_refine/_remesh_group.py +0 -0
  392. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_refine/_remesh_pairs.py +0 -0
  393. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_row_setup.py +0 -0
  394. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_script_comparison.py +0 -0
  395. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_settings_file.py +0 -0
  396. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_step_prune.py +0 -0
  397. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_verdicts.py +0 -0
  398. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/actuator_profiles.py +0 -0
  399. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/builds.py +0 -0
  400. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/cli.py +0 -0
  401. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/costs.py +0 -0
  402. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/excel.py +0 -0
  403. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/excel_bridge.py +0 -0
  404. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/excel_file.py +0 -0
  405. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/excel_sync.py +0 -0
  406. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/fields.py +0 -0
  407. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/flight_condition.py +0 -0
  408. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/fsi_external_setup.py +0 -0
  409. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/hpc.py +0 -0
  410. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/inputs.py +0 -0
  411. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/ledger.py +0 -0
  412. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/manifest.py +0 -0
  413. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/matrix.py +0 -0
  414. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/migrate.py +0 -0
  415. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/naming.py +0 -0
  416. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/record_document.py +0 -0
  417. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/selections.py +0 -0
  418. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/setup_inspection.py +0 -0
  419. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/setup_standards.py +0 -0
  420. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/sidecars.py +0 -0
  421. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/sixdof_setup.py +0 -0
  422. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/trailing_edges.py +0 -0
  423. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream/workspace/wake_edges.py +0 -0
  424. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream.egg-info/dependency_links.txt +0 -0
  425. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream.egg-info/entry_points.txt +0 -0
  426. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream.egg-info/requires.txt +0 -0
  427. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/src/pyflightstream.egg-info/top_level.txt +0 -0
  428. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/tools/check_shipped_surface.py +0 -0
  429. {pyflightstream-0.52.1 → pyflightstream-0.53.0}/tools/shipped_surface.conf +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyflightstream
3
- Version: 0.52.1
3
+ Version: 0.53.0
4
4
  Summary: Version-aware, didactic Python driver for the FlightStream panel-method solver
5
5
  Author: Geovana Neves
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "pyflightstream"
7
- version = "0.52.1"
7
+ version = "0.53.0"
8
8
  description = "Version-aware, didactic Python driver for the FlightStream panel-method solver"
9
9
  readme = "README.md"
10
10
  license = {text = "MIT"}
@@ -79,7 +79,10 @@ classifiers = [
79
79
  # with, which the same test measures. The CI leg `test-floors` installs the
80
80
  # floors of every runtime dependency and user extra and runs tier 1 on them. pydantic
81
81
  # is not a SPEC 0 project: its floor is the major whose API this package
82
- # is written against (field_validator, model_validator).
82
+ # is written against (field_validator, model_validator). Its floor is a patch release,
83
+ # 2.10.4, because workspace/inputs.py annotates a wrap validator with
84
+ # ModelWrapValidatorHandler, which the 2.10.0 and 2.10.3 wheels do not export and
85
+ # the 2.10.4 wheel does.
83
86
  # matplotlib and scipy carry the SPEC 0 floor computed on 2026-10-28 (the oldest
84
87
  # minor released within two years): matplotlib 3.10 of 2024-12, scipy 1.15 of
85
88
  # 2025-01. rtree is not a SPEC 0 project: its floor is 1.1, the first release
@@ -25,3 +25,14 @@ MATERIAL_FACTORS = (
25
25
  )
26
26
  CALIBRATION_FACTORS = (*PROPERTY_FACTORS, *MATERIAL_FACTORS)
27
27
  MATRIX_FACTORS = {f"FSI_{key.upper()}_FACTOR": key for key in CALIBRATION_FACTORS}
28
+
29
+ #: The matrix keys that replace the input file's wake development (structural start) for one row:
30
+ #: revolutions of rigid wake before the structural solver starts, or the first time step whose
31
+ #: coupling call may deform the blade (a non-zero beam field). The start governs the deformation;
32
+ #: Direct RIGID with the solver-frame compensation writes the blade's rigid turn from call 1.
33
+ START_REV_KEY = "FSI_START_REV"
34
+ START_ITER_KEY = "FSI_START_ITER"
35
+ MATRIX_START_KEYS = (START_REV_KEY, START_ITER_KEY)
36
+
37
+ #: The FSI input's ``[config]`` setting of the same compensation, off when not stated.
38
+ FRAME_COMPENSATION_SETTING = "solver_frame_compensation"
@@ -62,6 +62,7 @@ __all__ = [
62
62
  "boundary_labels",
63
63
  "boundary_names",
64
64
  "boundary_owners",
65
+ "boundary_surface",
65
66
  "resolve_family",
66
67
  "saved_actuators",
67
68
  "saved_base_regions",
@@ -1321,3 +1322,58 @@ def boundary_vertices(
1321
1322
  name: tuple(vertices[index] for index in sorted(used.get(position, ())))
1322
1323
  for name, position in labels.items()
1323
1324
  }
1325
+
1326
+
1327
+ def boundary_surface(
1328
+ path: str | Path, name: str
1329
+ ) -> tuple[tuple[tuple[float, float, float], ...], tuple[tuple[int, int, int], ...]]:
1330
+ """Return the surface of one named boundary of a saved simulation (FR-3416).
1331
+
1332
+ The faces are those the block's boundary row assigns to the boundary
1333
+ ``name`` selects; the vertices are the ones those faces use, each once,
1334
+ in the order the block stores them, and the triangles index them from 0.
1335
+ A name more than one boundary carries selects none, as
1336
+ :func:`boundary_labels` leaves it out of the inventory.
1337
+
1338
+ Parameters
1339
+ ----------
1340
+ path : str or Path
1341
+ A saved simulation file.
1342
+ name : str
1343
+ The boundary's name in the file.
1344
+
1345
+ Returns
1346
+ -------
1347
+ tuple of (x, y, z)
1348
+ The boundary's vertices in stored internal coordinates
1349
+ (:func:`saved_mesh_coordinate_unit` says their unit).
1350
+ tuple of (int, int, int)
1351
+ Its triangles, as 0-based indices into those vertices.
1352
+
1353
+ Raises
1354
+ ------
1355
+ MeshReadError
1356
+ As :func:`surface_mesh`; also when the block carries no boundary
1357
+ row, so no face can be told to a boundary, or no single boundary
1358
+ carries ``name``.
1359
+ """
1360
+ vertices, triangles, _, owners = _mesh_block(path)
1361
+ if not owners or len(owners) != len(triangles):
1362
+ raise MeshReadError(
1363
+ f"{Path(path).name}: its mesh block carries no boundary row, so no face can be "
1364
+ f"told to the boundary {name!r}"
1365
+ )
1366
+ labels, _ = boundary_labels(boundary_names(path) or ())
1367
+ position = labels.get(name)
1368
+ if position is None:
1369
+ raise MeshReadError(
1370
+ f"{Path(path).name}: no single boundary is named {name!r}; its boundaries are "
1371
+ f"{', '.join(sorted(labels)) or 'none'}"
1372
+ )
1373
+ faces = [face for face, owner in zip(triangles, owners, strict=True) if owner == position]
1374
+ used = sorted({index for face in faces for index in face})
1375
+ renumber = {old: new for new, old in enumerate(used)}
1376
+ return (
1377
+ tuple(vertices[index] for index in used),
1378
+ tuple((renumber[a], renumber[b], renumber[c]) for a, b, c in faces),
1379
+ )
@@ -0,0 +1,244 @@
1
+ """The mesh reader this package reads surface geometry through.
2
+
3
+ Pipeline role: below every layer, imported by the ones that need a mesh
4
+ and importing nothing from this package. It exists for the same reason
5
+ :mod:`pyflightstream._digest` does: two layers need one thing, and
6
+ neither may import the other to get it. The probe planner's geometry
7
+ gate (a side branch) and the workspace layer's trailing-edge extraction
8
+ both read a surface mesh through this shared accessor.
9
+
10
+ WHY THE IMPORT IS DEFERRED AND NOT AT MODULE LEVEL. ``trimesh`` is a
11
+ RUNTIME dependency of this package (design note DD-27), so its absence is a
12
+ broken installation rather than
13
+ a missing extra. It is still imported at call time, and the reason is
14
+ cost rather than availability: ``import pyflightstream`` reaches the
15
+ workspace layer eagerly, and a reader that costs 3.89 MiB and pulls its
16
+ own numpy machinery has no business being paid for by a user who only
17
+ wanted to build a script.
18
+
19
+ WHAT HAPPENS WHEN IT IS ABSENT. Trimesh is a declared runtime dependency
20
+ exactly as numpy and pydantic are, and none of those is guarded anywhere in
21
+ this package: an environment missing one is an incomplete install, and the
22
+ interpreter's own ``ModuleNotFoundError``, naming the module and nothing
23
+ else, is the same answer every other runtime dependency gives. The same
24
+ holds for the SPATIAL INDEX (``scipy`` and ``rtree``) that trimesh's
25
+ containment and distance-to-surface queries go through: both are runtime
26
+ dependencies too.
27
+ """
28
+
29
+ from __future__ import annotations
30
+
31
+ from pathlib import Path
32
+ from typing import Any
33
+
34
+ import numpy as np
35
+
36
+ from pyflightstream._errors import InputValueError
37
+
38
+ __all__ = ["mesh_reader", "obj_group_surface", "plane_cut_pieces", "read_mesh", "weld"]
39
+
40
+
41
+ def mesh_reader() -> Any:
42
+ """Return the ``trimesh`` module, imported at call time.
43
+
44
+ The ONE accessor. Every site in this package that needs the reader
45
+ calls this rather than writing its own deferred import, so there is
46
+ a single place where the import cost is paid and a single place a
47
+ later decision about the reader has to be made.
48
+
49
+ Returns
50
+ -------
51
+ module
52
+ The imported ``trimesh`` module.
53
+
54
+ Raises
55
+ ------
56
+ ModuleNotFoundError
57
+ If trimesh is not installed. Deliberately not translated into a
58
+ refusal of this package's own: see this module's docstring, it
59
+ is a declared runtime dependency and its absence is an
60
+ incomplete installation rather than a missing extra.
61
+
62
+ Examples
63
+ --------
64
+ >>> from pyflightstream._mesh import mesh_reader
65
+ >>> mesh_reader().__name__
66
+ 'trimesh'
67
+ """
68
+ import trimesh
69
+
70
+ return trimesh
71
+
72
+
73
+ def read_mesh(path: str | Path) -> Any:
74
+ """Load one surface mesh file through :func:`mesh_reader`.
75
+
76
+ Parameters
77
+ ----------
78
+ path : str or pathlib.Path
79
+ Mesh file (``.obj`` or ``.stl``), in the simulation's own length
80
+ units and reference frame.
81
+
82
+ Returns
83
+ -------
84
+ trimesh.Trimesh
85
+ The loaded mesh. Nothing here inspects it; the caller states
86
+ what it needs of it (watertightness, a spanwise extent) and
87
+ refuses in its own vocabulary.
88
+
89
+ Notes
90
+ -----
91
+ ``load_mesh`` is the typed loader; the ``load(force="mesh")`` form is
92
+ the deprecated content-dependent compatibility wrapper.
93
+ """
94
+ return mesh_reader().load_mesh(str(path))
95
+
96
+
97
+ def obj_group_surface(path: Path, name: str) -> tuple[np.ndarray, np.ndarray]:
98
+ r"""Read the faces of one object or group of an OBJ, as vertices and 0-based triangles.
99
+
100
+ Polygons are split into a fan of triangles. The vertices are those the group's
101
+ faces use. A coupled blade is its group of the imported OBJ (FR-3416, FR-3417).
102
+
103
+ Parameters
104
+ ----------
105
+ path : pathlib.Path
106
+ The OBJ file.
107
+ name : str
108
+ The ``o`` or ``g`` name of the group, a boundary name of the mesh.
109
+
110
+ Returns
111
+ -------
112
+ tuple of numpy.ndarray
113
+ The vertices ``(v, 3)`` and the 0-based triangles ``(f, 3)``.
114
+
115
+ Raises
116
+ ------
117
+ InputValueError
118
+ If the file holds no face of ``name``.
119
+
120
+ Examples
121
+ --------
122
+ >>> import tempfile
123
+ >>> from pathlib import Path
124
+ >>> with tempfile.TemporaryDirectory() as folder:
125
+ ... obj = Path(folder) / "blade.obj"
126
+ ... _ = obj.write_text("g blade\nv 0 0 0\nv 1 0 0\nv 0 1 0\nf 1 2 3\n")
127
+ ... vertices, triangles = obj_group_surface(obj, "blade")
128
+ >>> vertices.shape, triangles.tolist()
129
+ ((3, 3), [[0, 1, 2]])
130
+ """
131
+ vertices: list[list[float]] = []
132
+ triangles: list[list[int]] = []
133
+ current = ""
134
+ for line in path.read_text(encoding="utf-8", errors="replace").splitlines():
135
+ words = line.split("#", 1)[0].split()
136
+ if not words:
137
+ continue
138
+ if words[0] in ("o", "g") and len(words) > 1:
139
+ current = words[1]
140
+ elif words[0] == "v" and len(words) >= 4:
141
+ vertices.append([float(word) for word in words[1:4]])
142
+ elif words[0] == "f" and current == name:
143
+ index = [int(word.split("/", 1)[0]) for word in words[1:]]
144
+ index = [i - 1 if i > 0 else len(vertices) + i for i in index]
145
+ triangles.extend([index[0], index[k], index[k + 1]] for k in range(1, len(index) - 1))
146
+ if not triangles:
147
+ raise InputValueError(f"{path.name} holds no face of {name!r}; the blade cannot be placed")
148
+ faces = np.asarray(triangles, dtype=np.int64)
149
+ used, inverse = np.unique(faces, return_inverse=True)
150
+ return np.asarray(vertices, dtype=float)[used], inverse.reshape(-1, 3)
151
+
152
+
153
+ def weld(vertices: Any, faces: Any, fraction: float = 1.0e-9) -> tuple[np.ndarray, np.ndarray]:
154
+ """Merge coincident vertices and drop the triangles that collapse (PFS-2185.11).
155
+
156
+ A seam written twice (two vertices at one point) would otherwise open the surface
157
+ for a cut that follows the mesh's edges.
158
+
159
+ Parameters
160
+ ----------
161
+ vertices : array_like, shape (v, 3)
162
+ The vertices.
163
+ faces : array_like, shape (f, 3)
164
+ The 0-based triangles.
165
+ fraction : float, optional
166
+ Vertices closer than this fraction of the mesh's extent are one vertex.
167
+
168
+ Returns
169
+ -------
170
+ tuple of numpy.ndarray
171
+ The merged vertices and the triangles indexing them.
172
+ """
173
+ points = np.asarray(vertices, dtype=float)
174
+ span = float(np.max(np.ptp(points, axis=0))) or 1.0
175
+ keys = np.round(points / (span * fraction))
176
+ _, first, inverse = np.unique(keys, axis=0, return_index=True, return_inverse=True)
177
+ triangles = inverse.reshape(-1)[np.asarray(faces, dtype=np.int64)]
178
+ a, b, c = triangles.T
179
+ return points[first], triangles[(a != b) & (b != c) & (a != c)]
180
+
181
+
182
+ def plane_cut_pieces(
183
+ points: np.ndarray, triangles: np.ndarray, height: float
184
+ ) -> list[tuple[np.ndarray, bool]] | None:
185
+ """Chain the cut of a mesh by the plane z = ``height`` into pieces (PFS-2185.11).
186
+
187
+ Each crossing triangle links the two of its edges the plane crosses, so a piece
188
+ follows the mesh's own connectivity: a loop where the surface closes around the
189
+ plane, an open chain where it ends. A vertex on the plane counts as above it.
190
+
191
+ Parameters
192
+ ----------
193
+ points : numpy.ndarray, shape (v, 3)
194
+ The vertices.
195
+ triangles : numpy.ndarray, shape (f, 3)
196
+ The 0-based triangles.
197
+ height : float
198
+ The plane's z.
199
+
200
+ Returns
201
+ -------
202
+ list of (numpy.ndarray, bool) or None
203
+ Each piece's x, y points in order and whether it closes; None where an edge is
204
+ crossed by more than two triangles, so the pieces branch.
205
+ """
206
+ depth = points[:, 2] - height
207
+ above = depth >= 0.0
208
+ corners = above[triangles]
209
+ crossing = triangles[corners.any(axis=1) & ~corners.all(axis=1)]
210
+ if not len(crossing):
211
+ return []
212
+ start, end = crossing, np.roll(crossing, -1, axis=1)
213
+ count = len(points)
214
+ keys = np.minimum(start, end) * count + np.maximum(start, end)
215
+ edges, links = np.unique(keys[above[start] != above[end]], return_inverse=True)
216
+ first, second = edges // count, edges % count
217
+ share = depth[first] / (depth[first] - depth[second])
218
+ xy = (points[first] + share[:, None] * (points[second] - points[first]))[:, :2]
219
+ chains = _chains(links.reshape(-1, 2), len(edges))
220
+ return None if chains is None else [(xy[chain], closed) for chain, closed in chains]
221
+
222
+
223
+ def _chains(links: np.ndarray, count: int) -> list[tuple[list[int], bool]] | None:
224
+ """Walk the links into chains, open ones from their ends first; None at a branch."""
225
+ neighbours: list[list[int]] = [[] for _ in range(count)]
226
+ for u, v in links.tolist():
227
+ neighbours[u].append(v)
228
+ neighbours[v].append(u)
229
+ if any(len(near) > 2 for near in neighbours):
230
+ return None
231
+ seen = [False] * count
232
+ ends = [i for i in range(count) if len(neighbours[i]) == 1]
233
+ chains = []
234
+ for start in [*ends, *range(count)]:
235
+ if seen[start]:
236
+ continue
237
+ chain, previous, current = [start], -1, start
238
+ seen[start] = True
239
+ while step := [k for k in neighbours[current] if k != previous and not seen[k]]:
240
+ previous, current = current, step[0]
241
+ seen[current] = True
242
+ chain.append(current)
243
+ chains.append((chain, len(neighbours[start]) == 2))
244
+ return chains
@@ -24,6 +24,14 @@ of what the solver printed. It does not cover binary writes (a workbook, a
24
24
  byte-exact copy, a digest input), which are not text files. The CSV
25
25
  functions fix the one thing the ``csv`` module decides on its own, its
26
26
  default record terminator, which is CRLF whatever the handle does.
27
+
28
+
29
+ THE EXTENDED-LENGTH SPELLING. Windows refuses a file operation on a path of 260
30
+ characters or more unless the path is spelled ``\\?\`` followed by the absolute path
31
+ (``\\?\UNC\`` followed by the share for a network path). A workspace passes that
32
+ length once a datapoint's earlier attempt is moved into ``archive/<stamp>/``. The
33
+ :func:`long_path` spelling is handed to the file operation only; the names written do
34
+ not change.
27
35
  """
28
36
 
29
37
  from __future__ import annotations
@@ -32,6 +40,9 @@ import csv
32
40
  import json
33
41
  import os
34
42
  import stat
43
+ import sys
44
+ import threading
45
+ import time
35
46
  from collections.abc import Iterable, Iterator, Sequence
36
47
  from contextlib import contextmanager
37
48
  from pathlib import Path
@@ -248,3 +259,227 @@ def append_lines(path: str | Path, lines: Iterable[str], *, encoding: str = "utf
248
259
  handle.write(line + LINE_END)
249
260
  count += 1
250
261
  return count
262
+
263
+
264
+ _EXTENDED_PREFIX = "\\\\?\\"
265
+
266
+
267
+ def extended_length(path: str | os.PathLike[str], *, windows: bool | None = None) -> str:
268
+ r"""Return ``path`` in the spelling a file operation accepts at any length.
269
+
270
+ Parameters
271
+ ----------
272
+ path : str or path-like
273
+ The path to spell.
274
+ windows : bool, optional
275
+ Whether to spell for Windows. Defaults to whether this process runs
276
+ on Windows; a caller sets it to read the Windows spelling elsewhere.
277
+
278
+ Returns
279
+ -------
280
+ str
281
+ On Windows the absolute path behind ``\\?\`` (``\\?\UNC\`` for a
282
+ network path); an already extended path is returned unchanged.
283
+ Elsewhere the path as given.
284
+
285
+ Examples
286
+ --------
287
+ >>> from pyflightstream._textio import extended_length
288
+ >>> extended_length("a/b", windows=False)
289
+ 'a/b'
290
+ >>> extended_length("D:/data/a", windows=True)
291
+ '\\\\?\\D:\\data\\a'
292
+ """
293
+ text = os.fspath(path)
294
+ if windows is None:
295
+ windows = os.name == "nt"
296
+ if not windows or not text or text.startswith(_EXTENDED_PREFIX):
297
+ return text
298
+ absolute = text.replace("/", "\\")
299
+ if not (absolute.startswith("\\\\") or (len(absolute) > 2 and absolute[1:3] == ":\\")):
300
+ absolute = os.path.abspath(absolute)
301
+ if absolute.startswith("\\\\"):
302
+ return _EXTENDED_PREFIX + "UNC\\" + absolute[2:]
303
+ return _EXTENDED_PREFIX + absolute
304
+
305
+
306
+ def long_path(path: str | os.PathLike[str]) -> Path:
307
+ """Return ``path`` as a path any file operation accepts at any length.
308
+
309
+ Parameters
310
+ ----------
311
+ path : str or path-like
312
+ The path.
313
+
314
+ Returns
315
+ -------
316
+ pathlib.Path
317
+ The path in its extended-length spelling on Windows, unchanged
318
+ elsewhere. Use it for the file operation only: names and relative
319
+ paths are derived from the original.
320
+
321
+ Examples
322
+ --------
323
+ >>> from pyflightstream._textio import long_path
324
+ >>> long_path("a").name
325
+ 'a'
326
+ """
327
+ return Path(extended_length(path))
328
+
329
+
330
+ #: The byte the Windows lock holds: past the end of any file the package
331
+ #: writes, so a reader of the content is never blocked by a held lock.
332
+ _LOCK_BYTE = 0x7FFFFFF0
333
+ #: How long a writer waits for another process's lock before it warns and skips (REL-R2-017).
334
+ LOCK_WAIT = 600.0
335
+ #: The locks this process holds, per file and thread, so a nested take is a no-op.
336
+ _HELD: dict[tuple[str, int], IO[bytes]] = {}
337
+
338
+
339
+ if sys.platform == "win32":
340
+ import msvcrt
341
+
342
+ def _lock(fd: int) -> bool:
343
+ os.lseek(fd, _LOCK_BYTE, os.SEEK_SET)
344
+ try:
345
+ msvcrt.locking(fd, msvcrt.LK_NBLCK, 1)
346
+ except OSError:
347
+ return False
348
+ return True
349
+
350
+ def _unlock(fd: int) -> None:
351
+ os.lseek(fd, _LOCK_BYTE, os.SEEK_SET)
352
+ msvcrt.locking(fd, msvcrt.LK_UNLCK, 1)
353
+
354
+ else:
355
+ import fcntl
356
+
357
+ def _lock(fd: int) -> bool:
358
+ try:
359
+ fcntl.flock(fd, fcntl.LOCK_EX | fcntl.LOCK_NB)
360
+ except OSError:
361
+ return False
362
+ return True
363
+
364
+ def _unlock(fd: int) -> None:
365
+ fcntl.flock(fd, fcntl.LOCK_UN)
366
+
367
+
368
+ def _locked_handle(target: str, wait: float) -> IO[bytes] | None:
369
+ """Open ``target`` (created when absent) and lock it, retrying until ``wait`` seconds pass."""
370
+ deadline = time.monotonic() + wait
371
+ while True:
372
+ flags = os.O_RDWR | os.O_CREAT | getattr(os, "O_BINARY", 0)
373
+ handle = open(os.open(target, flags, 0o666), "r+b", buffering=0) # noqa: SIM115
374
+ if _lock(handle.fileno()):
375
+ try:
376
+ mine, now = os.fstat(handle.fileno()), os.stat(target)
377
+ if (mine.st_dev, mine.st_ino) == (now.st_dev, now.st_ino):
378
+ return handle
379
+ except OSError:
380
+ pass
381
+ # REPLACED WHILE THIS PROCESS WAITED: the lock is on a file no longer at the name.
382
+ _unlock(handle.fileno())
383
+ handle.close()
384
+ if time.monotonic() >= deadline:
385
+ return None
386
+ time.sleep(0.05)
387
+
388
+
389
+ @contextmanager
390
+ def exclusive(path: str | os.PathLike[str], *, wait: float) -> Iterator[IO[bytes] | None]:
391
+ """Hold an exclusive lock between processes on ``path``, yielding its open binary handle.
392
+
393
+ The lock is the operating system's (``msvcrt.locking`` on one byte past the
394
+ content on Windows, ``fcntl.flock`` elsewhere), so it is released when the
395
+ process ends, however it ends. The file is created when absent and removed
396
+ again on release if it is still empty. A thread that already holds it gets
397
+ the same handle. After ``wait`` seconds of another holder it yields None:
398
+ the caller warns and skips its write. Write through :func:`replace_content`;
399
+ a replace onto a file a process holds open is refused on Windows.
400
+ """
401
+ target = extended_length(path)
402
+ key = (os.path.normcase(os.path.abspath(target)), threading.get_ident())
403
+ if key in _HELD:
404
+ yield _HELD[key]
405
+ return
406
+ created = not os.path.exists(target)
407
+ handle = _locked_handle(target, wait)
408
+ if handle is None:
409
+ yield None
410
+ return
411
+ _HELD[key] = handle
412
+ try:
413
+ yield handle
414
+ finally:
415
+ del _HELD[key]
416
+ try:
417
+ _unlock(handle.fileno())
418
+ finally:
419
+ handle.close()
420
+ if created:
421
+ try:
422
+ if os.path.getsize(target) == 0:
423
+ os.unlink(target)
424
+ except OSError:
425
+ pass
426
+
427
+
428
+ def _a_json_object(text: str) -> bool:
429
+ try:
430
+ return isinstance(json.loads(text), dict)
431
+ except ValueError:
432
+ return False
433
+
434
+
435
+ def locked_document_text(path: str | os.PathLike[str], *, wait: float) -> str:
436
+ """Read a JSON document under :func:`exclusive`, as its locked writer leaves it.
437
+
438
+ A writer stages the whole document as ``<name>.tmp`` and then rewrites the
439
+ file in place (:func:`replace_content`); a document cut off there is read
440
+ from that staged copy, which stays until the rewrite completes. Every
441
+ reader of such a document reads it here, so none reads it half written
442
+ (REL-R3-002). An empty file reads as ``""``.
443
+ """
444
+ target = Path(path)
445
+ with exclusive(target, wait=wait) as handle:
446
+ if handle is None:
447
+ text = target.read_text(encoding="utf-8")
448
+ else:
449
+ handle.seek(0)
450
+ text = handle.read().decode("utf-8")
451
+ staged = target.with_name(f"{target.name}.tmp")
452
+ if text.strip() and not _a_json_object(text) and staged.is_file():
453
+ backup = staged.read_text(encoding="utf-8")
454
+ if _a_json_object(backup):
455
+ return backup
456
+ return text
457
+
458
+
459
+ def rewrite_locked(handle: IO[bytes], path: str | os.PathLike[str], text: str) -> None:
460
+ """Rewrite ``path``, locked through ``handle``, as :func:`locked_document_text` reads it.
461
+
462
+ Staged whole as ``<name>.tmp`` first (a write that fails there leaves the
463
+ document untouched), then rewritten in place through ``handle``, since
464
+ Windows refuses a replace onto a file a process holds open; the staged
465
+ copy is removed once the rewrite completed (REL-R3-003).
466
+ """
467
+ target = Path(path)
468
+ staged = target.with_name(f"{target.name}.tmp")
469
+ try:
470
+ write_text(staged, text)
471
+ except BaseException:
472
+ staged.unlink(missing_ok=True)
473
+ raise
474
+ replace_content(handle, text)
475
+ staged.unlink(missing_ok=True)
476
+
477
+
478
+ def replace_content(handle: IO[bytes], text: str) -> None:
479
+ """Replace the whole content of a locked ``handle`` with ``text`` in UTF-8, flushed to disk."""
480
+ data = memoryview(text.encode("utf-8"))
481
+ handle.seek(0)
482
+ while data:
483
+ data = data[handle.write(data) or 0 :]
484
+ handle.truncate()
485
+ os.fsync(handle.fileno())
@@ -319,7 +319,9 @@ class FarfieldSpec(BaseModel):
319
319
  name : str
320
320
  Unique entry label, defaulting to the variant word.
321
321
  export_type : str
322
- last_step, avg_window, or default; default reads the last unsteady step.
322
+ last_step, avg_window, export_window, or default; default reads the last unsteady
323
+ step. export_window exports the far field at every step of the row window
324
+ EXPORT_UNSTEADY_LAST_ITER or EXPORT_UNSTEADY_LAST_REV.
323
325
  families : str or list of str
324
326
  Required selection for sections; the other variants read the whole field.
325
327
  stations : int or tuple of float
@@ -353,7 +355,7 @@ class FarfieldSpec(BaseModel):
353
355
  model_config = ConfigDict(extra="forbid", allow_inf_nan=False)
354
356
  variant: Literal["sections", "wake", "plane", "power"]
355
357
  name: str = Field(default="", min_length=1)
356
- export_type: Literal["last_step", "avg_window", "default"] = "default"
358
+ export_type: Literal["last_step", "avg_window", "export_window", "default"] = "default"
357
359
  families: Annotated[str | list[str] | None, BeforeValidator(_family_selection)] = None
358
360
  stations: int | tuple[float, ...] | None = None
359
361
  distance_bref: float = Field(default=0.25, gt=0)