Closed jowezarek closed 7 months ago
In psydac/examples/, the file maxwell_2d_multi_patch.py did not run because of this line
psydac/examples/
maxwell_2d_multi_patch.py
equation_h.set_solver('pcg', pc='jacobi', tol=1e-8, info=True)
Passing the string 'jacobi' is no longer allowed since PR #360. I copied the workaround found in api/tests/test_2d_multipatch_mapping_maxwell.py:
'jacobi'
api/tests/test_2d_multipatch_mapping_maxwell.py
equation_h.assemble() jacobi_pc = equation_h.linear_system.lhs.diagonal(inverse=True) equation_h.set_solver('pcg', pc=jacobi_pc, tol=1e-8, info=True)
In
psydac/examples/
, the filemaxwell_2d_multi_patch.py
did not run because of this lineequation_h.set_solver('pcg', pc='jacobi', tol=1e-8, info=True)
Passing the string
'jacobi'
is no longer allowed since PR #360. I copied the workaround found inapi/tests/test_2d_multipatch_mapping_maxwell.py
: