Skip to content

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