Skip to content

Conversation

@jeanlucf22
Copy link
Collaborator

No description provided.

for (int i = 0; i < n; i++)
pu[i] = val;

updated_boundaries_ = true;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Was this a bug, since we were not doing this before?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It was not a bug. But by not doing that, we were triggering ghost values filling later when not needed (since ghost values are set here)

Copy link
Collaborator

@oseikuffuor1 oseikuffuor1 left a comment

Choose a reason for hiding this comment

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

Thanks!

@jeanlucf22 jeanlucf22 merged commit 5d6e45e into release Dec 17, 2025
@jeanlucf22 jeanlucf22 deleted the gridfunc_opt branch December 17, 2025 00:12
jeanlucf22 added a commit that referenced this pull request Jan 27, 2026
* Some optimization in GridFunc when equal to 0 (#399)

* Expose more preconditioner parameters in interface (#401)

* Fix job scripts

---------

Co-authored-by: Jean-Luc Fattebert <fattebertj@ornl.gov>
Co-authored-by: Seung Whan Chung <seung.chung@austin.utexas.edu>
Co-authored-by: Daniel Osei-Kuffuor <oseikuffuor1@llnl.gov>
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.

3 participants