1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/*
* SPDX-License-Identifier: MIT
* Copyright (c) 2023 - 2026. The DeepCausality Authors and Contributors. All Rights Reserved.
*/
//! The 3-D `MetricProvider3d` seam — the three-dimensional sibling of
//! [`MetricProvider`](MetricProvider) (design D8). A compressible marcher written over
//! `M: MetricProvider3d<R>` consumes only "there is a `2^Lx × 2^Ly × 2^Lz` computational lattice, a way
//! to sample a field onto it, a physical gradient `(∂/∂x, ∂/∂y, ∂/∂z)`, and a Jacobian volume factor" —
//! so geometry is **data**, not a code path.
//!
//! [`CartesianIdentity3d`](CartesianIdentity3d) is the capture limit (any geometry, but a curved
//! shock costs `χ ~ √side`); `BodyFittedCoordinate3d` (the reentry forebody shell) is the fitted limit
//! (`χ ~ O(10)`, resolution-flat) — the mandatory rank lever measured in `studies/qtt_rank_3d`. Static
//! dispatch only (used as a generic bound; no `dyn`).
use crateCfdScalar;
use cratePhysicalGradient3d;
use ConjugateScalar;
use PhysicsError;
use CausalTensorTrain;
/// A structured curvilinear coordinate over a `2^Lx × 2^Ly × 2^Lz` computational lattice, supplying the
/// pieces a 3-D compressible marcher needs: field sampling, the chain-rule physical gradient, and the
/// Jacobian volume factor — all carried as low-rank tensor trains.