On 7/18/23 00:44, sabyasachi chatterjee wrote:
Note that my stiffness matrix is not symmetric ( system_matrix.is_symmetric() is returning 0 ).

Then there is your mistake. You can only use the CG solver for symmetric and positive definite matrices. You will want to use GMRES for other matrices.

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@colostate.edu
                           www: http://www.math.colostate.edu/~bangerth/


--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/87e75e01-2fdb-63e1-6c0c-64a9dc7a9173%40colostate.edu.

Reply via email to