[petsc-users] BCs for a EPS solver

Emmanuel Ayala juaneah at gmail.com
Mon Feb 17 12:35:38 CST 2020


Hi everyone,

I have an eigenvalue problem where I need to apply BCs to the stiffness and
mass matrix.

Usually, for KSP solver, it is enough to set to zero the rows and columns
related to the boundary conditions. I used to apply it with
MatZeroRowsColumns, with a 1s on the diagonal. Then the solver works well.

There is something similar to KSP for EPS solver ?

I already used MatZeroRowsColumns (for EPS solver), with a 1s on the
diagonal, and I got wrong result.

Kind regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200217/55802214/attachment.html>


More information about the petsc-users mailing list