Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: CylVolStack resizing issue #3715

Merged
merged 6 commits into from
Oct 11, 2024

Conversation

paulgessinger
Copy link
Member

This fixes a bug where the local transform was not correctly synced
after resizing. Also improves a number of assertions to not rely on
floating point identity anymore

Related to #3502


This pull request includes several changes to the CylinderVolumeStack and Volume classes to improve logging, add new parameters, and enhance the overlap checking and volume updating mechanisms. The most important changes include adding a logger parameter to several methods, updating method signatures, and improving overlap checking logic.

Enhancements to logging and method signatures:

Improvements to overlap checking:

Volume update improvements:

This makes it easier to pass it through if you have one
(CylinderVolumeStack mainly)
This fixes a bug where the local transform was not correctly synced
after resizing. Also improves a number of assertions to not rely on
floating point identity anymore
@paulgessinger paulgessinger added this to the next milestone Oct 11, 2024
@github-actions github-actions bot added the Component - Core Affects the Core module label Oct 11, 2024
Copy link

github-actions bot commented Oct 11, 2024

📊: Physics performance monitoring for 49ff95e

Full contents

physmon summary

Copy link

sonarcloud bot commented Oct 11, 2024

@kodiakhq kodiakhq bot merged commit 16f6341 into acts-project:main Oct 11, 2024
42 checks passed
@acts-project-service acts-project-service added the Fails Athena tests This PR causes a failure in the Athena tests label Oct 11, 2024
paulgessinger added a commit that referenced this pull request Oct 12, 2024
This PR makes it such that when a `CylinderVolumeStack` is resized with
the gap strategy, if there are already gaps on the outside of the stack,
**they are reused** instead of creating extra gaps.

Part of to #3502.
     
```                               
  original size
◀───────────────▶
┌───────────────┐
│               │
│               │
│   Volume 1    │
│               │
│               │
└───────────────┘
        first resize
◀──────────────────────────▶
┌───────────────┬──────────┐
│               │          │
│               │          │
│   Volume 1    │   Gap    │
│               │          │      Gap is
│               │          │      reused!──┐
└───────────────┴──────────┘               │
            second resize                  │
◀───────────────────────────────────▶      │
┌───────────────┬───────────────────┐      │
│               │                   │      │
│               │                   │      │
│   Volume 1    │        Gap        │◀─────┘
│               │                   │
│               │                   │
└───────────────┴───────────────────┘
```

Blocked by:
- #3715
@paulgessinger paulgessinger modified the milestones: next, v37.1.0 Oct 16, 2024
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 Fails Athena tests This PR causes a failure in the Athena tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants