Skip to content

Name the two-node elements for what they are: trusses and springs - #12

Merged
mattjolley merged 1 commit into
mainfrom
mattjolley/trusses-and-springs-naming
Nov 28, 2026
Merged

mattjolley merged 1 commit into
mainfrom
mattjolley/trusses-and-springs-naming

Conversation

@mattjolley

Copy link
Copy Markdown
Contributor

What does this change, and why?

A naming tidy-up, with no change to code or test content. The note docs/design/chordae.md becomes trusses_and_springs.md and tests/test_chordae_elements.py becomes test_truss_and_spring_elements.py, with every reference updated.

The elements are general: FEBio's linear-truss domain and its discrete domain with spring materials, for any two-node member that carries an axial force. Chordae tendineae are the first application and the source of the examples; the code already used the general names (TrussDomain, DiscreteDomain, elements/line2.py). The decision points keep their IDs (C1 to C10), and the note opens with a paragraph on the name.

Merged by the author; comments afterwards are welcome.

Validation

  • Tests added or changed: one test file renamed, content unchanged.
  • FEBio reference (input file, quantity compared, tolerance, FEBio version), or N/A: N/A.
  • Devices the full tier ran on (CPU, and the GPU model if CUDA; say so clearly if no GPU was used): quick tier on CPU only (235 tests); no GPU run, since no code changed. The link check of the documentation passes.

Checklist

  • I have read the contributing guide.
  • uvx pre-commit run --all-files passes.
  • The full tier passes. (Not run: a rename only. The CI job runs the full tier on CPU.)
  • If this changes what a design note says, the note is updated; open design questions are in its decision points, not only in this pull request.
  • The change is focused, and every commit is signed off (git commit -s).

🤖 Generated with Claude Code

The note docs/design/chordae.md becomes trusses_and_springs.md, and
tests/test_chordae_elements.py becomes
test_truss_and_spring_elements.py, with every reference updated. The
elements are FEBio's linear-truss domain and its discrete domain with
spring materials, for any two-node member that carries an axial force;
chordae tendineae are the first application and the source of the
examples. The code already had the general names (TrussDomain,
DiscreteDomain, elements/line2.py). No code or test content changes,
and the decision points keep their IDs (C1 to C10).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: Matthew Jolley <12954190+mattjolley@users.noreply.github.com>
@mattjolley
mattjolley merged commit e90f7c5 into main Nov 28, 2026
2 checks passed
@mattjolley
mattjolley deleted the mattjolley/trusses-and-springs-naming branch November 28, 2026 15:35
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