Skip to content

Some minor updates for distributed multigrid #1844

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

pratikvn
Copy link
Member

Extracted from #1660

@pratikvn pratikvn self-assigned this May 16, 2025
@pratikvn pratikvn added 1:ST:ready-for-review This PR is ready for review 1:ST:no-changelog-entry Skip the wiki check for changelog update labels May 16, 2025
@ginkgo-bot ginkgo-bot added mod:core This is related to the core module. type:solver This is related to the solvers labels May 16, 2025
@pratikvn pratikvn added this to the Ginkgo 1.10.0 milestone May 16, 2025
Comment on lines +765 to +768
using ws = workspace_traits<Multigrid>;
this->setup_workspace();
this->create_state();
cache_.state->generate(this->get_system_matrix().get(), this, 1);
Copy link
Member

Choose a reason for hiding this comment

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

It moves the initialization from first apply to generation.
Do I miss anything here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, it is mostly to remove any initalizations from apply

@MarcelKoch MarcelKoch removed this from the Ginkgo 1.10.0 milestone Jun 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1:ST:no-changelog-entry Skip the wiki check for changelog update 1:ST:ready-for-review This PR is ready for review mod:core This is related to the core module. type:solver This is related to the solvers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants