Skip to content

Fix load assembly bounds and add regression test#5

Merged
cmccomb merged 1 commit intomasterfrom
codex/fix-finite_element-loop-coverage-and-tests
Sep 20, 2025
Merged

Fix load assembly bounds and add regression test#5
cmccomb merged 1 commit intomasterfrom
codex/fix-finite_element-loop-coverage-and-tests

Conversation

@cmccomb
Copy link
Owner

@cmccomb cmccomb commented Sep 20, 2025

Summary

  • assemble force vectors over all (nelx + 1) × (nely + 1) nodes and flatten them deterministically for finite element solves
  • reuse the new load assembly helper inside finite_element
  • add a regression test ensuring loads applied to the bottom-right boundary node appear in the assembled force vector

Testing

  • cargo test

https://chatgpt.com/codex/tasks/task_e_68cf235f98308325b35a328cd857c18d

@cmccomb cmccomb merged commit 51d3de6 into master Sep 20, 2025
1 check passed
@cmccomb cmccomb deleted the codex/fix-finite_element-loop-coverage-and-tests branch September 20, 2025 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant