Skip to content

create_delta_fe docstring: take the polytope from the mesh, not a rank's first cell - #1224

Merged
lmoresi merged 1 commit into
developmentfrom
docs/create-delta-fe-cell-type
Nov 16, 2026
Merged

lmoresi merged 1 commit into
developmentfrom
docs/create-delta-fe-cell-type

Conversation

@lmoresi

@lmoresi lmoresi commented Nov 16, 2026

Copy link
Copy Markdown
Member

What changed and why

Docstring only. create_delta_fe (in src/underworld3/cython/petsc_quadrature_fe.pyx) told callers to pass dm.getCellType(cStart) as the polytope. On a rank with no cells that is UNKNOWN, which is the defect #1222 fixed in its one caller: integration-point variables now take the polytope from the mesh's dimension and the agreed isSimplex. The docstring now says the same, so a new caller does not reintroduce it.

No code, test or dependency change; nothing was run beyond reading the diff (the line sits in a Cython docstring).

Checklist (UW3 Style Charter — docs/developer/UW3_STYLE_CHARTER.md)

  • I have read the Style Charter and followed it over the surrounding code (S2)
  • No drive-by refactors, renames, or "while I was here" cleanups (S9)
  • Bug fixes ship the regression test (S8) — not applicable: docstring only
  • No pixi.toml / pixi.lock or other dependency changes riding in an unrelated PR
  • AI-assisted work carries the attribution line below

Underworld development team with AI support from Claude Code

…on and isSimplex

The docstring still told callers to pass dm.getCellType(cStart), which is
UNKNOWN on a rank with no cells; the integration-point variables stopped
doing that in #1222.

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

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 merged commit ee9989f into development Nov 16, 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