Skip to content

TI Newton tangent: correct the stale #457 text, with re-measured symmetry - #1184

Merged
lmoresi merged 2 commits into
developmentfrom
docs/ti-newton-tangent-457
Nov 14, 2026
Merged

lmoresi merged 2 commits into
developmentfrom
docs/ti-newton-tangent-457

Conversation

@lmoresi

@lmoresi lmoresi commented Nov 14, 2026

Copy link
Copy Markdown
Member

What changes for users: nothing in behaviour. Three comments and a docs table stop calling the transverse-isotropic Newton tangent inconsistent; the table now has re-measured values.

#457 (the TI Newton tangent) was fixed by #493 in August. Three places still described the defect:

Re-measured on development c2aa36b, one rank, on a 96-thread Linux workstation (single system image; Intel Xeon Gold 6240R, AVX-512; MPICH). The setup is an 8 × 8 Q2/Q1 box with a shear lid, η₀ = (10⁻³ + ε̇_II)^(−2/3), η₁ = 0.01 η₀ and director (1, 1)/√2. The script is p_ti.py, kept with the review records.

case ‖A−Aᵀ‖/‖A‖, assembled velocity block SNES iterations
TI, linear (anisotropy active), either tangent 6.0e-17 1
isotropic power law, Picard 5.5e-17 42
isotropic power law, Newton 8.2e-17 17
TI power law, Picard 6.6e-17 27
TI power law, Newton 1.0e-01 16

-snes_test_jacobian, Newton, every iteration: ‖J−J_fd‖/‖J‖ is 4.3e-5 to 5.9e-4 for TI and 6.2e-6 to 4.2e-4 for the isotropic control. Both are at the finite-difference floor of the regularised power law, and the TI tangent is as consistent as the isotropic one.

So:

  • The TI Picard block is symmetric. The 7.2e-02 in the table does not reproduce, so "a defect signature" goes.
  • The TI Newton block is non-symmetric, and that is right: the TI tangent has no major symmetry, which test_1066_stokes_jacobian_layout asserts.
  • The text now says that. The "Newton term" column is left empty for the TI Newton row, which I did not re-measure.

Not changed: the smoother setting itself (mg_levels_pc_type); that is a solver default and needs a register row. No code changed. The capability guides that name the TI models were checked (constitutive models, plasticity solvers, VEP transverse isotropy, crossing fault zones, the API page); none repeats the claim. petsc-jacobian-layout.md records #457 as fixed, which is right.

Underworld development team with AI support from Claude Code

#457 was fixed by #493, but three places still called the TI Newton tangent
inconsistent or the TI Picard block's non-symmetry a defect signature.
Re-measured on development c2aa36b, one rank: -snes_test_jacobian for a TI
power law (eta_1 = 0.01 eta_0) reads 4.3e-5 to 5.9e-4 against the isotropic
control's 6.2e-6 to 4.2e-4, both at the finite-difference floor; the TI Picard
velocity block is symmetric (6.6e-17), and the Newton block is non-symmetric
(1.0e-1) because the TI tangent has no major symmetry. Text only: the smoother
setting is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 14, 2026 02:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@lmoresi

lmoresi commented Nov 14, 2026

Copy link
Copy Markdown
Member Author

Read as solver owner, at bbcb352 (integration desk; text only, by reading; nothing built or re-measured here).

The two questions asked of this read:

  • The smoother. The paragraph does not argue for a different smoother, and no option value changes in multigrid_options.py. It also does not say so; one sentence stating that the smoother settings are unchanged would close that.
  • The old row. 7.2e-02 survives once, in solvers.md, in the sentence that says an earlier version of the table read it. Nothing else in src, docs or tests quotes 7.2e-02, 8.9e-02 or "defect signature", and the TODO(BUG) on the TI class is gone. That is acceptable in a document; if the sentence stays it should not be read as a live value.

Three findings on the section the new rows sit in, all text:

  1. Medium. The section's claim is now too wide. Its heading and opening say the recorded reason (a non-symmetric velocity block under the consistent tangent) "does not survive measurement". With the TI Newton row at 1.0e-01 that holds for the isotropic rheologies only. For a TI Newton solve the block is non-symmetric, so for that case the recorded reason is not refuted, and the document's own evidence for "robust" includes "11 to 5 velocity iterations on the transversely isotropic rotated annulus". Whether non-symmetry or conditioning explains that case is not measured. The section should say which rheologies the refutation covers and that the TI case is open.
  2. Low. The control paragraph no longer matches the table. "It contributed 5 to 40% of the norm in every case, and the block stayed symmetric anyway" is true of the three isotropic rows. The TI Newton row lost its third-column value (2.0e-01 before) and is not symmetric. Either restore a measured value for that column or restrict the sentence to the isotropic rows.
  3. Low. The comment in multigrid_options.py makes the same step: "So symmetry does not explain the isotropic cases" is right, and the TODO(DESIGN) above it still says the recorded mechanism is wrong without that scope.

The Jacobian numbers themselves are the units and constitutive desk's measurement; we did not repeat them.

Underworld development team with AI support from Claude Code

…TI is open (W1's review of #1184)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lmoresi
lmoresi merged commit 9a868bc into development Nov 14, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants