[petsc-users] Values of a column in a parallel matrix

Daralagodu Dattatreya Jois, Sathwik Bharadw sdaralagodudatta at wpi.edu
Mon Mar 20 18:07:44 CDT 2017


Hey all,


 I am using  AIJ matrix to solve Laplace problem in finite element framework. To apply Neumann boundary conditions I need to obtain values of first and last few columns and subtract it with the corresponding right hand side vector. I understand that MatGetColumnVector and MatGetValues are not collective. Is there any other alternative petsc calls to achieve this in parallel?



Thanks,

Sathwik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170320/bf5fca5b/attachment.html>


More information about the petsc-users mailing list