Thank you for the reply. My code is MPI parallelised, how can I use the condense() function with ghost values mentioned in the AffineConstraints class?
With regards Subramania Sharma On Thursday, April 17, 2025 at 6:35:38 PM UTC+2 Wolfgang Bangerth wrote: > 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: bang...@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/ce41c76d-fc69-431b-bb89-825c1c6f3778n%40googlegroups.com.