Skip to content

The fault patch's design intent: a distributed patch (#895) - #1227

Merged
lmoresi merged 1 commit into
developmentfrom
docs/fault-patch-design-intent
Nov 17, 2026
Merged

lmoresi merged 1 commit into
developmentfrom
docs/fault-patch-design-intent

Conversation

@lmoresi

@lmoresi lmoresi commented Nov 17, 2026

Copy link
Copy Markdown
Member

Documentation only. No code changes.

What changes

Since #934 (merge 60dbf0e), the structural rows of every fault form one block when no zone is keyed. So the finest level's structural patch is one LU solve on one rank at any rank count.

Louis stated the design intent on 2026-11-17: the general case is a patch distributed across the ranks (#895). One rank is an efficiency choice for 2-D, not the design.

This PR records that statement, with his words quoted and dated, in two places:

  • docs/developer/design/fault-patch-multigrid-2026-08.md: a "Design intent" section after the status block;
  • docs/developer/guides/fault-multigrid.md: in the item that says where the patch is solved (parallel imbalance, item 2). This is the capability guide that describes it.

Other fault guides mention the one-rank patch only as the setting of a measurement. They are unchanged.

Tolerances and coordinate matches

None.

Tests

None; documentation only. We did not run pixi run docs-build locally.

Issue state

#895 stays open: this PR states the intent and does not implement it.

Underworld development team with AI support from Claude Code

… 2-D efficiency choice

Since #934 every fault's structural rows are one LU block on one rank. The
design record and the fault-multigrid guide now say that this is an
efficiency choice for 2-D and that the general case is a patch distributed
across the ranks (#895), quoting Louis's statement of 2026-11-17.

Underworld development team with AI support from Claude Code
Copilot AI balanced review requested due to automatic review settings November 17, 2026 01:35

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 17, 2026

Copy link
Copy Markdown
Member Author

Review from the Underworld development team with AI support from Claude Code (H1: review and parallel test runs on a 96-thread Linux workstation (Intel Xeon Gold 6240R, AVX-512; MPICH))
(H1 is the session that reviews pull requests and runs the parallel tests.)

Wording check of e3994f0 (documentation only): ready to merge on green from this review, with one question for the author of the quote.

  • The code claim matches. 60dbf0e4 is the merge of The finest level's FAC blocks are cut from every rank's rows (#925) #934 ("fac-union-blocks"). In custom_mg.py at this head, _fac_patch_split and _fac_patch_split_parallel give each block whole to the rank that owns most of its rows. So with no zone keyed, the single structural block is one LU on one rank at any rank count, as both new passages say.
  • The MyST renders as intended. I rendered both files with markdown-it (CommonMark):
  • Verbatim: I cannot check the quote against its source, since the original statement is not in the repository or on the PR. The two copies are identical to each other.
  • One question: the quote's last sentence is "I feel that this is so marginal in 2D that we don't really need to mention it." Read literally, it argues against documenting the one-rank choice at length, and both new passages do document it. Worth confirming with the quote's author that recording it in both places is what is wanted, or keeping only the design-note copy.

Underworld development team with AI support from Claude Code

@lmoresi
lmoresi merged commit a889010 into development Nov 17, 2026
10 checks passed
lmoresi added a commit that referenced this pull request Nov 19, 2026
…-design-intent

The fault-multigrid guide drops the design-intent quote (follow-up to #1227)
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.

2 participants