pyflightstream 0.53.0__tar.gz → 0.55.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 (441) hide show
  1. {pyflightstream-0.53.0/src/pyflightstream.egg-info → pyflightstream-0.55.0}/PKG-INFO +1 -1
  2. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/pyproject.toml +1 -1
  3. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/_digest.py +8 -0
  4. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/_fsm.py +53 -9
  5. pyflightstream-0.55.0/src/pyflightstream/_identifier_columns.py +441 -0
  6. pyflightstream-0.55.0/src/pyflightstream/_matrix_identifiers.py +403 -0
  7. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/matrix.py +38 -1
  8. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/pproc.py +34 -0
  9. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/workflows/_vocabulary.py +9 -0
  10. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/base_regions.yaml +3 -3
  11. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/boundary_conditions.yaml +1 -1
  12. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/cad_create.yaml +6 -6
  13. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/ccs_fuselage_mesh.yaml +1 -1
  14. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/ccs_revolve_mesh.yaml +1 -1
  15. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/ccs_wing_mesh.yaml +1 -1
  16. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/free_surfaces.yaml +3 -3
  17. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/mesh_operations.yaml +2 -2
  18. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/motion_definitions.yaml +4 -4
  19. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/runtime_settings.yaml +1 -1
  20. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/solver_analysis.yaml +2 -2
  21. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/solver_settings.yaml +6 -6
  22. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/streamlines.yaml +8 -8
  23. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/__init__.py +5 -1
  24. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/_additional.py +16 -14
  25. pyflightstream-0.55.0/src/pyflightstream/post/_cn_slope.py +131 -0
  26. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/_installed_copies.py +3 -1
  27. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/_matrix_template.py +3 -1
  28. pyflightstream-0.55.0/src/pyflightstream/post/_merged_polar.py +240 -0
  29. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/_products_campaign.py +36 -0
  30. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/_reduction_stage.py +4 -4
  31. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/_sim.py +48 -13
  32. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/_structure.py +22 -13
  33. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/_tables.py +21 -2
  34. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/farfield_products.py +18 -0
  35. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/inflow_tools.py +5 -2
  36. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/input_template.py +11 -10
  37. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/products.py +82 -67
  38. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/superfile.py +27 -4
  39. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/qa/_spec_0460_marking.py +18 -4
  40. pyflightstream-0.55.0/src/pyflightstream/qa/_spec_0540_marking.py +162 -0
  41. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/qa/compat.py +67 -32
  42. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/qa/specs.py +1 -0
  43. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/results/tables.py +28 -0
  44. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_campaign.py +6 -33
  45. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_cli_geometry.py +59 -14
  46. pyflightstream-0.55.0/src/pyflightstream/run/_cli_merge.py +83 -0
  47. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_cli_mesh.py +22 -4
  48. pyflightstream-0.55.0/src/pyflightstream/run/_cli_wheel.py +273 -0
  49. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_identity.py +4 -0
  50. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_plan.py +17 -7
  51. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_plan_report.py +2 -2
  52. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_post_selection.py +11 -3
  53. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_rebuild_evidence.py +14 -4
  54. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/cli.py +9 -6
  55. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/records.py +37 -7
  56. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/script/__init__.py +10 -12
  57. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/script/_build_forms.py +16 -0
  58. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/script/_ledger_tables.py +14 -0
  59. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/script/_marking.py +75 -5
  60. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/script/_settings.py +32 -0
  61. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/script/helpers.py +8 -0
  62. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/__init__.py +12 -0
  63. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_free_space.py +34 -3
  64. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_layout.py +16 -1
  65. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_mark_boundaries.py +262 -95
  66. pyflightstream-0.55.0/src/pyflightstream/workspace/_mark_rims.py +262 -0
  67. pyflightstream-0.55.0/src/pyflightstream/workspace/_merge.py +1239 -0
  68. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_refine/_level.py +3 -5
  69. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_refine/_obj.py +20 -0
  70. pyflightstream-0.55.0/src/pyflightstream/workspace/_sector_body.py +480 -0
  71. pyflightstream-0.55.0/src/pyflightstream/workspace/_sector_driver.py +869 -0
  72. pyflightstream-0.55.0/src/pyflightstream/workspace/_sector_read.py +237 -0
  73. pyflightstream-0.55.0/src/pyflightstream/workspace/_sector_remesh.py +418 -0
  74. pyflightstream-0.55.0/src/pyflightstream/workspace/_sector_save.py +289 -0
  75. pyflightstream-0.55.0/src/pyflightstream/workspace/_wheel.py +1236 -0
  76. pyflightstream-0.55.0/src/pyflightstream/workspace/_wheel_fsm.py +752 -0
  77. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/ledger.py +12 -3
  78. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/sidecars.py +110 -2
  79. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/storage.py +5 -0
  80. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/wake_edges.py +27 -14
  81. {pyflightstream-0.53.0 → pyflightstream-0.55.0/src/pyflightstream.egg-info}/PKG-INFO +1 -1
  82. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream.egg-info/SOURCES.txt +16 -0
  83. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/LICENSE +0 -0
  84. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/MANIFEST.in +0 -0
  85. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/README.md +0 -0
  86. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/setup.cfg +0 -0
  87. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/__init__.py +0 -0
  88. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/_atmosphere.py +0 -0
  89. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/_cli.py +0 -0
  90. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/_console.py +0 -0
  91. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/_decimal.py +0 -0
  92. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/_deprecations.py +0 -0
  93. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/_errors.py +0 -0
  94. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/_expressions.py +0 -0
  95. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/_fsi_calibration.py +0 -0
  96. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/_fsm_fresh.py +0 -0
  97. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/_lengths.py +0 -0
  98. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/_maturity.py +0 -0
  99. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/_mesh.py +0 -0
  100. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/_progress.py +0 -0
  101. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/_retired_names.py +0 -0
  102. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/_signature.py +0 -0
  103. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/_textio.py +0 -0
  104. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/_tokens.py +0 -0
  105. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/_yamlflow.py +0 -0
  106. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/__init__.py +0 -0
  107. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/_ccs.py +0 -0
  108. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/_farfield_spec.py +0 -0
  109. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/_fsi_external.py +0 -0
  110. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/_geometry_emit.py +0 -0
  111. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/_geometry_instruction.py +0 -0
  112. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/_matrix_layouts.py +0 -0
  113. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/_matrix_upgrade.py +0 -0
  114. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/_setup_keys.py +0 -0
  115. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/_setup_link.py +0 -0
  116. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/_skipped_families.py +0 -0
  117. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/_sweep_names.py +0 -0
  118. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/_unsteady_actions.py +0 -0
  119. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/acoustics.py +0 -0
  120. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/ccs_fuselage.py +0 -0
  121. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/ccs_revolution.py +0 -0
  122. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/ccs_wing.py +0 -0
  123. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/corrections.py +0 -0
  124. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/farfield_inputs.py +0 -0
  125. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/field_coverage.py +0 -0
  126. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/freestream.py +0 -0
  127. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/fsi_workspace.py +0 -0
  128. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/mesh.py +0 -0
  129. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/naming.py +0 -0
  130. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/qsteady.py +0 -0
  131. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/reference_blocks.py +0 -0
  132. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/selection.py +0 -0
  133. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/settings.py +0 -0
  134. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/setup_surfaces.py +0 -0
  135. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/sixdof.py +0 -0
  136. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/windows.py +0 -0
  137. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/workflows/__init__.py +0 -0
  138. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/workflows/_actuator.py +0 -0
  139. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/workflows/_additional.py +0 -0
  140. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/workflows/_batch_actions.py +0 -0
  141. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/workflows/_batch_script.py +0 -0
  142. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/workflows/_clock.py +0 -0
  143. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/workflows/_conventions.py +0 -0
  144. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/workflows/_export_first_step.py +0 -0
  145. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/workflows/_exports.py +0 -0
  146. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/workflows/_farfield.py +0 -0
  147. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/workflows/_frames.py +0 -0
  148. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/workflows/_freestream.py +0 -0
  149. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/workflows/_gap_evidence.py +0 -0
  150. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/workflows/_geometry.py +0 -0
  151. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/workflows/_motion.py +0 -0
  152. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/workflows/_names.py +0 -0
  153. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/workflows/_pproc.py +0 -0
  154. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/workflows/_probe_imports.py +0 -0
  155. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/workflows/_probes.py +0 -0
  156. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/workflows/_qsteady_rotor.py +0 -0
  157. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/workflows/_reductions.py +0 -0
  158. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/workflows/_registry.py +0 -0
  159. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/workflows/_rotor.py +0 -0
  160. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/workflows/_row_cells.py +0 -0
  161. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/workflows/_rows.py +0 -0
  162. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/workflows/_sixdof.py +0 -0
  163. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/workflows/_skeleton.py +0 -0
  164. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/workflows/_solver_settings.py +0 -0
  165. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/workflows/_steady.py +0 -0
  166. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/workflows/_streamlines.py +0 -0
  167. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/workflows/_timing.py +0 -0
  168. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/workflows/_unsteady.py +0 -0
  169. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/cases/workflows/_wake_length.py +0 -0
  170. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/__init__.py +0 -0
  171. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/_meta.yaml +0 -0
  172. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/_schema.py +0 -0
  173. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/acoustics.yaml +0 -0
  174. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/actuators.yaml +0 -0
  175. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/advanced_settings.yaml +0 -0
  176. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/aeroelastic_coupling.yaml +0 -0
  177. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/cad.yaml +0 -0
  178. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/coordinate_systems.yaml +0 -0
  179. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/file_io.yaml +0 -0
  180. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/inlets_outlets.yaml +0 -0
  181. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/mesh_import_export.yaml +0 -0
  182. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/mesh_unite.yaml +0 -0
  183. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/mesh_wrapper.yaml +0 -0
  184. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/plots.yaml +0 -0
  185. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/probe_points.yaml +0 -0
  186. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/scene_settings.yaml +0 -0
  187. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/scenes.yaml +0 -0
  188. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/script_controls.yaml +0 -0
  189. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/simulation_controls.yaml +0 -0
  190. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/solver_contours.yaml +0 -0
  191. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/solver_export.yaml +0 -0
  192. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/solver_initialization.yaml +0 -0
  193. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/stability_toolbox.yaml +0 -0
  194. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/surface_sections.yaml +0 -0
  195. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/sweeper.yaml +0 -0
  196. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/transition_trips.yaml +0 -0
  197. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/unsteady_solver.yaml +0 -0
  198. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/commands/volume_sections.yaml +0 -0
  199. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/exceptions.py +0 -0
  200. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/extras.py +0 -0
  201. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/farfield/__init__.py +0 -0
  202. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/farfield/balances.py +0 -0
  203. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/farfield/fields.py +0 -0
  204. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/farfield/quadrature.py +0 -0
  205. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/farfield/trefftz.py +0 -0
  206. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/fsi/__init__.py +0 -0
  207. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/fsi/_direct_morphing.py +0 -0
  208. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/fsi/beam.py +0 -0
  209. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/fsi/calibration.py +0 -0
  210. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/fsi/centrifugal.py +0 -0
  211. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/fsi/cli.py +0 -0
  212. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/fsi/config.py +0 -0
  213. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/fsi/driver.py +0 -0
  214. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/fsi/errors.py +0 -0
  215. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/fsi/external.py +0 -0
  216. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/fsi/kinematics.py +0 -0
  217. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/fsi/loads.py +0 -0
  218. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/fsi/materials.py +0 -0
  219. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/fsi/nodes.py +0 -0
  220. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/fsi/sections.py +0 -0
  221. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/fsi/state.py +0 -0
  222. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/fsi/wing.py +0 -0
  223. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/options.py +0 -0
  224. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/overview.py +0 -0
  225. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/_admit.py +0 -0
  226. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/_condition.py +0 -0
  227. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/_field_inputs.py +0 -0
  228. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/_noise_products.py +0 -0
  229. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/_rotor_plan.py +0 -0
  230. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/_rotor_products.py +0 -0
  231. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/_settings_product.py +0 -0
  232. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/_stage.py +0 -0
  233. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/_transfer_functions.py +0 -0
  234. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/acoustics.py +0 -0
  235. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/axes.py +0 -0
  236. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/boundary_layer.py +0 -0
  237. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/corrections.py +0 -0
  238. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/custom_polar.py +0 -0
  239. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/diagnostics.py +0 -0
  240. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/disc_maps.py +0 -0
  241. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/equations.py +0 -0
  242. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/farfield_fields.py +0 -0
  243. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/field_frames.py +0 -0
  244. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/glossary.py +0 -0
  245. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/guides.py +0 -0
  246. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/harmonics.py +0 -0
  247. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/point_tables.py +0 -0
  248. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/polar.py +0 -0
  249. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/probe_fields.py +0 -0
  250. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/provenance.py +0 -0
  251. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/qsteady.py +0 -0
  252. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/qsteady_noise.py +0 -0
  253. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/reductions.py +0 -0
  254. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/rotor_table.py +0 -0
  255. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/section_distributions.py +0 -0
  256. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/series.py +0 -0
  257. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/settings_table.py +0 -0
  258. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/streamlines.py +0 -0
  259. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/surfaces.py +0 -0
  260. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/unsteady.py +0 -0
  261. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/unsteady_polar.py +0 -0
  262. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/post/writers.py +0 -0
  263. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/probes/__init__.py +0 -0
  264. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/probes/_model.py +0 -0
  265. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/probes/errors.py +0 -0
  266. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/probes/geometry.py +0 -0
  267. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/probes/lattice.py +0 -0
  268. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/probes/layouts.py +0 -0
  269. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/probes/planar.py +0 -0
  270. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/qa/__init__.py +0 -0
  271. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/qa/_reanalysis.py +0 -0
  272. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/qa/_spec_0400_gap.py +0 -0
  273. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/qa/_spec_0400_gapbase.py +0 -0
  274. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/qa/_spec_0400_gapedges.py +0 -0
  275. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/qa/_spec_0400_gapkit.py +0 -0
  276. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/qa/_spec_26125.py +0 -0
  277. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/qa/_spec_catalog_b.py +0 -0
  278. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/qa/_spec_ccs_mesh.py +0 -0
  279. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/qa/_spec_ccs_noise.py +0 -0
  280. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/qa/_spec_kit.py +0 -0
  281. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/qa/_spec_t1.py +0 -0
  282. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/qa/cli.py +0 -0
  283. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/qa/cost.py +0 -0
  284. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/qa/drift.py +0 -0
  285. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/qa/errors.py +0 -0
  286. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/qa/geometry.py +0 -0
  287. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/qa/matrix.py +0 -0
  288. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/qa/physics.py +0 -0
  289. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/qa/probes.py +0 -0
  290. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/qa/references/PHY-01.yaml +0 -0
  291. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/qa/references/PHY-02.yaml +0 -0
  292. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/qa/references/PHY-05.yaml +0 -0
  293. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/qa/references/PHY-06.yaml +0 -0
  294. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/qa/references/SMI-01.yaml +0 -0
  295. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/qa/references/SMI-02.yaml +0 -0
  296. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/qa/references/pressure-drag/PHY-01.yaml +0 -0
  297. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/qa/references/pressure-drag/PHY-02.yaml +0 -0
  298. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/qa/references/pressure-drag/PHY-05.yaml +0 -0
  299. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/qa/references/pressure-drag/PHY-06.yaml +0 -0
  300. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/qa/reports.py +0 -0
  301. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/reference.py +0 -0
  302. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/results/__init__.py +0 -0
  303. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/results/conditions.py +0 -0
  304. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/results/core.py +0 -0
  305. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/results/exports.py +0 -0
  306. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/results/loads.py +0 -0
  307. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/results/log.py +0 -0
  308. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/results/native_surface.py +0 -0
  309. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/results/sectional_loads.py +0 -0
  310. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/results/surface.py +0 -0
  311. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/results/wake.py +0 -0
  312. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/__init__.py +0 -0
  313. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_actions_counter.py +0 -0
  314. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_additional.py +0 -0
  315. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_alias.py +0 -0
  316. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_assemble.py +0 -0
  317. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_assessment.py +0 -0
  318. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_batch_collect.py +0 -0
  319. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_batch_exec.py +0 -0
  320. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_batch_plan.py +0 -0
  321. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_batch_run.py +0 -0
  322. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_batch_split.py +0 -0
  323. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_cli_parsers.py +0 -0
  324. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_cli_parsers_storage.py +0 -0
  325. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_cli_print.py +0 -0
  326. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_cli_query.py +0 -0
  327. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_cli_query_history.py +0 -0
  328. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_cli_query_point.py +0 -0
  329. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_collect_logs.py +0 -0
  330. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_collect_notes.py +0 -0
  331. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_continuation.py +0 -0
  332. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_continuation_frame.py +0 -0
  333. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_executors.py +0 -0
  334. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_field_motion.py +0 -0
  335. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_grouped.py +0 -0
  336. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_ids.py +0 -0
  337. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_mark_converged.py +0 -0
  338. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_matrix_warnings.py +0 -0
  339. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_pending.py +0 -0
  340. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_points.py +0 -0
  341. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_rebuild.py +0 -0
  342. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_rebuild_grouped.py +0 -0
  343. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_rebuild_summary.py +0 -0
  344. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_record_files.py +0 -0
  345. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_solver_windows.py +0 -0
  346. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_step_exports.py +0 -0
  347. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_sweep.py +0 -0
  348. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/_wake_edge_verdict.py +0 -0
  349. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/collect.py +0 -0
  350. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/run/matrix.py +0 -0
  351. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/script/_arg_checks.py +0 -0
  352. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/script/_phase_order.py +0 -0
  353. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/script/_relaxed_te.py +0 -0
  354. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/script/_surface_averaging.py +0 -0
  355. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/script/_wake_edge_file.py +0 -0
  356. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/script/entities.py +0 -0
  357. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/script/motion.py +0 -0
  358. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/script/rotor_vocabulary.py +0 -0
  359. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/script/solver_setup.py +0 -0
  360. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/script/toggles.py +0 -0
  361. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/support.py +0 -0
  362. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/testing.py +0 -0
  363. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/utils/__init__.py +0 -0
  364. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/utils/cli.py +0 -0
  365. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/utils/database.py +0 -0
  366. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/utils/errors.py +0 -0
  367. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/utils/manual.py +0 -0
  368. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/versions.py +0 -0
  369. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_batch_life.py +0 -0
  370. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_batch_relocate.py +0 -0
  371. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_batches.py +0 -0
  372. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_degenerate.py +0 -0
  373. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_effective.py +0 -0
  374. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_geometry_build.py +0 -0
  375. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_geometry_clean.py +0 -0
  376. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_geometry_convert.py +0 -0
  377. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_geometry_instruction.py +0 -0
  378. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_geometry_record.py +0 -0
  379. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_geometry_sidecar.py +0 -0
  380. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_geometry_vtk.py +0 -0
  381. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_inspect_pages.py +0 -0
  382. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_ledger_api.py +0 -0
  383. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_ledger_history.py +0 -0
  384. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_links.py +0 -0
  385. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_matrix_binding.py +0 -0
  386. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_matrix_homes.py +0 -0
  387. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_matrix_phases.py +0 -0
  388. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_missing_log.py +0 -0
  389. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_query_files.py +0 -0
  390. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_query_logs.py +0 -0
  391. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_query_point.py +0 -0
  392. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_refine/__init__.py +0 -0
  393. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_refine/_audit.py +0 -0
  394. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_refine/_blocks.py +0 -0
  395. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_refine/_config.py +0 -0
  396. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_refine/_geometry.py +0 -0
  397. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_refine/_grid.py +0 -0
  398. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_refine/_layout.py +0 -0
  399. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_refine/_lines.py +0 -0
  400. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_refine/_nastran.py +0 -0
  401. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_refine/_prepare.py +0 -0
  402. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_refine/_remesh.py +0 -0
  403. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_refine/_remesh_group.py +0 -0
  404. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_refine/_remesh_pairs.py +0 -0
  405. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_refine/_staging.py +0 -0
  406. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_row_setup.py +0 -0
  407. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_script_comparison.py +0 -0
  408. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_settings_file.py +0 -0
  409. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_step_prune.py +0 -0
  410. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_verdicts.py +0 -0
  411. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/_visual_inspect.py +0 -0
  412. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/actuator_profiles.py +0 -0
  413. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/builds.py +0 -0
  414. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/cli.py +0 -0
  415. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/costs.py +0 -0
  416. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/excel.py +0 -0
  417. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/excel_bridge.py +0 -0
  418. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/excel_file.py +0 -0
  419. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/excel_sync.py +0 -0
  420. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/fields.py +0 -0
  421. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/flight_condition.py +0 -0
  422. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/fsi_external_setup.py +0 -0
  423. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/fsi_setup.py +0 -0
  424. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/hpc.py +0 -0
  425. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/inputs.py +0 -0
  426. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/manifest.py +0 -0
  427. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/matrix.py +0 -0
  428. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/migrate.py +0 -0
  429. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/naming.py +0 -0
  430. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/record_document.py +0 -0
  431. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/selections.py +0 -0
  432. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/setup_inspection.py +0 -0
  433. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/setup_standards.py +0 -0
  434. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/sixdof_setup.py +0 -0
  435. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream/workspace/trailing_edges.py +0 -0
  436. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream.egg-info/dependency_links.txt +0 -0
  437. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream.egg-info/entry_points.txt +0 -0
  438. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream.egg-info/requires.txt +0 -0
  439. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/src/pyflightstream.egg-info/top_level.txt +0 -0
  440. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/tools/check_shipped_surface.py +0 -0
  441. {pyflightstream-0.53.0 → pyflightstream-0.55.0}/tools/shipped_surface.conf +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyflightstream
