universal-physics-tensor 2.0.0 → 3.0.0

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 (246) hide show
  1. package/README.md +5 -5
  2. package/dist/atlas/association.d.ts.map +1 -1
  3. package/dist/atlas/association.js +7 -0
  4. package/dist/atlas/association.js.map +1 -1
  5. package/dist/atlas/catalog-formal-ref.js +1 -1
  6. package/dist/atlas/catalog-formal-ref.js.map +1 -1
  7. package/dist/atlas/derive-evidence.d.ts +6 -4
  8. package/dist/atlas/derive-evidence.d.ts.map +1 -1
  9. package/dist/atlas/derive-evidence.js +12 -4
  10. package/dist/atlas/derive-evidence.js.map +1 -1
  11. package/dist/atlas/physjs-ref.d.ts +8 -3
  12. package/dist/atlas/physjs-ref.d.ts.map +1 -1
  13. package/dist/atlas/physjs-ref.js +101 -4
  14. package/dist/atlas/physjs-ref.js.map +1 -1
  15. package/dist/bridges/be64-eddington-luminosity.d.ts.map +1 -1
  16. package/dist/bridges/be64-eddington-luminosity.js +1 -3
  17. package/dist/bridges/be64-eddington-luminosity.js.map +1 -1
  18. package/dist/bridges/be66-radiation-pressure.d.ts +30 -0
  19. package/dist/bridges/be66-radiation-pressure.d.ts.map +1 -0
  20. package/dist/bridges/be66-radiation-pressure.js +37 -0
  21. package/dist/bridges/be66-radiation-pressure.js.map +1 -0
  22. package/dist/bridges/be67-alfven-speed.d.ts +54 -0
  23. package/dist/bridges/be67-alfven-speed.d.ts.map +1 -0
  24. package/dist/bridges/be67-alfven-speed.js +49 -0
  25. package/dist/bridges/be67-alfven-speed.js.map +1 -0
  26. package/dist/bridges/be68-tolman-ehrenfest.d.ts +49 -0
  27. package/dist/bridges/be68-tolman-ehrenfest.d.ts.map +1 -0
  28. package/dist/bridges/be68-tolman-ehrenfest.js +46 -0
  29. package/dist/bridges/be68-tolman-ehrenfest.js.map +1 -0
  30. package/dist/bridges/be69-fast-magnetosonic.d.ts +30 -0
  31. package/dist/bridges/be69-fast-magnetosonic.d.ts.map +1 -0
  32. package/dist/bridges/be69-fast-magnetosonic.js +33 -0
  33. package/dist/bridges/be69-fast-magnetosonic.js.map +1 -0
  34. package/dist/bridges/be70-einstein-relation.d.ts +30 -0
  35. package/dist/bridges/be70-einstein-relation.d.ts.map +1 -0
  36. package/dist/bridges/be70-einstein-relation.js +33 -0
  37. package/dist/bridges/be70-einstein-relation.js.map +1 -0
  38. package/dist/bridges/be71-clapeyron.d.ts +43 -0
  39. package/dist/bridges/be71-clapeyron.d.ts.map +1 -0
  40. package/dist/bridges/be71-clapeyron.js +32 -0
  41. package/dist/bridges/be71-clapeyron.js.map +1 -0
  42. package/dist/bridges/be72-gravitational-redshift.d.ts +43 -0
  43. package/dist/bridges/be72-gravitational-redshift.d.ts.map +1 -0
  44. package/dist/bridges/be72-gravitational-redshift.js +32 -0
  45. package/dist/bridges/be72-gravitational-redshift.js.map +1 -0
  46. package/dist/bridges/be73-kelvin-peltier.d.ts +42 -0
  47. package/dist/bridges/be73-kelvin-peltier.d.ts.map +1 -0
  48. package/dist/bridges/be73-kelvin-peltier.js +31 -0
  49. package/dist/bridges/be73-kelvin-peltier.js.map +1 -0
  50. package/dist/bridges/bridge-equations.d.ts +16 -0
  51. package/dist/bridges/bridge-equations.d.ts.map +1 -1
  52. package/dist/bridges/bridge-equations.js +16 -0
  53. package/dist/bridges/bridge-equations.js.map +1 -1
  54. package/dist/bridges/evaluators.d.ts +3 -3
  55. package/dist/bridges/evaluators.d.ts.map +1 -1
  56. package/dist/bridges/evaluators.js +53 -4
  57. package/dist/bridges/evaluators.js.map +1 -1
  58. package/dist/bridges/index.d.ts +20 -4
  59. package/dist/bridges/index.d.ts.map +1 -1
  60. package/dist/bridges/index.js +184 -4
  61. package/dist/bridges/index.js.map +1 -1
  62. package/dist/cli/closed-form-range.d.ts +16 -0
  63. package/dist/cli/closed-form-range.d.ts.map +1 -0
  64. package/dist/cli/closed-form-range.js +31 -0
  65. package/dist/cli/closed-form-range.js.map +1 -0
  66. package/dist/cli/command.d.ts +4 -3
  67. package/dist/cli/command.d.ts.map +1 -1
  68. package/dist/cli/command.js +4 -3
  69. package/dist/cli/command.js.map +1 -1
  70. package/dist/cli/commands/_atlas-map.d.ts +2 -1
  71. package/dist/cli/commands/_atlas-map.d.ts.map +1 -1
  72. package/dist/cli/commands/_atlas-map.js +8 -7
  73. package/dist/cli/commands/_atlas-map.js.map +1 -1
  74. package/dist/cli/commands/_atlas-route.d.ts.map +1 -1
  75. package/dist/cli/commands/_atlas-route.js +3 -2
  76. package/dist/cli/commands/_atlas-route.js.map +1 -1
  77. package/dist/cli/commands/atlas.d.ts.map +1 -1
  78. package/dist/cli/commands/atlas.js +16 -9
  79. package/dist/cli/commands/atlas.js.map +1 -1
  80. package/dist/cli/commands/axes.d.ts.map +1 -1
  81. package/dist/cli/commands/axes.js +2 -1
  82. package/dist/cli/commands/axes.js.map +1 -1
  83. package/dist/cli/commands/candidates.d.ts.map +1 -1
  84. package/dist/cli/commands/candidates.js +2 -1
  85. package/dist/cli/commands/candidates.js.map +1 -1
  86. package/dist/cli/commands/chain.d.ts.map +1 -1
  87. package/dist/cli/commands/chain.js +9 -3
  88. package/dist/cli/commands/chain.js.map +1 -1
  89. package/dist/cli/commands/confront.d.ts.map +1 -1
  90. package/dist/cli/commands/confront.js +5 -4
  91. package/dist/cli/commands/confront.js.map +1 -1
  92. package/dist/cli/commands/connectors.d.ts.map +1 -1
  93. package/dist/cli/commands/connectors.js +34 -14
  94. package/dist/cli/commands/connectors.js.map +1 -1
  95. package/dist/cli/commands/derive.d.ts.map +1 -1
  96. package/dist/cli/commands/derive.js +25 -6
  97. package/dist/cli/commands/derive.js.map +1 -1
  98. package/dist/cli/commands/discover.d.ts.map +1 -1
  99. package/dist/cli/commands/discover.js +5 -1
  100. package/dist/cli/commands/discover.js.map +1 -1
  101. package/dist/cli/commands/eval.d.ts.map +1 -1
  102. package/dist/cli/commands/eval.js +27 -8
  103. package/dist/cli/commands/eval.js.map +1 -1
  104. package/dist/cli/commands/evaluate.d.ts.map +1 -1
  105. package/dist/cli/commands/evaluate.js +3 -2
  106. package/dist/cli/commands/evaluate.js.map +1 -1
  107. package/dist/cli/commands/explain.d.ts.map +1 -1
  108. package/dist/cli/commands/explain.js +132 -20
  109. package/dist/cli/commands/explain.js.map +1 -1
  110. package/dist/cli/commands/map.d.ts.map +1 -1
  111. package/dist/cli/commands/map.js +47 -32
  112. package/dist/cli/commands/map.js.map +1 -1
  113. package/dist/cli/commands/path.d.ts.map +1 -1
  114. package/dist/cli/commands/path.js +2 -1
  115. package/dist/cli/commands/path.js.map +1 -1
  116. package/dist/cli/commands/probe.d.ts.map +1 -1
  117. package/dist/cli/commands/probe.js +2 -1
  118. package/dist/cli/commands/probe.js.map +1 -1
  119. package/dist/cli/commands/regime.d.ts.map +1 -1
  120. package/dist/cli/commands/regime.js +36 -24
  121. package/dist/cli/commands/regime.js.map +1 -1
  122. package/dist/cli/commands/search.d.ts.map +1 -1
  123. package/dist/cli/commands/search.js +8 -3
  124. package/dist/cli/commands/search.js.map +1 -1
  125. package/dist/cli/commands/symbolic.d.ts.map +1 -1
  126. package/dist/cli/commands/symbolic.js +5 -0
  127. package/dist/cli/commands/symbolic.js.map +1 -1
  128. package/dist/cli/determination.d.ts +36 -0
  129. package/dist/cli/determination.d.ts.map +1 -0
  130. package/dist/cli/determination.js +32 -0
  131. package/dist/cli/determination.js.map +1 -0
  132. package/dist/cli/errors.d.ts +5 -1
  133. package/dist/cli/errors.d.ts.map +1 -1
  134. package/dist/cli/errors.js +5 -1
  135. package/dist/cli/errors.js.map +1 -1
  136. package/dist/cli/eval-numbers.d.ts +4 -2
  137. package/dist/cli/eval-numbers.d.ts.map +1 -1
  138. package/dist/cli/eval-numbers.js +23 -7
  139. package/dist/cli/eval-numbers.js.map +1 -1
  140. package/dist/cli/main.d.ts.map +1 -1
  141. package/dist/cli/main.js +10 -303
  142. package/dist/cli/main.js.map +1 -1
  143. package/dist/cli/map-evidence.d.ts +2 -1
  144. package/dist/cli/map-evidence.d.ts.map +1 -1
  145. package/dist/cli/map-evidence.js +2 -1
  146. package/dist/cli/map-evidence.js.map +1 -1
  147. package/dist/cli/published-url.d.ts +12 -0
  148. package/dist/cli/published-url.d.ts.map +1 -0
  149. package/dist/cli/published-url.js +18 -0
  150. package/dist/cli/published-url.js.map +1 -0
  151. package/dist/cli/search-index.d.ts +8 -0
  152. package/dist/cli/search-index.d.ts.map +1 -1
  153. package/dist/cli/search-index.js +30 -6
  154. package/dist/cli/search-index.js.map +1 -1
  155. package/dist/cli/top-level-help.d.ts +19 -0
  156. package/dist/cli/top-level-help.d.ts.map +1 -0
  157. package/dist/cli/top-level-help.js +41 -0
  158. package/dist/cli/top-level-help.js.map +1 -0
  159. package/dist/cli-api.d.ts +7 -3
  160. package/dist/cli-api.d.ts.map +1 -1
  161. package/dist/cli-api.js +7 -2
  162. package/dist/cli-api.js.map +1 -1
  163. package/dist/composition/adjudication.d.ts.map +1 -1
  164. package/dist/composition/adjudication.js +7 -0
  165. package/dist/composition/adjudication.js.map +1 -1
  166. package/dist/composition/aliases.d.ts +27 -0
  167. package/dist/composition/aliases.d.ts.map +1 -0
  168. package/dist/composition/aliases.js +105 -0
  169. package/dist/composition/aliases.js.map +1 -0
  170. package/dist/composition/bridge-analysis.d.ts +2 -2
  171. package/dist/composition/bridge-analysis.d.ts.map +1 -1
  172. package/dist/composition/bridge-analysis.js +18 -1
  173. package/dist/composition/bridge-analysis.js.map +1 -1
  174. package/dist/composition/canonical-compare.d.ts +45 -0
  175. package/dist/composition/canonical-compare.d.ts.map +1 -1
  176. package/dist/composition/canonical-compare.js +84 -0
  177. package/dist/composition/canonical-compare.js.map +1 -1
  178. package/dist/composition/canonical-graph.d.ts +9 -4
  179. package/dist/composition/canonical-graph.d.ts.map +1 -1
  180. package/dist/composition/canonical-graph.js +113 -8
  181. package/dist/composition/canonical-graph.js.map +1 -1
  182. package/dist/composition/catalog-graph.d.ts +5 -4
  183. package/dist/composition/catalog-graph.d.ts.map +1 -1
  184. package/dist/composition/catalog-graph.js +7 -4
  185. package/dist/composition/catalog-graph.js.map +1 -1
  186. package/dist/composition/edge.d.ts +6 -0
  187. package/dist/composition/edge.d.ts.map +1 -1
  188. package/dist/composition/edge.js.map +1 -1
  189. package/dist/composition/edges/applied-physicist.d.ts +83 -0
  190. package/dist/composition/edges/applied-physicist.d.ts.map +1 -0
  191. package/dist/composition/edges/applied-physicist.js +336 -0
  192. package/dist/composition/edges/applied-physicist.js.map +1 -0
  193. package/dist/composition/explain.d.ts +7 -0
  194. package/dist/composition/explain.d.ts.map +1 -1
  195. package/dist/composition/explain.js +11 -2
  196. package/dist/composition/explain.js.map +1 -1
  197. package/dist/composition/index.d.ts +2 -0
  198. package/dist/composition/index.d.ts.map +1 -1
  199. package/dist/composition/index.js +2 -0
  200. package/dist/composition/index.js.map +1 -1
  201. package/dist/composition/quantities/applied-physicist.d.ts +76 -0
  202. package/dist/composition/quantities/applied-physicist.d.ts.map +1 -0
  203. package/dist/composition/quantities/applied-physicist.js +213 -0
  204. package/dist/composition/quantities/applied-physicist.js.map +1 -0
  205. package/dist/composition/quantities.d.ts +1 -0
  206. package/dist/composition/quantities.d.ts.map +1 -1
  207. package/dist/composition/quantities.js +1 -0
  208. package/dist/composition/quantities.js.map +1 -1
  209. package/dist/composition/user-equation.d.ts.map +1 -1
  210. package/dist/composition/user-equation.js +25 -10
  211. package/dist/composition/user-equation.js.map +1 -1
  212. package/dist/core/constants.d.ts +16 -0
  213. package/dist/core/constants.d.ts.map +1 -1
  214. package/dist/core/constants.js +16 -0
  215. package/dist/core/constants.js.map +1 -1
  216. package/dist/dimensional/bridge-check.d.ts +1 -1
  217. package/dist/dimensional/bridge-check.d.ts.map +1 -1
  218. package/dist/dimensional/bridge-check.js +10 -2
  219. package/dist/dimensional/bridge-check.js.map +1 -1
  220. package/dist/dimensional/dimension-spec.d.ts +11 -0
  221. package/dist/dimensional/dimension-spec.d.ts.map +1 -1
  222. package/dist/dimensional/dimension-spec.js +18 -9
  223. package/dist/dimensional/dimension-spec.js.map +1 -1
  224. package/dist/dimensional/formula-names.d.ts.map +1 -1
  225. package/dist/dimensional/formula-names.js +9 -1
  226. package/dist/dimensional/formula-names.js.map +1 -1
  227. package/dist/dimensional/units.d.ts.map +1 -1
  228. package/dist/dimensional/units.js +3 -2
  229. package/dist/dimensional/units.js.map +1 -1
  230. package/dist/index.d.ts +6 -0
  231. package/dist/index.d.ts.map +1 -1
  232. package/dist/index.js +6 -0
  233. package/dist/index.js.map +1 -1
  234. package/dist/numerical/binding-value.d.ts +18 -0
  235. package/dist/numerical/binding-value.d.ts.map +1 -1
  236. package/dist/numerical/binding-value.js +46 -2
  237. package/dist/numerical/binding-value.js.map +1 -1
  238. package/dist/relations/domain-regimes.d.ts +12 -0
  239. package/dist/relations/domain-regimes.d.ts.map +1 -0
  240. package/dist/relations/domain-regimes.js +21 -0
  241. package/dist/relations/domain-regimes.js.map +1 -0
  242. package/dist/relations/regime-registration.d.ts +32 -0
  243. package/dist/relations/regime-registration.d.ts.map +1 -0
  244. package/dist/relations/regime-registration.js +27 -0
  245. package/dist/relations/regime-registration.js.map +1 -0
  246. package/package.json +1 -1
