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

Use model bounding box to accelerate plotting #3205

Open
pshriwise opened this issue Nov 24, 2024 · 0 comments
Open

Use model bounding box to accelerate plotting #3205

pshriwise opened this issue Nov 24, 2024 · 0 comments

Comments

@pshriwise
Copy link
Contributor

Description

Generating plots with views that extend beyond the model can be costly because the plot algorithm must rule out all cells before determining that the pixel center doesn't reside in the model. This is most noticeable in the plotter.

One way to accelerate this is to make use of any finite dimensions of the model bounding box.

Alternatives

Methods for calculation of cell/universe bounding boxes more generally would allow find cell operations to naturally incorporate a bounding box check, thus accelerating plot operations in essentially the same manner.

Compatibility

This would be an entirely internal change to the code.

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

No branches or pull requests

1 participant