[deal.II] convert BlockSparseMatrix to SparseMatrix
15 views
Skip to first unread message
陈敏
unread,
Apr 15, 2022, 4:35:57 AM4/15/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dea...@googlegroups.com
Hi everyone,
Is it possible to convert BlockSparseMatrix to SparseMatrix in deal.ii?
If so, Is it possible to convert LA::MPI::BlockSparseMatrix to LA::MPI::SparseMatrix in deal.ii? and what should I do to dof_handler and Sparse_pattern?
best,
chen
SebG
unread,
Apr 15, 2022, 7:32:33 AM4/15/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to deal.II User Group
Dear Chen,
I guess that the namespace LA::MPI refers to PETScWrappers or PETScWrappers or TrilinosWrappers (without MPI). According to my knowledge, the answer to the first two question is no. Regarding the DoFHandler, a component wise or block wise renumbering of the degrees of freedom is usually performed when block systems are used. The SparsityPattern is replaced by a BlockSparsityPattern. You may consider one of the tutorial programs on the Stokes problem for details.