@@ -0,0 +1,54 @@
1
+ /**
2
+ * BE-67 — Alfvén speed in SI,
3
+ * v_A = B / √(μ0 ρ),
4
+ * with `ρ` the total mass density. Proton-only density `n m_p` is the
5
+ * named special case {@link alfvenProtonOnlyDensity}, not the default.
6
+ *
7
+ * `C = 1` is the SI hypothesis. Units do not fix it. The Gaussian
8
+ * `1/√(4π)` is a unit dictionary and is not a second evaluator.
9
+ *
10
+ * The overlay formalRef is `PhysJS.AlfvenSpeed.speed_eq`.
11
+ *
12
+ * @module bridges/be67-alfven-speed
13
+ */
14
+ import { M_PROTON_SI } from '../core/constants.js';
15
+ /**
16
+ * Proton mass in kilograms. The core CODATA value that BE-64 and `upt eval` `m_p` use.
17
+ * @public
18
+ */
19
+ export { M_PROTON_SI };
20
+ /**
21
+ * Inputs for {@link evaluateAlfvenSpeed}.
22
+ * @public
23
+ */
24
+ export interface AlfvenInputs {
25
+ /** Magnetic flux density, tesla. */
26
+ readonly B_T: number;
27
+ /** Total mass density, kg/m³. Not a number density. */
28
+ readonly rho_kg_per_m3: number;
29
+ }
30
+ /**
31
+ * Result of {@link evaluateAlfvenSpeed}.
32
+ * @public
33
+ */
34
+ export interface AlfvenResult {
35
+ readonly B_T: number;
36
+ readonly rho_kg_per_m3: number;
37
+ /** Alfvén speed, m/s. */
38
+ readonly v_m_per_s: number;
39
+ }
40
+ /**
41
+ * Proton-only mass density `n m_p`. The caller passes the result as
42
+ * `rho_kg_per_m3`. A number density passed in place of a mass density
43
+ * is not this function.
44
+ *
45
+ * @public
46
+ */
47
+ export declare function alfvenProtonOnlyDensity(n_per_m3: number): number;
48
+ /**
49
+ * Evaluate `v_A = B / √(μ0 ρ)` with `ρ` the supplied total mass density.
50
+ *
51
+ * @public
52
+ */
53
+ export declare function evaluateAlfvenSpeed({ B_T, rho_kg_per_m3 }: AlfvenInputs): AlfvenResult;
54
+ //# sourceMappingURL=be67-alfven-speed.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"be67-alfven-speed.d.ts","sourceRoot":"","sources":["../../src/bridges/be67-alfven-speed.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAGnD;;;GAGG;AACH,OAAO,EAAE,WAAW,EAAE,CAAC;AAEvB;;;GAGG;AACH,MAAM,WAAW,YAAY;IAC3B,oCAAoC;IACpC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,uDAAuD;IACvD,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;CAChC;AAED;;;GAGG;AACH,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,yBAAyB;IACzB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B;AAED;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAKhE;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,EAAE,GAAG,EAAE,aAAa,EAAE,EAAE,YAAY,GAAG,YAAY,CAStF"}
@@ -0,0 +1,49 @@
1
+ /**
2
+ * BE-67 — Alfvén speed in SI,
3
+ * v_A = B / √(μ0 ρ),
4
+ * with `ρ` the total mass density. Proton-only density `n m_p` is the
5
+ * named special case {@link alfvenProtonOnlyDensity}, not the default.
6
+ *
7
+ * `C = 1` is the SI hypothesis. Units do not fix it. The Gaussian
8
+ * `1/√(4π)` is a unit dictionary and is not a second evaluator.
9
+ *
10
+ * The overlay formalRef is `PhysJS.AlfvenSpeed.speed_eq`.
11
+ *
12
+ * @module bridges/be67-alfven-speed
13
+ */
14
+ import { M_PROTON_SI } from '../core/constants.js';
15
+ import { MU0_SI } from '../dimensional/formula-names.js';
16
+ /**
17
+ * Proton mass in kilograms. The core CODATA value that BE-64 and `upt eval` `m_p` use.
18
+ * @public
19
+ */
20
+ export { M_PROTON_SI };
21
+ /**
22
+ * Proton-only mass density `n m_p`. The caller passes the result as
23
+ * `rho_kg_per_m3`. A number density passed in place of a mass density
24
+ * is not this function.
25
+ *
26
+ * @public
27
+ */
28
+ export function alfvenProtonOnlyDensity(n_per_m3) {
29
+ if (!Number.isFinite(n_per_m3) || n_per_m3 < 0) {
30
+ throw new Error('alfvenProtonOnlyDensity: n_per_m3 must be finite and ≥ 0');
31
+ }
32
+ return n_per_m3 * M_PROTON_SI;
33
+ }
34
+ /**
35
+ * Evaluate `v_A = B / √(μ0 ρ)` with `ρ` the supplied total mass density.
36
+ *
37
+ * @public
38
+ */
39
+ export function evaluateAlfvenSpeed({ B_T, rho_kg_per_m3 }) {
40
+ if (!Number.isFinite(B_T) || B_T < 0) {
41
+ throw new Error('evaluateAlfvenSpeed: B_T must be finite and ≥ 0');
42
+ }
43
+ if (!Number.isFinite(rho_kg_per_m3) || rho_kg_per_m3 <= 0) {
44
+ throw new Error('evaluateAlfvenSpeed: rho_kg_per_m3 must be finite and > 0');
45
+ }
46
+ const v_m_per_s = B_T / Math.sqrt(MU0_SI * rho_kg_per_m3);
47
+ return { B_T, rho_kg_per_m3, v_m_per_s };
48
+ }
49
+ //# sourceMappingURL=be67-alfven-speed.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"be67-alfven-speed.js","sourceRoot":"","sources":["../../src/bridges/be67-alfven-speed.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AAEzD;;;GAGG;AACH,OAAO,EAAE,WAAW,EAAE,CAAC;AAwBvB;;;;;;GAMG;AACH,MAAM,UAAU,uBAAuB,CAAC,QAAgB;IACtD,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,QAAQ,GAAG,CAAC,EAAE,CAAC;QAC/C,MAAM,IAAI,KAAK,CAAC,0DAA0D,CAAC,CAAC;IAC9E,CAAC;IACD,OAAO,QAAQ,GAAG,WAAW,CAAC;AAChC,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,mBAAmB,CAAC,EAAE,GAAG,EAAE,aAAa,EAAgB;IACtE,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,GAAG,GAAG,CAAC,EAAE,CAAC;QACrC,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;IACrE,CAAC;IACD,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI,aAAa,IAAI,CAAC,EAAE,CAAC;QAC1D,MAAM,IAAI,KAAK,CAAC,2DAA2D,CAAC,CAAC;IAC/E,CAAC;IACD,MAAM,SAAS,GAAG,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,aAAa,CAAC,CAAC;IAC1D,OAAO,EAAE,GAAG,EAAE,aAAa,EAAE,SAAS,EAAE,CAAC;AAC3C,CAAC"}
@@ -0,0 +1,49 @@
1
+ /**
2
+ * BE-68 — Tolman–Ehrenfest invariant in the repository signature,
3
+ * T √(−g_00) = const,
4
+ * for a static spacetime with `g_00 < 0`. The 1930 form `T0 √g_44` is
5
+ * the mostly-minus reference for the sign translation. `T ‖ξ‖ = const`
6
+ * is out of scope.
7
+ *
8
+ * `Math.sqrt(g_00)` is not this formula: for `g_00 < 0` that square root
9
+ * is `NaN`. Units give two invariants and do not identify them.
10
+ *
11
+ * The overlay formalRef is `PhysJS.TolmanEhrenfest.hydrostatic_constant`.
12
+ * Not a horizon temperature, and not a chain through be-42.
13
+ *
14
+ * @module bridges/be68-tolman-ehrenfest
15
+ */
16
+ /**
17
+ * Inputs for {@link evaluateTolmanEhrenfest}.
18
+ * @public
19
+ */
20
+ export interface TolmanInputs {
21
+ /** Proper temperature, kelvin. */
22
+ readonly T_K: number;
23
+ /** Metric component `g_00`. Must be negative. */
24
+ readonly g_00: number;
25
+ }
26
+ /**
27
+ * Result of {@link evaluateTolmanEhrenfest}.
28
+ * @public
29
+ */
30
+ export interface TolmanResult {
31
+ readonly T_K: number;
32
+ readonly g_00: number;
33
+ /** `T √(−g_00)`, kelvin. */
34
+ readonly invariant_K: number;
35
+ }
36
+ /**
37
+ * Evaluate `T √(−g_00)`.
38
+ *
39
+ * @public
40
+ */
41
+ export declare function evaluateTolmanEhrenfest({ T_K, g_00 }: TolmanInputs): TolmanResult;
42
+ /**
43
+ * Proper temperature at a metric component, given a constant invariant:
44
+ * `T = invariant / √(−g_00)`.
45
+ *
46
+ * @public
47
+ */
48
+ export declare function tolmanTemperatureAt(invariant_K: number, g_00: number): number;
49
+ //# sourceMappingURL=be68-tolman-ehrenfest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"be68-tolman-ehrenfest.d.ts","sourceRoot":"","sources":["../../src/bridges/be68-tolman-ehrenfest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH;;;GAGG;AACH,MAAM,WAAW,YAAY;IAC3B,kCAAkC;IAClC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,iDAAiD;IACjD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED;;;GAGG;AACH,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,4BAA4B;IAC5B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,YAAY,GAAG,YAAY,CASjF;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAQ7E"}
@@ -0,0 +1,46 @@
1
+ /**
2
+ * BE-68 — Tolman–Ehrenfest invariant in the repository signature,
3
+ * T √(−g_00) = const,
4
+ * for a static spacetime with `g_00 < 0`. The 1930 form `T0 √g_44` is
5
+ * the mostly-minus reference for the sign translation. `T ‖ξ‖ = const`
6
+ * is out of scope.
7
+ *
8
+ * `Math.sqrt(g_00)` is not this formula: for `g_00 < 0` that square root
9
+ * is `NaN`. Units give two invariants and do not identify them.
10
+ *
11
+ * The overlay formalRef is `PhysJS.TolmanEhrenfest.hydrostatic_constant`.
12
+ * Not a horizon temperature, and not a chain through be-42.
13
+ *
14
+ * @module bridges/be68-tolman-ehrenfest
15
+ */
16
+ /**
17
+ * Evaluate `T √(−g_00)`.
18
+ *
19
+ * @public
20
+ */
21
+ export function evaluateTolmanEhrenfest({ T_K, g_00 }) {
22
+ if (!Number.isFinite(T_K) || T_K <= 0) {
23
+ throw new Error('evaluateTolmanEhrenfest: T_K must be finite and > 0');
24
+ }
25
+ if (!Number.isFinite(g_00) || g_00 >= 0) {
26
+ throw new Error('evaluateTolmanEhrenfest: g_00 must be finite and < 0');
27
+ }
28
+ const invariant_K = T_K * Math.sqrt(-g_00);
29
+ return { T_K, g_00, invariant_K };
30
+ }
31
+ /**
32
+ * Proper temperature at a metric component, given a constant invariant:
33
+ * `T = invariant / √(−g_00)`.
34
+ *
35
+ * @public
36
+ */
37
+ export function tolmanTemperatureAt(invariant_K, g_00) {
38
+ if (!Number.isFinite(invariant_K) || invariant_K <= 0) {
39
+ throw new Error('tolmanTemperatureAt: invariant_K must be finite and > 0');
40
+ }
41
+ if (!Number.isFinite(g_00) || g_00 >= 0) {
42
+ throw new Error('tolmanTemperatureAt: g_00 must be finite and < 0');
43
+ }
44
+ return invariant_K / Math.sqrt(-g_00);
45
+ }
46
+ //# sourceMappingURL=be68-tolman-ehrenfest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"be68-tolman-ehrenfest.js","sourceRoot":"","sources":["../../src/bridges/be68-tolman-ehrenfest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAwBH;;;;GAIG;AACH,MAAM,UAAU,uBAAuB,CAAC,EAAE,GAAG,EAAE,IAAI,EAAgB;IACjE,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,GAAG,IAAI,CAAC,EAAE,CAAC;QACtC,MAAM,IAAI,KAAK,CAAC,qDAAqD,CAAC,CAAC;IACzE,CAAC;IACD,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,EAAE,CAAC;QACxC,MAAM,IAAI,KAAK,CAAC,sDAAsD,CAAC,CAAC;IAC1E,CAAC;IACD,MAAM,WAAW,GAAG,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC;IAC3C,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;AACpC,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,mBAAmB,CAAC,WAAmB,EAAE,IAAY;IACnE,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,WAAW,IAAI,CAAC,EAAE,CAAC;QACtD,MAAM,IAAI,KAAK,CAAC,yDAAyD,CAAC,CAAC;IAC7E,CAAC;IACD,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,EAAE,CAAC;QACxC,MAAM,IAAI,KAAK,CAAC,kDAAkD,CAAC,CAAC;IACtE,CAAC;IACD,OAAO,WAAW,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC;AACxC,CAAC"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Inputs for {@link evaluateFastMagnetosonic}.
3
+ * @public
4
+ */
5
+ export interface FastMagnetosonicInputs {
6
+ /** Sound speed, m/s. Zero is the Alfvén number of this polarization. */
7
+ readonly cs_m_per_s: number;
8
+ /** Magnetic flux density, tesla. The formula uses `B²`. */
9
+ readonly B_T: number;
10
+ /** Total mass density, kg/m³. */
11
+ readonly rho_kg_per_m3: number;
12
+ }
13
+ /**
14
+ * Result of {@link evaluateFastMagnetosonic}.
15
+ * @public
16
+ */
17
+ export interface FastMagnetosonicResult {
18
+ readonly cs_m_per_s: number;
19
+ readonly B_T: number;
20
+ readonly rho_kg_per_m3: number;
21
+ /** Phase speed, m/s. */
22
+ readonly v_m_per_s: number;
23
+ }
24
+ /**
25
+ * Evaluate `√(c_s² + B²/(μ0 ρ))`.
26
+ *
27
+ * @public
28
+ */
29
+ export declare function evaluateFastMagnetosonic({ cs_m_per_s, B_T, rho_kg_per_m3, }: FastMagnetosonicInputs): FastMagnetosonicResult;
30
+ //# sourceMappingURL=be69-fast-magnetosonic.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"be69-fast-magnetosonic.d.ts","sourceRoot":"","sources":["../../src/bridges/be69-fast-magnetosonic.ts"],"names":[],"mappings":"AAeA;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC,wEAAwE;IACxE,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,2DAA2D;IAC3D,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,iCAAiC;IACjC,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;CAChC;AAED;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,wBAAwB;IACxB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,EACvC,UAAU,EACV,GAAG,EACH,aAAa,GACd,EAAE,sBAAsB,GAAG,sBAAsB,CAYjD"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * BE-69 — perpendicular fast magnetosonic phase speed,
3
+ * |ω/k| = √(c_s² + B²/(μ0 ρ)),
4
+ * from the linearized ideal-MHD premises in
5
+ * `PhysJS.FastMagnetosonic.speed_eq`. `c_s = 0` recovers the Alfvén
6
+ * number of a different polarization. That recovery is not an
7
+ * identification with BE-67.
8
+ *
9
+ * `μ0` is `1/(ε0 c²)`, the same product the Alfvén evaluator uses.
10
+ * The nested `perpendicularQuartic` theorem is not this function.
11
+ *
12
+ * @module bridges/be69-fast-magnetosonic
13
+ */
14
+ import { MU0_SI } from '../dimensional/formula-names.js';
15
+ /**
16
+ * Evaluate `√(c_s² + B²/(μ0 ρ))`.
17
+ *
18
+ * @public
19
+ */
20
+ export function evaluateFastMagnetosonic({ cs_m_per_s, B_T, rho_kg_per_m3, }) {
21
+ if (!Number.isFinite(cs_m_per_s) || cs_m_per_s < 0) {
22
+ throw new Error('evaluateFastMagnetosonic: cs_m_per_s must be finite and ≥ 0');
23
+ }
24
+ if (!Number.isFinite(B_T)) {
25
+ throw new Error('evaluateFastMagnetosonic: B_T must be finite');
26
+ }
27
+ if (!Number.isFinite(rho_kg_per_m3) || rho_kg_per_m3 <= 0) {
28
+ throw new Error('evaluateFastMagnetosonic: rho_kg_per_m3 must be finite and > 0');
29
+ }
30
+ const v_m_per_s = Math.sqrt(cs_m_per_s * cs_m_per_s + (B_T * B_T) / (MU0_SI * rho_kg_per_m3));
31
+ return { cs_m_per_s, B_T, rho_kg_per_m3, v_m_per_s };
32
+ }
33
+ //# sourceMappingURL=be69-fast-magnetosonic.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"be69-fast-magnetosonic.js","sourceRoot":"","sources":["../../src/bridges/be69-fast-magnetosonic.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AA2BzD;;;;GAIG;AACH,MAAM,UAAU,wBAAwB,CAAC,EACvC,UAAU,EACV,GAAG,EACH,aAAa,GACU;IACvB,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI,UAAU,GAAG,CAAC,EAAE,CAAC;QACnD,MAAM,IAAI,KAAK,CAAC,6DAA6D,CAAC,CAAC;IACjF,CAAC;IACD,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;QAC1B,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;IAClE,CAAC;IACD,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI,aAAa,IAAI,CAAC,EAAE,CAAC;QAC1D,MAAM,IAAI,KAAK,CAAC,gEAAgE,CAAC,CAAC;IACpF,CAAC;IACD,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,UAAU,GAAG,UAAU,GAAG,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,CAAC,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC;IAC9F,OAAO,EAAE,UAAU,EAAE,GAAG,EAAE,aAAa,EAAE,SAAS,EAAE,CAAC;AACvD,CAAC"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Inputs for {@link evaluateEinsteinRelation}.
3
+ * @public
4
+ */
5
+ export interface EinsteinRelationInputs {
6
+ /** Electrical mobility, m²/(V·s). */
7
+ readonly mu_m2_per_Vs: number;
8
+ /** Absolute temperature, kelvin. */
9
+ readonly T_K: number;
10
+ /** Carrier charge, coulomb. Nonzero. */
11
+ readonly q_C: number;
12
+ }
13
+ /**
14
+ * Result of {@link evaluateEinsteinRelation}.
15
+ * @public
16
+ */
17
+ export interface EinsteinRelationResult {
18
+ readonly mu_m2_per_Vs: number;
19
+ readonly T_K: number;
20
+ readonly q_C: number;
21
+ /** Diffusivity, m²/s. */
22
+ readonly D_m2_per_s: number;
23
+ }
24
+ /**
25
+ * Evaluate `D = μ k_B T / q`.
26
+ *
27
+ * @public
28
+ */
29
+ export declare function evaluateEinsteinRelation({ mu_m2_per_Vs, T_K, q_C, }: EinsteinRelationInputs): EinsteinRelationResult;
30
+ //# sourceMappingURL=be70-einstein-relation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"be70-einstein-relation.d.ts","sourceRoot":"","sources":["../../src/bridges/be70-einstein-relation.ts"],"names":[],"mappings":"AAeA;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC,qCAAqC;IACrC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,oCAAoC;IACpC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,wCAAwC;IACxC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;CACtB;AAED;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,yBAAyB;IACzB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,EACvC,YAAY,EACZ,GAAG,EACH,GAAG,GACJ,EAAE,sBAAsB,GAAG,sBAAsB,CAYjD"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * BE-70 — Einstein relation,
3
+ * D = μ k_B T / q,
4
+ * where drift cancels diffusion on a Boltzmann profile. Dropping `q`
5
+ * is a different diffusivity. `μ` is the electrical mobility (drift
6
+ * speed per electric field). The force-mobility writing needs
7
+ * `μ_force = μ/q` and is not this function.
8
+ *
9
+ * Onsager reciprocity is not an input. Stokes–Einstein is a different
10
+ * equation. The overlay formalRef is `PhysJS.EinsteinRelation.diffusion_eq`.
11
+ *
12
+ * @module bridges/be70-einstein-relation
13
+ */
14
+ import { K_B_SI } from '../core/constants.js';
15
+ /**
16
+ * Evaluate `D = μ k_B T / q`.
17
+ *
18
+ * @public
19
+ */
20
+ export function evaluateEinsteinRelation({ mu_m2_per_Vs, T_K, q_C, }) {
21
+ if (!Number.isFinite(mu_m2_per_Vs)) {
22
+ throw new Error('evaluateEinsteinRelation: mu_m2_per_Vs must be finite');
23
+ }
24
+ if (!Number.isFinite(T_K) || T_K === 0) {
25
+ throw new Error('evaluateEinsteinRelation: T_K must be finite and nonzero');
26
+ }
27
+ if (!Number.isFinite(q_C) || q_C === 0) {
28
+ throw new Error('evaluateEinsteinRelation: q_C must be finite and nonzero');
29
+ }
30
+ const D_m2_per_s = (mu_m2_per_Vs * K_B_SI * T_K) / q_C;
31
+ return { mu_m2_per_Vs, T_K, q_C, D_m2_per_s };
32
+ }
33
+ //# sourceMappingURL=be70-einstein-relation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"be70-einstein-relation.js","sourceRoot":"","sources":["../../src/bridges/be70-einstein-relation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AA2B9C;;;;GAIG;AACH,MAAM,UAAU,wBAAwB,CAAC,EACvC,YAAY,EACZ,GAAG,EACH,GAAG,GACoB;IACvB,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,CAAC;QACnC,MAAM,IAAI,KAAK,CAAC,uDAAuD,CAAC,CAAC;IAC3E,CAAC;IACD,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,GAAG,KAAK,CAAC,EAAE,CAAC;QACvC,MAAM,IAAI,KAAK,CAAC,0DAA0D,CAAC,CAAC;IAC9E,CAAC;IACD,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,GAAG,KAAK,CAAC,EAAE,CAAC;QACvC,MAAM,IAAI,KAAK,CAAC,0DAA0D,CAAC,CAAC;IAC9E,CAAC;IACD,MAAM,UAAU,GAAG,CAAC,YAAY,GAAG,MAAM,GAAG,GAAG,CAAC,GAAG,GAAG,CAAC;IACvD,OAAO,EAAE,YAAY,EAAE,GAAG,EAAE,GAAG,EAAE,UAAU,EAAE,CAAC;AAChD,CAAC"}
@@ -0,0 +1,43 @@
1
+ /**
2
+ * BE-71 — Clapeyron slope,
3
+ * dP/dT = L / (T Δv),
4
+ * with `L = T (s2 − s1)` the specific latent heat already substituted.
5
+ * The companion entropy slope `(s2−s1)/(v2−v1)` is that substitution's
6
+ * premise. It is not a second formalRef and not a second evaluator.
7
+ *
8
+ * Dropping `T`, or replacing `Δv` by one phase volume, is a different
9
+ * slope. The ideal-gas vapor-pressure integral is not this function.
10
+ * The overlay formalRef is `PhysJS.Clapeyron.slope_eq`.
11
+ *
12
+ * @module bridges/be71-clapeyron
13
+ */
14
+ /**
15
+ * Inputs for {@link evaluateClapeyron}.
16
+ * @public
17
+ */
18
+ export interface ClapeyronInputs {
19
+ /** Specific latent heat, J/kg. `L = T (s2 − s1)`. */
20
+ readonly L_J_per_kg: number;
21
+ /** Absolute temperature, kelvin. Nonzero. */
22
+ readonly T_K: number;
23
+ /** Specific-volume change `v2 − v1`, m³/kg. Nonzero. */
24
+ readonly delta_v_m3_per_kg: number;
25
+ }
26
+ /**
27
+ * Result of {@link evaluateClapeyron}.
28
+ * @public
29
+ */
30
+ export interface ClapeyronResult {
31
+ readonly L_J_per_kg: number;
32
+ readonly T_K: number;
33
+ readonly delta_v_m3_per_kg: number;
34
+ /** Coexistence slope, Pa/K. */
35
+ readonly slope_Pa_per_K: number;
36
+ }
37
+ /**
38
+ * Evaluate `dP/dT = L / (T Δv)`.
39
+ *
40
+ * @public
41
+ */
42
+ export declare function evaluateClapeyron({ L_J_per_kg, T_K, delta_v_m3_per_kg, }: ClapeyronInputs): ClapeyronResult;
43
+ //# sourceMappingURL=be71-clapeyron.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"be71-clapeyron.d.ts","sourceRoot":"","sources":["../../src/bridges/be71-clapeyron.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B,qDAAqD;IACrD,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,6CAA6C;IAC7C,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,wDAAwD;IACxD,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;CACpC;AAED;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC,+BAA+B;IAC/B,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;CACjC;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,UAAU,EACV,GAAG,EACH,iBAAiB,GAClB,EAAE,eAAe,GAAG,eAAe,CAYnC"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * BE-71 — Clapeyron slope,
3
+ * dP/dT = L / (T Δv),
4
+ * with `L = T (s2 − s1)` the specific latent heat already substituted.
5
+ * The companion entropy slope `(s2−s1)/(v2−v1)` is that substitution's
6
+ * premise. It is not a second formalRef and not a second evaluator.
7
+ *
8
+ * Dropping `T`, or replacing `Δv` by one phase volume, is a different
9
+ * slope. The ideal-gas vapor-pressure integral is not this function.
10
+ * The overlay formalRef is `PhysJS.Clapeyron.slope_eq`.
11
+ *
12
+ * @module bridges/be71-clapeyron
13
+ */
14
+ /**
15
+ * Evaluate `dP/dT = L / (T Δv)`.
16
+ *
17
+ * @public
18
+ */
19
+ export function evaluateClapeyron({ L_J_per_kg, T_K, delta_v_m3_per_kg, }) {
20
+ if (!Number.isFinite(L_J_per_kg)) {
21
+ throw new Error('evaluateClapeyron: L_J_per_kg must be finite');
22
+ }
23
+ if (!Number.isFinite(T_K) || T_K === 0) {
24
+ throw new Error('evaluateClapeyron: T_K must be finite and nonzero');
25
+ }
26
+ if (!Number.isFinite(delta_v_m3_per_kg) || delta_v_m3_per_kg === 0) {
27
+ throw new Error('evaluateClapeyron: delta_v_m3_per_kg must be finite and nonzero');
28
+ }
29
+ const slope_Pa_per_K = L_J_per_kg / (T_K * delta_v_m3_per_kg);
30
+ return { L_J_per_kg, T_K, delta_v_m3_per_kg, slope_Pa_per_K };
31
+ }
32
+ //# sourceMappingURL=be71-clapeyron.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"be71-clapeyron.js","sourceRoot":"","sources":["../../src/bridges/be71-clapeyron.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AA2BH;;;;GAIG;AACH,MAAM,UAAU,iBAAiB,CAAC,EAChC,UAAU,EACV,GAAG,EACH,iBAAiB,GACD;IAChB,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE,CAAC;QACjC,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;IAClE,CAAC;IACD,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,GAAG,KAAK,CAAC,EAAE,CAAC;QACvC,MAAM,IAAI,KAAK,CAAC,mDAAmD,CAAC,CAAC;IACvE,CAAC;IACD,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,iBAAiB,CAAC,IAAI,iBAAiB,KAAK,CAAC,EAAE,CAAC;QACnE,MAAM,IAAI,KAAK,CAAC,iEAAiE,CAAC,CAAC;IACrF,CAAC;IACD,MAAM,cAAc,GAAG,UAAU,GAAG,CAAC,GAAG,GAAG,iBAAiB,CAAC,CAAC;IAC9D,OAAO,EAAE,UAAU,EAAE,GAAG,EAAE,iBAAiB,EAAE,cAAc,EAAE,CAAC;AAChE,CAAC"}
@@ -0,0 +1,43 @@
1
+ /**
2
+ * BE-72 — gravitational frequency ratio of two static observers,
3
+ * ν1/ν2 = √(g2/g1),
4
+ * both `g_00` negative, so `√(−g2)/√(−g1) = √(g2/g1)`.
5
+ *
6
+ * This is not BE-68. Equal temperatures on `g_00 = −1` and `g_00 = −4`
7
+ * are not a Tolman equilibrium, while this ratio is 2. The nested
8
+ * `tolman_same_ratio` theorem says the temperature ratio equals the
9
+ * frequency ratio only when the Tolman products also agree. Neither
10
+ * factor is derived from the other, and this module does not identify
11
+ * them.
12
+ *
13
+ * The overlay formalRef is `PhysJS.GravitationalRedshift.frequency_ratio`.
14
+ *
15
+ * @module bridges/be72-gravitational-redshift
16
+ */
17
+ /**
18
+ * Inputs for {@link evaluateGravitationalRedshift}.
19
+ * @public
20
+ */
21
+ export interface GravitationalRedshiftInputs {
22
+ /** Static `g_00` at observer 1. Must be negative. */
23
+ readonly g1: number;
24
+ /** Static `g_00` at observer 2. Must be negative. */
25
+ readonly g2: number;
26
+ }
27
+ /**
28
+ * Result of {@link evaluateGravitationalRedshift}.
29
+ * @public
30
+ */
31
+ export interface GravitationalRedshiftResult {
32
+ readonly g1: number;
33
+ readonly g2: number;
34
+ /** `ν1/ν2`. */
35
+ readonly frequency_ratio: number;
36
+ }
37
+ /**
38
+ * Evaluate `ν1/ν2 = √(g2/g1)` for two negative metric components.
39
+ *
40
+ * @public
41
+ */
42
+ export declare function evaluateGravitationalRedshift({ g1, g2, }: GravitationalRedshiftInputs): GravitationalRedshiftResult;
43
+ //# sourceMappingURL=be72-gravitational-redshift.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"be72-gravitational-redshift.d.ts","sourceRoot":"","sources":["../../src/bridges/be72-gravitational-redshift.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH;;;GAGG;AACH,MAAM,WAAW,2BAA2B;IAC1C,qDAAqD;IACrD,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,qDAAqD;IACrD,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;CACrB;AAED;;;GAGG;AACH,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,eAAe;IACf,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;CAClC;AAED;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,EAC5C,EAAE,EACF,EAAE,GACH,EAAE,2BAA2B,GAAG,2BAA2B,CAS3D"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * BE-72 — gravitational frequency ratio of two static observers,
3
+ * ν1/ν2 = √(g2/g1),
4
+ * both `g_00` negative, so `√(−g2)/√(−g1) = √(g2/g1)`.
5
+ *
6
+ * This is not BE-68. Equal temperatures on `g_00 = −1` and `g_00 = −4`
7
+ * are not a Tolman equilibrium, while this ratio is 2. The nested
8
+ * `tolman_same_ratio` theorem says the temperature ratio equals the
9
+ * frequency ratio only when the Tolman products also agree. Neither
10
+ * factor is derived from the other, and this module does not identify
11
+ * them.
12
+ *
13
+ * The overlay formalRef is `PhysJS.GravitationalRedshift.frequency_ratio`.
14
+ *
15
+ * @module bridges/be72-gravitational-redshift
16
+ */
17
+ /**
18
+ * Evaluate `ν1/ν2 = √(g2/g1)` for two negative metric components.
19
+ *
20
+ * @public
21
+ */
22
+ export function evaluateGravitationalRedshift({ g1, g2, }) {
23
+ if (!Number.isFinite(g1) || g1 >= 0) {
24
+ throw new Error('evaluateGravitationalRedshift: g1 must be finite and < 0');
25
+ }
26
+ if (!Number.isFinite(g2) || g2 >= 0) {
27
+ throw new Error('evaluateGravitationalRedshift: g2 must be finite and < 0');
28
+ }
29
+ const frequency_ratio = Math.sqrt(g2 / g1);
30
+ return { g1, g2, frequency_ratio };
31
+ }
32
+ //# sourceMappingURL=be72-gravitational-redshift.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"be72-gravitational-redshift.js","sourceRoot":"","sources":["../../src/bridges/be72-gravitational-redshift.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAwBH;;;;GAIG;AACH,MAAM,UAAU,6BAA6B,CAAC,EAC5C,EAAE,EACF,EAAE,GAC0B;IAC5B,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC;QACpC,MAAM,IAAI,KAAK,CAAC,0DAA0D,CAAC,CAAC;IAC9E,CAAC;IACD,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC;QACpC,MAAM,IAAI,KAAK,CAAC,0DAA0D,CAAC,CAAC;IAC9E,CAAC;IACD,MAAM,eAAe,GAAG,IAAI,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC;IAC3C,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,eAAe,EAAE,CAAC;AACrC,CAAC"}
@@ -0,0 +1,42 @@
1
+ /**
2
+ * BE-73 — Kelvin relation,
3
+ * Π = S T,
4
+ * the isothermal Peltier coefficient and the open-circuit Seebeck
5
+ * coefficient. `L12 = L21` is `ThermoelectricOnsager.onsager`, a
6
+ * structure field naming microscopic reversibility. It is not an axiom
7
+ * and not a numeric input of this function. Without that equality the
8
+ * two coefficients disagree, and this function does not invent the
9
+ * disagreement.
10
+ *
11
+ * The first Thomson relation `μ = T dS/dT` is not this equation.
12
+ * The overlay formalRef is `PhysJS.KelvinRelation.peltier_eq`.
13
+ *
14
+ * @module bridges/be73-kelvin-peltier
15
+ */
16
+ /**
17
+ * Inputs for {@link evaluateKelvinPeltier}.
18
+ * @public
19
+ */
20
+ export interface KelvinPeltierInputs {
21
+ /** Seebeck coefficient, V/K. */
22
+ readonly S_V_per_K: number;
23
+ /** Absolute temperature, kelvin. */
24
+ readonly T_K: number;
25
+ }
26
+ /**
27
+ * Result of {@link evaluateKelvinPeltier}.
28
+ * @public
29
+ */
30
+ export interface KelvinPeltierResult {
31
+ readonly S_V_per_K: number;
32
+ readonly T_K: number;
33
+ /** Peltier coefficient, V. */
34
+ readonly Pi_V: number;
35
+ }
36
+ /**
37
+ * Evaluate `Π = S T`.
38
+ *
39
+ * @public
40
+ */
41
+ export declare function evaluateKelvinPeltier({ S_V_per_K, T_K }: KelvinPeltierInputs): KelvinPeltierResult;
42
+ //# sourceMappingURL=be73-kelvin-peltier.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"be73-kelvin-peltier.d.ts","sourceRoot":"","sources":["../../src/bridges/be73-kelvin-peltier.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC,gCAAgC;IAChC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,oCAAoC;IACpC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;CACtB;AAED;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,8BAA8B;IAC9B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,EAAE,mBAAmB,GAAG,mBAAmB,CASlG"}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * BE-73 — Kelvin relation,
3
+ * Π = S T,
4
+ * the isothermal Peltier coefficient and the open-circuit Seebeck
5
+ * coefficient. `L12 = L21` is `ThermoelectricOnsager.onsager`, a
6
+ * structure field naming microscopic reversibility. It is not an axiom
7
+ * and not a numeric input of this function. Without that equality the
8
+ * two coefficients disagree, and this function does not invent the
9
+ * disagreement.
10
+ *
11
+ * The first Thomson relation `μ = T dS/dT` is not this equation.
12
+ * The overlay formalRef is `PhysJS.KelvinRelation.peltier_eq`.
13
+ *
14
+ * @module bridges/be73-kelvin-peltier
15
+ */
16
+ /**
17
+ * Evaluate `Π = S T`.
18
+ *
19
+ * @public
20
+ */
21
+ export function evaluateKelvinPeltier({ S_V_per_K, T_K }) {
22
+ if (!Number.isFinite(S_V_per_K)) {
23
+ throw new Error('evaluateKelvinPeltier: S_V_per_K must be finite');
24
+ }
25
+ if (!Number.isFinite(T_K) || T_K === 0) {
26
+ throw new Error('evaluateKelvinPeltier: T_K must be finite and nonzero');
27
+ }
28
+ const Pi_V = S_V_per_K * T_K;
29
+ return { S_V_per_K, T_K, Pi_V };
30
+ }
31
+ //# sourceMappingURL=be73-kelvin-peltier.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"be73-kelvin-peltier.js","sourceRoot":"","sources":["../../src/bridges/be73-kelvin-peltier.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAwBH;;;;GAIG;AACH,MAAM,UAAU,qBAAqB,CAAC,EAAE,SAAS,EAAE,GAAG,EAAuB;IAC3E,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;IACrE,CAAC;IACD,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,GAAG,KAAK,CAAC,EAAE,CAAC;QACvC,MAAM,IAAI,KAAK,CAAC,uDAAuD,CAAC,CAAC;IAC3E,CAAC;IACD,MAAM,IAAI,GAAG,SAAS,GAAG,GAAG,CAAC;IAC7B,OAAO,EAAE,SAAS,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC;AAClC,CAAC"}
@@ -81,6 +81,14 @@ import { evaluateBCSGap } from './be62-bcs-gap.js';
81
81
  import { evaluateChandrasekharMass } from './be63-chandrasekhar-mass.js';
