On 10/28/23 13:41, Mathieu wrote:

What do you think is an appropriate data structure for the storage of the entries associated with the constrained dofs? A FullMatrix or a separate AffineConstraints?

Later, I have to somehow merge this data structure with the condensed system matrix since I have to solve a linear system with it.

The storing it as a sparse matrix seems reasonable. Its sparsity pattern is a subset of the sparsity pattern of the system matrix. If you just want to get things working, then using the same sparsity pattern is going to be a quick solution though it wastes a substantial amount of memory. If you want to put some more work in, you can relatively easily determine which rows and columns need to be stored.

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/369ea62a-2399-af36-e461-bcfb9f559dde%40colostate.edu.

Reply via email to