Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
mccode-dev
/
McCode
Public
Notifications
You must be signed in to change notification settings
Fork
69
Star
95
Code
Issues
132
Pull requests
8
Discussions
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
[NOT READY FOR MERGE] Union refactoring of scattering while loop
- #2571
#2571
Draft
Lomholy
wants to merge 23 commits into
main
mccode-dev/McCode:main
from
union_refactor_scattering_while_loop
mccode-dev/McCode:union_refactor_scattering_while_loop
Copy head branch name to clipboard
Conversation
Commits
23
(23)
Checks
Files changed
Draft
[NOT READY FOR MERGE] Union refactoring of scattering while loop
#2571
Lomholy
wants to merge 23 commits into
main
mccode-dev/McCode:main
from
union_refactor_scattering_while_loop
mccode-dev/McCode:union_refactor_scattering_while_loop
Copy head branch name to clipboard
Commits
Commits on Jul 14, 2026
Simplify Volume is only an absorber but not vacuum path in union master
Lomholy
committed
1958da6
View commit details
Copy full SHA for 1958da6
Browse repository at this point
Gather focus preprocessing into its own function
Lomholy
committed
59fac42
View commit details
Copy full SHA for 59fac42
Browse repository at this point
transfer non isotropic wavevector rotation into its own function
Lomholy
committed
be52fe5
View commit details
Copy full SHA for be52fe5
Browse repository at this point
Make inhomogenous sampling loop more transparent by moving most logic into a functions
Lomholy
committed
8d0c557
View commit details
Copy full SHA for 8d0c557
Browse repository at this point
Move inhomogenous distance sampling to a function
Lomholy
committed
e45e91b
View commit details
Copy full SHA for e45e91b
Browse repository at this point
Move p_interact behaviour and inhomogenous scattering point sampling to their own functions
Lomholy
committed
e322f23
View commit details
Copy full SHA for e322f23
Browse repository at this point
Move process choice after scattering into functions for p_interact and inhomogenous
Lomholy
committed
3128fbb
View commit details
Copy full SHA for 3128fbb
Browse repository at this point
Move using forced length to scatter from to a separate function
Lomholy
committed
78189d5
View commit details
Copy full SHA for 78189d5
Browse repository at this point
fix p being used instead of weight in dir length function
Lomholy
committed
6550419
View commit details
Copy full SHA for 6550419
Browse repository at this point
Commits on Jul 15, 2026
Fix pointer magic that resulted in only writing to the first value of k_rotated in transform_wavevector function
Lomholy
committed
4265eef
View commit details
Copy full SHA for 4265eef
Browse repository at this point
Assign scattering length for inhomogenous process
Lomholy
committed
17a1be5
View commit details
Copy full SHA for 17a1be5
Browse repository at this point
Apply mccode-clangformat to Union_master.comp
Lomholy
committed
4b687fc
View commit details
Copy full SHA for 4b687fc
Browse repository at this point
Commits on Aug 2, 2026
Rename choose scattering point and direction, to reflect that it is only for the focusing processes
Lomholy
committed
12041c4
View commit details
Copy full SHA for 12041c4
Browse repository at this point
fix erroneus if statements inside process_needs_inhomogenous sampling
Lomholy
committed
abc7514
View commit details
Copy full SHA for abc7514
Browse repository at this point
Add pointer dereference to scattering_event inside safeguard function
Lomholy
committed
c25937c
View commit details
Copy full SHA for c25937c
Browse repository at this point
Remove erroneously placed symbolic link to Union master
Lomholy
committed
0e155de
View commit details
Copy full SHA for 0e155de
Browse repository at this point
Add pointer dereference to scattering_event inside safeguard function. Now in correct file
Lomholy
committed
3f8a4f0
View commit details
Copy full SHA for 3f8a4f0
Browse repository at this point
Change debug statement from using Volumes array to using correct Volume struct
Lomholy
committed
e45afc6
View commit details
Copy full SHA for e45afc6
Browse repository at this point
regularize naming conventions across the functions for the logic path. Also move the functions toward their relevant others, i.e inhomogenous with inhomogenous
Lomholy
committed
c29d82f
View commit details
Copy full SHA for c29d82f
Browse repository at this point
Commits on Aug 29, 2026
Merge branch 'main' into union_refactor_scattering_while_loop
willend
authored
f5dd909
View commit details
Copy full SHA for f5dd909
Browse repository at this point
Commits on Sep 7, 2026
Merge branch 'main' into union_refactor_scattering_while_loop
willend
authored
b430a0b
View commit details
Copy full SHA for b430a0b
Browse repository at this point
Commits on Sep 16, 2026
Move the helper functions from Union master to union-lib.c
Lomholy
committed
8f0a606
View commit details
Copy full SHA for 8f0a606
Browse repository at this point
Use copying of values instead of pointer passing for doubles and ints that are not changed in the functions
Lomholy
committed
25f8659
View commit details
Copy full SHA for 25f8659
Browse repository at this point
You can’t perform that action at this time.