On 4/10/25 04:31, Balu sharma wrote:
I am trying to separate system matrix assembly and residual vector assembly for solving a linear system of equation during a Newton-Raphson method,which should use an inhomogenous constraint. I am using AffineConstraints class from dealii. But based on the documentation and my trials, there is no way to apply inhomogenous constraints on the residual vector without already having an assembled stiffness matrix. The distribute_local_to_global() function only using residual vectors applies homogenous constraints by default.

Does anyone know of a solution to this? Thanks in advance.

Take a look at step-77, which has the same premise as what you want to do.

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 visit 
https://groups.google.com/d/msgid/dealii/7795993d-6b45-4f28-ae83-ce054aeba7f2%40colostate.edu.

Reply via email to