Skip to content

Commit a9cb1eb

Browse files
authored
default firedrake options prefix for petsctools (#4699)
1 parent 0528493 commit a9cb1eb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

firedrake/variational_solver.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,8 @@ def update_diffusivity(current_solution):
274274
problem.J.arguments(),
275275
ksp_defaults=self.DEFAULT_KSP_PARAMETERS,
276276
snes_defaults=self.DEFAULT_SNES_PARAMETERS)
277-
super().__init__(solver_parameters, options_prefix)
277+
super().__init__(solver_parameters, options_prefix,
278+
default_prefix="firedrake")
278279
# Now the correct parameters live in self.parameters (via the
279280
# OptionsManager mixin)
280281
mat_type = self.parameters.get("mat_type")

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ dependencies = [
3232
"packaging",
3333
# TODO RELEASE
3434
# "petsc4py==3.24.0",
35-
"petsctools",
35+
"petsctools @ git+https://github.com/firedrakeproject/petsctools.git@main",
3636
"pkgconfig",
3737
"progress",
3838
# TODO RELEASE

0 commit comments

Comments
 (0)