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

Fix preconditioner when using EquationBC #3842

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ksagiyam
Copy link
Contributor

WIP

Copy link

TestsPassed ✅Skipped ⏭️Failed ❌
Firedrake complex8078 ran6495 passed1583 skipped0 failed

Copy link

TestsPassed ✅Skipped ⏭️Failed ❌
Firedrake real8084 ran7294 passed786 skipped4 failed

@@ -44,7 +44,8 @@ def initialize(self, pc):

(a, bcs) = self.form(pc, test, trial)

form_assembler = get_assembler(a, bcs=bcs, form_compiler_parameters=fcp, mat_type=mat_type, options_prefix=options_prefix)
bcs_Jp = tuple(bc.extract_form('Jp') for bc in bcs)
Copy link
Contributor

Choose a reason for hiding this comment

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

This should go in self.form so every preconditioner gets the correct bcs

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.

2 participants