Closed JHopeCollins closed 11 months ago
the pedant may complain that self.xfi and self.xfr should be Cofunctions as well.
I would have but cpx.{set,get}_{real,imag}
doesn't work between Cofunctions with the complex_proxy.vector
implementation (the default). I've opened an issue to fix it #151.
~Waiting on upstream PRs: fenics ufl#243 and either firedrake#3235 or firedrake#3241~
This PR changes the pc to use a
Cofunction
rhs to the block solvers. This means we can copy the diagonalised residual straight into theCofunction
instead of having to do a Riesz map solve into aFunction
to use as the rhs.