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/