On 5/21/19 3:50 AM, GiovanniA wrote: > > There are no problems building the matrix, but the solver and the > preconditioner are not accepting a block matrix as imput.
Can you post the error messages you get? The solver should have no problem with it, though the AMG preconditioner can only work on a single block. I will note that even if you could make this work, you'll have the problem that (i) your block matrix is not positive definite, and so your attempt to use a CG solver will not work, (ii) for the same reason, you will likely not be able to use the AMG as a preconditioner for the whole system. Best WB -- ------------------------------------------------------------------------ Wolfgang Bangerth email: [email protected] 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/1ca17409-bb32-37ac-f8e3-adb7fa658b2f%40colostate.edu. For more options, visit https://groups.google.com/d/optout.
