On 8/19/22 05:46, Simon Wiesheier wrote:

This system boilds down to a 2x2 system for x1 and x2 with x0=0.
This is exactly what I want to compute, but without having -c*K10 substracted.
(Because the new rhs comes from a different problem and has nothing to do with the constrainted dofs - I just need the 2x2 portion from the original problem)

Right. But c*K10 is subtracted from the right hand side when you call
  constraints.distribute_local_to_global (...)
It is not magically stored somewhere. When you solve a new linear system with the matrix, that linear system knows nothing about what happened when you first built the matrix and the original right hand side.

Best
 W.

--
------------------------------------------------------------------------
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/66de0c9f-8dce-48a3-a7fb-6a047bc4f1c7%40colostate.edu.

Reply via email to