Repository navigation
Conversation
Schedule FE-valued normal data in globally registered boundary order, including empty (0,dim) coordinate batches on ranks without constrained nodes. Local node/spec grouping could enter mesh local-vector collectives in different orders and hang before Stokes iteration. Preserve boundary attribution and SVD signs for each owned datum row. Validation: two focused annulus component checks pass serial and on both MPI2 ranks, covering ranks with missing local boundary groups and FE evaluation of empty batches. No native or mathematical discretization change. Next: validate a fresh Gadi int32 installation on MPI16 and rerun the case2 h32 reproducer before primary-workflow acceptance.
Expose solver-owned pressure extraction, numerical Taylor wall updates, circular CBF topography recovery and modal trace integration for affine isoviscous P2/continuous-P1 annuli. Keep five public methods backed by private lazy helpers, explicit configuration and numerical failure histories. Document technical sources and the required projected pressure gauge. Include the registered-boundary collective datum scheduling prerequisite from open PR underworldcode#855; no analytical, geoid, Poisson, spherical or child-submesh changes are included. Add independent mathematical regressions and one explicit CI entry. Validation: executable kernel/method/test ASTs match d2c0527 tested on the integration branch (14 serial UW3, 189 annulus components and 14 tests on 16 MPI ranks). Four standalone h32 migrations reproduce calibrated fields and signed coefficients within 1e-14. Coverage and style checks pass. A matching upstream-base native installation and focused serial/MPI gates are next before opening the review PR. Underworld development team with AI support from Claude Code
Constrain the public examples and helper docstrings to nondimensional inputs; mark prerequisite datum tests level_1/tier_b. No numerical implementation or test-body changes. Validation: Gadi182128805 built bf81ed9 against the existing int32 image, verified native/Python origins and passed all 12 tests serially and on every one of 16 MPI ranks. Executable ASTs remain identical after these documentation/selection changes; coverage355, style and diff gates pass. No native/model reruns are affected. Next: narrow upstream review, retaining separate integration-campaign provenance. Underworld development team with AI support from Claude Code
…stency Recover a separate circular P2 trace using endpoint-weighted local polynomial convolution, exact breakpoint-resolved circular projection, and constraints on the physical mean and Cartesian radial resultant. Keep the original CBF trace and cache unchanged; replicate only boundary data. Explicit support and degree control accuracy; do not claim spline/DG SIAC superconvergence. Align transfer pressure with the cached reaction gauge after constant pressure calibration. Distributed pressure-subvector differences must be uniform; nonuniform stale pressure changes are rejected. Constant pressure regression proves the original defect before the fix; its actual benchmark effect is small compared with the combined FE pressure/velocity moment error. Independent pure-helper/adapter contracts pass serially and on two ranks: polynomial moments, closed P6 kernel, direct nested integration, conservation, rotation/scale/permutation, graded meshes, empty boundary ranks and duplicated ghost values. Native wrapper and fresh-install gates are pending the batched container build; no model results from this commit are yet accepted. Next: build immutable versioned Mac/Gadi installs, run full serial/MPI gates and matched annulus refinement before production acceptance. Underworld development team with AI support from Claude Code (cherry picked from commit a882c34)
Extend one-sided affine P2 velocity polynomials to true circles and register distinct essential vector fields once. Enforce one joint polygon flux constraint with the minimum-L2 normal midpoint-bubble correction, retaining vertex and tangential data. Replicate only owned boundary-cell traces, including empty-rank/ghost-safe label extraction; report physical-circle residuals and actual standard-solver verdicts at every fixed-point step. Cite the exact Taylor-Hood trial/test precedent in Ruas 2019 alongside shifted-boundary foundations, while documenting symmetric-stress and flux-projection differences. Clarify that pressure-lift natural data are omitted where full velocity test traces vanish. Seventeen independent polynomial, flux, geometry and adapter tests pass serially and on each MPI2 rank as development helper checks. Fresh compiled/native gates and model acceptance remain pending; no all-case accuracy claim yet. Next: versioned Mac/Gadi builds and separate smooth-wall/delta-pressure pilots. Underworld development team with AI support from Claude Code
The first16-rank zero-slip installation gate exposed a real null-handle dereference in labelled edge extraction: PETSc may return a false IS wrapper rather than PythonNone for an absent local stratum. Use the established PETSc truthiness guard before indices/destroy. Existing stratum consumers already use this contract; no generic boundary-flux behavior or numerical wall data changes. Add real-null, safe false-sentinel and valid zero-length index-set regressions. The exact prior commit fails the safe sentinel at the same indices access; corrected20-test helper suite passes serially and on every MPI2/MPI16 rank through explicit development overlays. Preserve failed Gadi build182210837 with no validated-install marker and no model submissions. Next: fresh versioned single-revision builds and complete native gates before MPI model use. Underworld development team with AI support from Claude Code
Transfer freshly assembled Cartesian regular-pressure reactions using physical-circle and polygon stress moments, then solve a rotating normal/tangent P2 trace system. Retain circular and weighted-reconstructed fields separately, without wall pressure shifts. Add exact constant pressure, affine stress/lift, conservation, gauge, and real empty-owner contracts. Python helper gates pass serial/MPI2/MPI4 and saved-state prototype parity; fresh native wrapper builds and full refinement acceptance remain pending. Underworld development team with AI support from Claude Code
Widen the cylindrical CI batch from the single geometry file to test_1089_cylindrical_*.py, including Dirichlet transfer, full traction, pressure gauge and reconstruction contracts. The existing coverage guard reproduces the original four-file omission and passes after the change: all 359 root test files are reachable, with no new deferrals. Validation: bash -n scripts/test.sh; coverage guard; diff check; complete selected five-file batch against the verified narrow-branch install with CI's not-tier_c selection: 62 passed, 1 expected skip requiring at least four MPI ranks. UW3 implementation and test bodies are unchanged. Next: the automatic GitHub CI rerun on PR 857. Underworld development team with AI support from Claude Code
Adversarial reviewScope of this review. We reviewed structure, CI reach, the overlap with 1. This PR contains #855 in full. 2. Four test files share the number 1089. 3. The opt-in claim checks out. The 4. Markers and documentation are in order. All five new files carry 5. No test asserts the four-update schedule. The description is careful that The open question is finding 1 — the duplication with #855 has to be resolved |
State boundary registration order explicitly, mark the MPI regressions, and correct the datum-node payload comment. Underworld development team with AI support from Claude Code
Retain the reviewed generic fix and regression tests from its owning PR, preventing duplicate add/add conflicts after that prerequisite merges. Underworld development team with AI support from Claude Code
Preserve all test bodies and CI reach while leaving 1089 for the geometry tests. Underworld development team with AI support from Claude Code
|
Thanks @lmoresi. The structural findings are addressed:
The numerical algorithms and existing solver defaults were not changed by this follow-up. Your separate mathematical-review requirement remains open; this PR stays in draft, and I am not claiming that the structural checks validate the recovery mathematics. |
Adversarial review of #857Verdict: not ready. The numerics held against analytic cases on both walls, serial through np 8. Three things block: a merge that silently fails a passing development test, a conflict with a shadowing trap, and tests that cannot fail on most of the new behaviour. Reviewed at 23c11aa against development eddab70. Merge stateMerge base 0dfb734: 11 PR commits, development 376 ahead. Real conflicts in 2 files, one hunk each.
FindingsHigh
Medium Low Attacks that failed
IssuesThis PR closes no issue. #935, #936, #633: already fixed, labelled. #883, #884, #887, #787, #320, #939, #941, #637, #685: still live, untouched or not reached. #961: still live, and finding 15 adds sites of the same class. Merge conditions
Could not testnp above 8, including the PR's Gadi np 16; a compiled merge (merged runs used development's build with the PR modules overlaid and the 9 methods attached at runtime); Underworld development team with AI support from Claude Code |
Straight-sided annulus meshes approximate circular density interfaces and walls. These opt-in Stokes methods separate pressure-jump extraction, numerical circular-wall conditions and boundary-traction recovery, so benchmark drivers can call solver-owned algorithms and retain the original FE fields.
The supported scope is a nondimensional, origin-centred, isoviscous 2-D annulus with affine triangles, continuous P2 velocity/P1 regular pressure, and the pressure nullspace enabled. Both rotated strong free slip and fully prescribed zero-slip walls are covered. Existing defaults are unchanged.
Changes
p=q+p_J, with the corresponding regular force and free-slip outer-chord natural datum.-sigma_nnremains separate from the solved FE pressure.Docstrings and the advanced guide distinguish the published pressure-extraction, boundary-correction and CBF principles from these adaptations. No inherited stability theorem, universal superconvergence, spherical support or unrestricted short-wave accuracy is claimed.
Validation
The narrow review branch at
1e2d0a5e96a72c8628d912f4a06d817838836308was rebuilt into a fresh Mac Linux ARM64 installation against the pinned PETSc 3.25.4 int32 image. Package/native origins and parallel HDF5 pass. Native contracts pass 64 tests plus one MPI-only skip in serial/on each MPI2 rank, and 65 tests on every MPI4 rank. The six private numerical modules have identical executable ASTs to consolidation9b9422a8; one file differs only by a trailing blank line. These gates cover exact moments, constant pressure, affine stress and source-pressure lifts, gauges, source immutability and actual empty boundary owners.The separate consolidation runtime passes 80 native tests plus one MPI-only skip in serial/MPI2, 81 on every Mac MPI4/Gadi MPI16 rank, and 327 annulus components with
assessdisabled. Gadi build182213891.gadi-pbsexits zero. The integration campaign has completed 18 spatial-recovery models and eight zero-slip refinement/backward controls; the twelve-state native traction audit and working-report update are complete. Full-circle normal/shear errors improve at both walls while adverse direct FE-pressure and small harmonic changes remain explicit. Focused case3/case4 serial versus MPI16 replay fields agree within 5.6e-16. The final current annulus component suite passes 352 tests; this is separate from the original 327-test build snapshot. The debugging record and source-pinned evidence retain adverse FE-pressure results and the analytical-wall cancellation diagnosis. The boundary-accuracy report includes before/after figures and the measured recovery limits. Integration-branch evidence does not replace the narrow-branch gates above.Review scope
The FE-valued datum collective-ordering prerequisite also proposed in #855 remains included with its regressions. Unrelated submesh ownership and potential-evaluation changes used by the integration benchmark are excluded from this PR.
Boundary traces are replicated and small SciPy sparse line systems are solved on each rank; scaling beyond the tested annulus is not claimed. The reconstruction has a measured bandwidth limitation. The analytical-wall oracle diagnoses remaining FE-pressure error and is never used by the numerical recovery algorithm.
The retained gravity comparisons, source budgets and buffer studies are in the separate gravity-comparison report. The split changes no numerical evidence or solver validation.
Underworld development team with AI support from Claude Code
Review follow-up (29 October 2026)
1d2297b8), resolving the add/add conflict once in mergebf5e33bc; its rotated helper and regression file match Fix collective evaluation of prescribed rotated wall data #855 exactly. After Fix collective evaluation of prescribed rotated wall data #855 lands, this shared change is no longer a separate delta against development.Underworld development team with AI support from Claude Code