Skip to content

Support displacement vector origin in transformations#60

Merged
paulromano merged 1 commit intomainfrom
displacement-vector-origin
Nov 27, 2025
Merged

Support displacement vector origin in transformations#60
paulromano merged 1 commit intomainfrom
displacement-vector-origin

Conversation

@paulromano
Copy link
Contributor

On TR cards and TRCL keywords, MCNP allows a 13th parameter m called the displacement vector origin that determines whether the displacement vector specifies the origin of the auxiliary coordinate system defined in the coordinates of the main coordinate system (m=1) or vice versa (m=-1). This PR adds support for this parameter. In the case that m=-1, it simply negates the displacement vector.

@paulromano paulromano merged commit 5926b50 into main Nov 27, 2025
1 check passed
@codecov
Copy link

codecov bot commented Nov 27, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.06%. Comparing base (498d46c) to head (5621037).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #60      +/-   ##
==========================================
+ Coverage   86.86%   87.06%   +0.19%     
==========================================
  Files           3        3              
  Lines         731      742      +11     
  Branches      191      197       +6     
==========================================
+ Hits          635      646      +11     
  Misses         52       52              
  Partials       44       44              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@paulromano paulromano deleted the displacement-vector-origin branch November 28, 2025 17:09
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