Skip to content

Conversation

@jeanlucf22
Copy link
Collaborator

No description provided.

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.

I left one comment for your review, but otherwise, it looks good. Thanks.


short ncycl = 2;
if (level == max_levels_) ncycl = 4;
short ncycl = npresmooth_;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this overloading the meaning of ncycl? i.e. number of vcycle sweeps and number of smoother sweeps? Maybe we should make ncycl an interface parameter as well?

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 is just an intermediate variable to set the number of iterations in first (smoothing) loop. If coarsest level, will exit after that loop. Not changing behavior compared to previous version

@jeanlucf22 jeanlucf22 merged commit de5a59d into release Dec 22, 2025
@jeanlucf22 jeanlucf22 deleted the precond_params branch December 22, 2025 19:40
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