Skip to content

feat: Inclination dependent SurfaceArray lookup#5186

Merged
asalzburger merged 29 commits intoacts-project:mainfrom
andiwand:inclination-dependent-surface-array-lookup
Apr 1, 2026
Merged

feat: Inclination dependent SurfaceArray lookup#5186
asalzburger merged 29 commits intoacts-project:mainfrom
andiwand:inclination-dependent-surface-array-lookup

Conversation

@andiwand
Copy link
Copy Markdown
Contributor

@andiwand andiwand commented Mar 2, 2026

Scales the neighborhood lookup depending on the inclination between propagation direction and surface normal.

This is a naive "first order" approximation where we assume the "uncertainty" is distance 1 in local grid units given perpendicular approach. This "uncertainty" is then scaled with $\frac{1}{\cos(\theta)}$ where $\theta$ is the enclosed angle between the grid surface and the track direction. An upper limit is deployed which also cuts off the generation of the next neighbor lookup table.

--- END COMMIT MESSAGE ---

An alternative formulation would be to assume a layer thickness and project it on the layer surface depending on the inclination.

One could go even further and make the lookup path dependent. But that clashes with our current assumption that the neighborhood is resolved once during initialization.

@github-actions github-actions bot added this to the next milestone Mar 2, 2026
@github-actions github-actions bot added the Component - Core Affects the Core module label Mar 2, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 2, 2026

📊: Physics performance monitoring for ba55230

Full contents

physmon summary

@andiwand
Copy link
Copy Markdown
Contributor Author

I saw some performance degradation with this + main vs v45.5.1 which may come from main itself or from this change. I will try to narrow this down and reduce the indirection from the std::vector<std::vector<SurfaceVector>>

@github-actions github-actions bot added the Component - Plugins Affects one or more Plugins label Mar 31, 2026
@andiwand andiwand marked this pull request as ready for review March 31, 2026 19:20
@andiwand andiwand requested a review from paulgessinger March 31, 2026 19:23
@sonarqubecloud
Copy link
Copy Markdown

@acts-project-service acts-project-service added the Fails Athena tests This PR causes a failure in the Athena tests label Mar 31, 2026
@andiwand andiwand removed the Fails Athena tests This PR causes a failure in the Athena tests label Apr 1, 2026
Copy link
Copy Markdown
Contributor

@asalzburger asalzburger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@asalzburger asalzburger merged commit aa31700 into acts-project:main Apr 1, 2026
45 checks passed
@andiwand andiwand deleted the inclination-dependent-surface-array-lookup branch April 1, 2026 08:38
andiwand added a commit to andiwand/acts that referenced this pull request Apr 1, 2026
kodiakhq bot pushed a commit that referenced this pull request Apr 2, 2026
- more deprecations
- remove `const_cast`
- deduplicate the surface array checking code
@andiwand andiwand modified the milestones: next, v46.1.0 Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component - Core Affects the Core module Component - Plugins Affects one or more Plugins

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants