From f911b02f58ae6e6aecc0d818c87bb5c2196d4e11 Mon Sep 17 00:00:00 2001 From: ksagiyam Date: Fri, 25 Oct 2024 16:36:20 +0100 Subject: [PATCH] temp --- firedrake/preconditioners/assembled.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/firedrake/preconditioners/assembled.py b/firedrake/preconditioners/assembled.py index 4d9710867b..5d521300ea 100644 --- a/firedrake/preconditioners/assembled.py +++ b/firedrake/preconditioners/assembled.py @@ -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) + form_assembler = get_assembler(a, bcs=bcs_Jp, form_compiler_parameters=fcp, mat_type=mat_type, options_prefix=options_prefix) self.P = form_assembler.allocate() self._assemble_P = form_assembler.assemble self._assemble_P(tensor=self.P)