Ce Qin,

Am Freitag, 30. Dezember 2016 02:46:05 UTC+1 schrieb Ce Qin:
>
> Dear all,
>
> I want to build a 2x2 block matrix, while all blocks are built from a 
> smaller DoFHandler. I need to generate 2 ConstraintMatrix and shift one 
> of them, then merge them together. In the source code, Timo Heister said 
> that the merge function doesn’t work with IndexSet yet. Can anyone 
> provide some hints on how to implement it?
>
You can merge two ConstraintMatrix objects using ConstraintMatrix::shift 
[1] and ConstraintMatrix::merge [2]. Also, you can merge two IndexSet 
objects using
IndexSet::add_indices[3].
What exactly is the problem you are experiencing? Which source code do you 
refer to?

Best,
Daniel

[1] 
https://www.dealii.org/8.4.0/doxygen/deal.II/classConstraintMatrix.html#ad971fb29f0a15bf8d30704d2a5ab445e
 
[2] 
https://www.dealii.org/8.4.0/doxygen/deal.II/classConstraintMatrix.html#a08b5378ad8b23e5fb86c71a2c66bff13
[3] 
https://www.dealii.org/8.4.1/doxygen/deal.II/classIndexSet.html#a4d7d0507018483fb625ecf1358187e26

>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to