Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Hope-Collins <[email protected]>
Co-authored-by: David A. Ham <[email protected]>
  • Loading branch information
3 people authored Dec 5, 2024
1 parent 8f71306 commit c8abf2f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/firedrake/regression/test_dg_advection.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,14 @@ def run_test(mesh):
t = 0.0
T = 10*dt

problem = LinearVariationalProblem(a_mass, action(arhs, D1), dD1)
problem = LinearVariationalProblem(a_mass, action(arhs, D1), dD1,
constant_jacobian=True)
solver = LinearVariationalSolver(
problem,
solver_parameters={
'ksp_type': 'cg',
# specify superlu_dist as MUMPS fails in parallel on MacOS
'pc_factor_mat_solver_type': 'superlu_dist',
'ksp_type': 'preonly',
'pc_type': 'bjacobi',
'sub_pc_type': 'ilu'
}
)

Expand Down

0 comments on commit c8abf2f

Please sign in to comment.