Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
ksagiyam committed Oct 25, 2024
1 parent fefed5e commit f911b02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion firedrake/preconditioners/assembled.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f911b02

Please sign in to comment.