3
- Version: 0.53.0
3
+ Version: 0.55.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.53.0"
7
+ version = "0.55.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"}
@@ -114,6 +114,14 @@ EXCLUDED_EXTERNAL_METADATA = (
114
114
  #: package for every ``hashlib`` call and fails on a module absent here,
115
115
  #: so a new digest cannot enter with its canonical form unstated.
116
116
  CANONICAL_FORMS = {
117
+ "_matrix_identifiers.py": (
118
+ "the UTF-8 encoding of a matrix file with the IDENTIFIERS pairs taken out of its "
119
+ "VAR_NAMES_VALUES cells, so a matrix stating none hashes to the plain SHA-256 of its file. "
120
+ "matrix_run_digests also hashes the forms that differ in what follows a row's last cell "
121
+ "and in the spaces around the pairs beside a removed key; matrix_form_digest spaces those "
122
+ "pairs one way and takes the spaces ending each row. A file that is not UTF-8 hashes as "
123
+ "raw bytes."
124
+ ),
117
125
  "workspace/record_document.py": (
118
126
  "the UTF-8 encoding of JSON with sorted keys, compact comma/colon separators "
119
127
  "and ensure_ascii=True for each shared solver, frame or geometry definition. "
@@ -58,6 +58,7 @@ __all__ = [
58
58
  "MESH_MARKER",
59
59
  "element_count",
60
60
  "MeshReadError",
61
+ "base_codes_row",
61
62
  "boundary_ids",
62
63
  "boundary_labels",
63
64
  "boundary_names",
@@ -306,8 +307,8 @@ class _PhysicsReader:
306
307
  def refuse(self, detail: str) -> MeshReadError:
307
308
  return MeshReadError(
308
309
  f"{self.name}: {detail} (physics block line {self.at}). The physics block is not "
309
- "the shape this reader was measured on, so no actuator is read from it rather "
310
- "than a wrong one being guessed at"
310
+ "the shape this reader was measured on, so nothing is read from it rather "
311
+ "than a wrong value being guessed at"
311
312
  )
312
313
 
313
314
  def row(self, what: str) -> str:
@@ -416,7 +417,12 @@ def _boundary_physics(path: str | Path):
416
417
  lines = _block(path, "PHYSICS")
417
418
  if lines is None:
418
419
  raise MeshReadError(f"{path}: no physics block for boundary read-back")
419
- reader = _PhysicsReader(lines, str(path))
420
+ return _boundary_lists(lines, str(path))
421
+
422
+
423
+ def _boundary_lists(lines: Sequence[str], name: str):
424
+ """Read the base and trailing-edge lists of a physics block's lines, retaining the cursor."""
425
+ reader = _PhysicsReader(lines, name)
420
426
  for position in range(3):
421
427
  reader.values(f"header {position}", 1, "number")
422
428
  size = reader.count("base-region count")
@@ -466,6 +472,50 @@ def saved_base_regions(path: str | Path) -> tuple[tuple[str, float, int], ...]:
466
472
  Name, stored Cp and model code for each region in order.
467
473
  """
468
474
  reader, names, cp, _ = _boundary_physics(path)
475
+ _step_to_base_codes(reader)
476
+ if not names:
477
+ return ()
478
+ at = reader.at
479
+ reader.values("base-region model codes", len(names), "integer")
480
+ models = tuple(int(value) for value in _tokens(reader.lines[at]))
481
+ return tuple(zip(names, cp, models, strict=True))
482
+
483
+
484
+ def base_codes_row(lines: Sequence[str]) -> int:
485
+ """Return the position of the base-region model codes among a physics block's lines.
486
+
487
+ The row is found by the block's own counts, because it is not the block's last row on every
488
+ head: it stands right after the seven fluid values, where a save of head ``26,1`` holding
489
+ base regions may end, and where a save of head ``2612,0`` (build 10052026) has six more rows
490
+ before the block closes, measured on ten saves of that build.
491
+
492
+ Parameters
493
+ ----------
494
+ lines : sequence of str
495
+ The lines between the block's start and end markers.
496
+
497
+ Returns
498
+ -------
499
+ int
500
+ The index in ``lines`` of the row, which holds one integer per base region.
501
+
502
+ Raises
503
+ ------
504
+ MeshReadError
505
+ The block holds no base region, departs from the measured layout before the row, or the
506
+ row is not one integer per base region.
507
+ """
508
+ reader, names, _, _ = _boundary_lists(lines, "the saved file")
509
+ _step_to_base_codes(reader)
510
+ if not names:
511
+ raise reader.refuse("it holds no base region, so it has no row of model codes")
512
+ at = reader.at
513
+ reader.values("base-region model codes", len(names), "integer")
514
+ return at
515
+
516
+
517
+ def _step_to_base_codes(reader: _PhysicsReader) -> None:
518
+ """Move a reader past the trailing-edge groups to the row after the seven fluid values."""
469
519
  count = reader.count("third surface-list count")
470
520
  for _ in range(count):
471
521
  reader.row("third surface-list name")
@@ -482,12 +532,6 @@ def saved_base_regions(path: str | Path) -> tuple[tuple[str, float, int], ...]:
482
532
  reader.row("fluid name")
483
533
  for _ in range(7):
484
534
  reader.values("fluid value", 1, "number")
485
- if not names:
486
- return ()
487
- at = reader.at
488
- reader.values("base-region model codes", len(names), "integer")
489
- models = tuple(int(value) for value in _tokens(reader.lines[at]))
490
- return tuple(zip(names, cp, models, strict=True))
491
535
 
492
536
 
493
537
  def _skip_boundary_actuators(reader: _PhysicsReader) -> None:
@@ -0,0 +1,441 @@
1
+ """The columns a matrix row's ``IDENTIFIERS`` put in the tables a post writes (FR-3564).
2
+
3
+ Private to the package, in this layer because both table writers are at or above it:
4
+ :func:`pyflightstream.post._tables.write_csv_table`, the funnel of the post's tables, and
5
+ :func:`pyflightstream.results.tables.write_sweep_table`, the run's writer of the sweep table. A
6
+ row states
7
+ ``IDENTIFIERS: {FLAP:0,TESTE:10}`` and every table the post writes for that row's polar gains a
8
+ column of each name, holding the value as text. The tables are many and their writers do not know
9
+ of it: the post driver opens :func:`stated_identifiers` over the matrix it read, and the funnel asks
10
+ here. With no identifiers in the matrix the scope is empty and a table passes untouched.
11
+
12
+ A table the post wrote and reads back to build another comes back without them
13
+ (:func:`without_stamped`), since the scope knows what it stamped where. That is what tells a column
14
+ the post put there from one the table holds as its own, which keeps its value.
15
+
16
+ Only the post reads a matrix's identifiers. The run rewrites the sweep table from its records, so
17
+ it keeps the columns it finds there and reads nothing else.
18
+ """
19
+
20
+ from __future__ import annotations
21
+
22
+ import csv
23
+ import io
24
+ from collections.abc import Collection, Iterable, Iterator, Mapping, Sequence
25
+ from contextlib import contextmanager
26
+ from contextvars import ContextVar
27
+ from dataclasses import dataclass, field
28
+ from pathlib import Path
29
+
30
+ import pyflightstream._textio as _textio
31
+ from pyflightstream._errors import PyflightstreamWarning, warn
32
+ from pyflightstream._tokens import (
33
+ NOT_APPLICABLE,
34
+ POLAR_ID_COLUMN,
35
+ ROTOR_ID_COLUMN,
36
+ plain_cell,
37
+ )
38
+
39
+ #: Name of the sweep csv :func:`run_campaign` leaves under the
40
+ #: workspace's ``post/`` folder at the end of every campaign, spelled
41
+ #: once here rather than at the write and again at every assertion
42
+ #: about it (PFS-2014.03).
43
+ #:
44
+ #: WHY THIS NAME, since the item asks the choice to be justified rather
45
+ #: than merely made. Three things had to be true of it.
46
+ #:
47
+ #: It says WHOSE table it is. The file covers the whole CAMPAIGN, one
48
+ #: line per recorded point, because :func:`~pyflightstream.results.
49
+ #: tables.sweep_table` reads the manifest and not the records of the
50
+ #: call that happened to write it. So a resumed campaign rewrites one
51
+ #: file that describes everything recorded so far, rather than leaving a
52
+ #: per-call fragment nobody can join. A timestamped or per-call name
53
+ #: would accumulate files of which none is "the" table.
54
+ #:
55
+ #: It says what is INSIDE: a sweep table, the tabular layer's own word
56
+ #: for one row per point, which is what a reader opens it expecting.
57
+ #:
58
+ #: And it does not collide with ``sweep.csv``, the default target of
59
+ #: ``pyfs-matrix run --sweep-csv``, which the operator names and which
60
+ #: lands in the campaign ROOT. The two files would hold the same table,
61
+ #: so a collision would corrupt nothing; what it would cost is a reader
62
+ #: who cannot tell which file the tool maintains and which one a
63
+ #: colleague put there.
64
+ SWEEP_TABLE_NAME = "campaign_sweep.csv"
65
+
66
+ #: The first column of that table past ``POL``, in every run it is written from.
67
+ _SWEEP_FIRST_OWN = "run_id"
68
+
69
+
70
+ @dataclass
71
+ class _Scope:
72
+ """One post's identifiers: the matrix's, by polar, and what has been done with them."""
73
+
74
+ by_polar: Mapping[str, Mapping[str, str]]
75
+ #: The simulation being posted, for a table with no ``POL`` to say whose it is.
76
+ polar: str | None = None
77
+ #: The names every table written now carries, whoever states them (the super files' union).
78
+ held: tuple[str, ...] = ()
79
+ warned: set[str] = field(default_factory=set)
80
+ stamped: dict[Path, tuple[str, ...]] = field(default_factory=dict)
81
+
82
+ def of_polar(self, polar: object) -> Mapping[str, str]:
83
+ return self.by_polar.get(str(polar), {})
84
+
85
+
86
+ _SCOPE: ContextVar[_Scope | None] = ContextVar("identifier_columns", default=None)
87
+
88
+
89
+ @contextmanager
90
+ def stated_identifiers(stated: Mapping[str, Mapping[str, str]]) -> Iterator[None]:
91
+ """Let the tables written inside this block take the identifiers ``stated``, by polar.
92
+
93
+ Parameters
94
+ ----------
95
+ stated : mapping of str to mapping of str to str
96
+ Each polar's identifiers, name to value, as written; a polar absent from it states none.
97
+
98
+ Yields
99
+ ------
100
+ None
101
+ The block.
102
+ """
103
+ outer = _SCOPE.get()
104
+ by_polar = {
105
+ polar: {plain_cell(name): value for name, value in names.items()}
106
+ for polar, names in stated.items()
107
+ if names
108
+ }
109
+ scope = _Scope(by_polar, warned=set() if outer is None else outer.warned)
110
+ token = _SCOPE.set(scope if by_polar else None)
111
+ try:
112
+ yield
113
+ finally:
114
+ _SCOPE.reset(token)
115
+
116
+
117
+ @contextmanager
118
+ def tables_of_polar(polar: str) -> Iterator[None]:
119
+ """Say whose the tables written inside this block are, for one that opens without ``POL``.
120
+
121
+ Parameters
122
+ ----------
123
+ polar : str
124
+ The simulation being posted.
125
+
126
+ Yields
127
+ ------
128
+ None
129
+ The block.
130
+ """
131
+ scope = _SCOPE.get()
132
+ before = None if scope is None else scope.polar
133
+ if scope is not None:
134
+ scope.polar = polar
135
+ try:
136
+ yield
137
+ finally:
138
+ if scope is not None:
139
+ scope.polar = before
140
+
141
+
142
+ @contextmanager
143
+ def columns_held(names: Sequence[str]) -> Iterator[None]:
144
+ """Give every table written inside this block the columns ``names``, whoever states them.
145
+
146
+ Parameters
147
+ ----------
148
+ names : sequence of str
149
+ The columns, in order.
150
+
151
+ Yields
152
+ ------
153
+ None
154
+ The block.
155
+ """
156
+ scope = _SCOPE.get()
157
+ if scope is not None:
158
+ scope.held = tuple(names)
159
+ try:
160
+ yield
161
+ finally:
162
+ if scope is not None:
163
+ scope.held = ()
164
+
165
+
166
+ def names_for_superfiles(polars: Iterable[object], leading: Collection[str]) -> tuple[str, ...]:
167
+ """Return the identifier columns of super files that share one header.
168
+
169
+ Parameters
170
+ ----------
171
+ polars : iterable
172
+ The polars of the rows being written.
173
+ leading : collection of str
174
+ The columns the other simulations' super files already carry.
175
+
176
+ Returns
177
+ -------
178
+ tuple of str
179
+ What those polars state, then the columns of ``leading`` that are identifiers of the
180
+ matrix; empty outside a post, or with a matrix that states none.
181
+ """
182
+ scope = _SCOPE.get()
183
+ if scope is None:
184
+ return ()
185
+ stated = {name: None for polar in polars for name in scope.of_polar(polar)}
186
+ every = {name for names in scope.by_polar.values() for name in names}
187
+ stated.update(dict.fromkeys(name for name in leading if name in every))
188
+ return tuple(stated)
189
+
190
+
191
+ def header_with(columns: Sequence[str], names: Sequence[str]) -> tuple[str, ...]:
192
+ """Return the header :func:`stamped_table` gives ``columns`` carrying ``names``.
193
+
194
+ Parameters
195
+ ----------
196
+ columns : sequence of str
197
+ The table's own columns.
198
+ names : sequence of str
199
+ The identifier columns.
200
+
201
+ Returns
202
+ -------
203
+ tuple of str
204
+ The header.
205
+ """
206
+ fresh = [name for name in names if name not in columns]
207
+ at = _position(columns)
208
+ return (*columns[:at], *fresh, *columns[at:])
209
+
210
+
211
+ def _position(columns: Sequence[str]) -> int:
212
+ """Return where the identifier columns go: after ``POL``, and ``ROTOR`` right after it."""
213
+ if not columns or columns[0] != POLAR_ID_COLUMN:
214
+ return len(columns)
215
+ return 2 if len(columns) > 1 and columns[1] == ROTOR_ID_COLUMN else 1
216
+
217
+
218
+ def _cell(value: object) -> str:
219
+ """Return one identifier's cell: its text, as written, under the rule of every text cell."""
220
+ text = "" if value is None else str(value)
221
+ return plain_cell(text) if text.strip() else NOT_APPLICABLE
222
+
223
+
224
+ def _say_a_name_the_table_holds(scope: _Scope, name: str, path: Path) -> None:
225
+ """Warn, once per post and name, of an identifier a table already holds as a column."""
226
+ if name not in scope.warned:
227
+ scope.warned.add(name)
228
+ polars = sorted(polar for polar, names in scope.by_polar.items() if name in names)
229
+ warn(
230
+ f"POL {', '.join(polars)}: the identifier {name} is the name of a column {path.name} "
231
+ "already holds; that "
232
+ "table keeps its own value, here and in any other table holding the name. Rename "
233
+ "the identifier to have it written.",
234
+ PyflightstreamWarning,
235
+ stacklevel=4,
236
+ )
237
+
238
+
239
+ def stamped_table(
240
+ path: str | Path, columns: Sequence[str], rows: Sequence[Sequence[object]]
241
+ ) -> tuple[Sequence[str], Sequence[Sequence[object]]]:
242
+ """Return a table with the columns of its rows' identifiers, and remember which it added.
243
+
244
+ A table opening with ``POL`` takes each row's by that row's POL; the columns are the union
245
+ over the table, right after ``POL`` (and after ``ROTOR`` where it stands right after ``POL``),
246
+ and a row stating none reads ``NA``. A table opening without it takes its simulation's as its
247
+ last columns. A name the table already holds keeps the table's value and warns once. With no
248
+ identifiers the very ``columns`` and ``rows`` come back.
249
+
250
+ Parameters
251
+ ----------
252
+ path : str or Path
253
+ The table being written.
254
+ columns : sequence of str
255
+ Its header.
256
+ rows : sequence of sequence of object
257
+ Its rows, one value per column.
258
+
259
+ Returns
260
+ -------
261
+ tuple of (sequence of str, sequence of sequence of object)
262
+ The header and the rows to write.
263
+ """
264
+ scope = _SCOPE.get()
265
+ if scope is None:
266
+ return columns, rows
267
+ rows = list(rows)
268
+ opens = bool(columns) and columns[0] == POLAR_ID_COLUMN
269
+ own = scope.of_polar(scope.polar)
270
+ stated = [
271
+ (scope.of_polar(row[0]) if row[0] is not None else own) if opens else own for row in rows
272
+ ]
273
+ named = dict.fromkeys(
274
+ name for one in ([own] if not opens or not rows else stated) for name in one
275
+ )
276
+ held = {str(name) for name in columns}
277
+ for name in named:
278
+ if name in held:
279
+ _say_a_name_the_table_holds(scope, name, Path(path))
280
+ fresh = [name for name in (*scope.held, *named) if name not in held]
281
+ fresh = list(dict.fromkeys(fresh))
282
+ if not fresh:
283
+ return columns, rows
284
+ scope.stamped[Path(path).resolve()] = tuple(fresh)
285
+ at = _position(columns)
286
+ return (
287
+ (*columns[:at], *fresh, *columns[at:]),
288
+ [
289
+ [*row[:at], *(_cell(one.get(name)) for name in fresh), *row[at:]]
290
+ for row, one in zip(rows, stated, strict=True)
291
+ ],
292
+ )
293
+
294
+
295
+ def stamped_names(path: str | Path) -> tuple[str, ...]:
296
+ """Return the identifier columns this post put in the table at ``path``.
297
+
298
+ Parameters
299
+ ----------
300
+ path : str or Path
301
+ A table.
302
+
303
+ Returns
304
+ -------
305
+ tuple of str
306
+ The names; empty outside a post or for a table the post did not stamp.
307
+ """
308
+ scope = _SCOPE.get()
309
+ return () if scope is None else scope.stamped.get(Path(path).resolve(), ())
310
+
311
+
312
+ def without_stamped(
313
+ path: str | Path, columns: tuple[str, ...], rows: list[dict[str, str]]
314
+ ) -> tuple[tuple[str, ...], list[dict[str, str]]]:
315
+ """Return a table read back without the columns this post's identifiers put in it.
316
+
317
+ Parameters
318
+ ----------
319
+ path : str or Path
320
+ The table read.
321
+ columns : tuple of str
322
+ Its header.
323
+ rows : list of dict
324
+ Its rows.
325
+
326
+ Returns
327
+ -------
328
+ tuple of (tuple of str, list of dict)
329
+ The table as its product wrote it.
330
+ """
331
+ names = stamped_names(path)
332
+ if not names:
333
+ return columns, rows
334
+ return (
335
+ tuple(name for name in columns if name not in names),
336
+ [{key: value for key, value in row.items() if key not in names} for row in rows],
337
+ )
338
+
339
+
340
+ def _say_a_saved_table(path: Path, cause: str) -> None:
341
+ """Warn of a sweep table a spreadsheet saved, whose identifier columns nothing can read."""
342
+ warn(
343
+ f"{path} {cause}, as a spreadsheet may have saved it, so its IDENTIFIERS columns were not "
344
+ "read. A post leaves the file as it is: save it as UTF-8 with commas, then pyfs-matrix "
345
+ "post <matrix> --sims <sim> writes them. A run replaces the file from its records, "
346
+ "without those columns, and the same post writes them back.",
347
+ PyflightstreamWarning,
348
+ stacklevel=4,
349
+ )
350
+
351
+
352
+ def _read_sweep(path: Path, *, warned: bool = False) -> tuple[list[str], list[list[str]]] | None:
353
+ """Return the header and rows of a sweep table, or None for one that is not there to read.
354
+
355
+ ``warned`` is for the second read of one command, whose first has said so already.
356
+ """
357
+ if not path.is_file():
358
+ return None
359
+ try:
360
+ # A signature is how a spreadsheet saves this table as UTF-8; it is no part of ``POL``.
361
+ table = list(csv.reader(io.StringIO(path.read_text(encoding="utf-8-sig"), newline="")))
362
+ except (UnicodeDecodeError, csv.Error) as error:
363
+ if not warned:
364
+ _say_a_saved_table(path, f"cannot be read as UTF-8 text ({error})")
365
+ return None
366
+ if table and len(table[0]) == 1 and table[0][0].startswith(f"{POLAR_ID_COLUMN};"):
367
+ if not warned:
368
+ _say_a_saved_table(path, "is separated by semicolons")
369
+ return None
370
+ if not table or not table[0] or table[0][0] != POLAR_ID_COLUMN:
371
+ return None
372
+ if any(len(row) != len(table[0]) for row in table[1:]):
373
+ return None
374
+ return table[0], table[1:]
375
+
376
+
377
+ def _identifier_positions(header: Sequence[str]) -> range:
378
+ """Return where a post put identifiers in a sweep table: after ``POL``, before ``run_id``.
379
+
380
+ The position decides, not the name: the table's own columns vary from run to run (a
381
+ coefficient where the loads parse, an axis where a point states it), so a column one frame
382
+ lacks is not an identifier for that.
383
+ """
384
+ return range(1, header.index(_SWEEP_FIRST_OWN)) if _SWEEP_FIRST_OWN in header else range(0)
385
+
386
+
387
+ def sweep_identifiers_held(path: str | Path, *, warned: bool = False) -> dict[str, dict[str, str]]:
388
+ """Return what the sweep table at ``path`` says in its identifier columns, by polar.
389
+
390
+ Parameters
391
+ ----------
392
+ path : str or Path
393
+ The sweep table.
394
+ warned : bool, optional
395
+ Say nothing of a table that cannot be read, for a caller with no identifier to lose.
396
+
397
+ Returns
398
+ -------
399
+ dict of str to dict of str to str
400
+ Each polar's identifier cells that say something; empty when the table holds none.
401
+ """
402
+ table = _read_sweep(Path(path), warned=warned)
403
+ if table is None:
404
+ return {}
405
+ header, rows = table
406
+ earlier = list(_identifier_positions(header))
407
+ return {
408
+ row[0]: {header[at]: row[at] for at in earlier if row[at] != NOT_APPLICABLE} for row in rows
409
+ }
410
+
411
+
412
+ def state_in_sweep_table(path: str | Path, stated: Mapping[str, Mapping[str, str]]) -> None:
413
+ """Give the sweep table at ``path`` the columns of the identifiers ``stated``, by polar.
414
+
415
+ The funnel's own rule, on a table the funnel does not write. A file already as it should be is
416
+ not written, so with no identifiers it keeps its bytes.
417
+
418
+ Parameters
419
+ ----------
420
+ path : str or Path
421
+ The sweep table; one that does not exist or does not open with ``POL`` is left alone.
422
+ stated : mapping of str to mapping of str to str
423
+ Each polar's identifiers, name to value; what the file held there is replaced.
424
+ """
425
+ target = Path(path)
426
+ table = _read_sweep(target, warned=True)
427
+ if table is None:
428
+ return
429
+ header, rows = table
430
+ earlier = _identifier_positions(header)
431
+ kept = [at for at in range(len(header)) if at not in earlier]
432
+ with stated_identifiers(stated):
433
+ columns, written = stamped_table(
434
+ target, [header[at] for at in kept], [[row[at] for at in kept] for row in rows]
435
+ )
436
+ if list(columns) == header and [list(row) for row in written] == rows:
437
+ return
438
+ with _textio.atomic_text(target) as handle:
439
+ writer = _textio.csv_writer(handle)
440
+ writer.writerow(columns)
441
+ writer.writerows(written)