82
82
  import { evaluateEddingtonLuminosity } from './be64-eddington-luminosity.js';
83
83
  import { evaluateJeansMass } from './be65-jeans-mass.js';
84
+ import { evaluateRadiationPressure } from './be66-radiation-pressure.js';
85
+ import { evaluateAlfvenSpeed } from './be67-alfven-speed.js';
86
+ import { evaluateTolmanEhrenfest } from './be68-tolman-ehrenfest.js';
87
+ import { evaluateFastMagnetosonic } from './be69-fast-magnetosonic.js';
88
+ import { evaluateEinsteinRelation } from './be70-einstein-relation.js';
89
+ import { evaluateClapeyron } from './be71-clapeyron.js';
90
+ import { evaluateGravitationalRedshift } from './be72-gravitational-redshift.js';
91
+ import { evaluateKelvinPeltier } from './be73-kelvin-peltier.js';
84
92
  /**
85
93
  * Root-level facade keyed by readable method names. Each value is a re-export of
86
94
  * the bridge's existing `evaluate*()` function; the bridge ID is in the comment.
@@ -147,5 +155,13 @@ export declare const BridgeEquations: {
147
155
  readonly chandrasekharMass: typeof evaluateChandrasekharMass;
148
156
  readonly eddingtonLuminosity: typeof evaluateEddingtonLuminosity;
149
157
  readonly jeansMass: typeof evaluateJeansMass;
158
+ readonly radiationPressure: typeof evaluateRadiationPressure;
159
+ readonly alfvenSpeed: typeof evaluateAlfvenSpeed;
160
+ readonly tolmanEhrenfest: typeof evaluateTolmanEhrenfest;
161
+ readonly fastMagnetosonic: typeof evaluateFastMagnetosonic;
162
+ readonly einsteinRelation: typeof evaluateEinsteinRelation;
163
+ readonly clapeyron: typeof evaluateClapeyron;
164
+ readonly gravitationalRedshift: typeof evaluateGravitationalRedshift;
165
+ readonly kelvinPeltier: typeof evaluateKelvinPeltier;
150
166
  };
151
167
  //# sourceMappingURL=bridge-equations.d.ts.map