Skip to content

Add method cards and a Numerics section - #45

Merged
max-models merged 1 commit into
develfrom
method-cards
Nov 3, 2026
Merged

max-models merged 1 commit into
develfrom
method-cards

Conversation

@max-models

Copy link
Copy Markdown
Owner
  • Method cards on the geometry (34): the inside tests and level sets of every shape, the Boolean, affine and section level sets, collections, outlines and panels, the first crossings, the swept polygon hit test and absorption, the edge crossings, cut edges and cut-cell fractions, the grid, the domain decomposition and the particle boundaries, with assumptions and references. test_method_cards.py checks them: SymPy rules for 19 closed forms, the observed order of outlines, crossings and intersection_fractions, and the cards of the docs against those of the code.
  • A Numerics link in the header and a Numerics sidebar group: a hand-written overview (docs/src/content/docs/numerics/index.mdx: shapes, crossings, cut cells, grids, conventions, what is not covered, verification) and one page per module (methodcard: { pages: true }, starlight-theme 0.7.4).
  • The docstrings render on the API pages: code spans instead of reST roles.
  • Smoke paths for the numerics pages; adds the methodcard dependency.

@max-models
max-models merged commit d1a48da into devel Nov 3, 2026
23 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.

1 participant