On 11/19/25 14:05, Arthur Bawin wrote:
Then I try to re-create the constraints using get_view() and merge() as
indicated in affine_constraints.h :
You don't show the whole code, so it's difficult to say. But get_view()
doesn't just remove constraints outside the "viewed" subset, but it
re-enumerates. For example, if you have 10 DoFs and your
AffineConstraint stores constraints for indices 1, 2, 5. Then let's say
you call get_view() with an index (sub)set 4...8 inclusive, then the
result is not an AffineConstraint of size 10 that stores a constraint
for index 5. Rather, it is an AffineConstraint of size 5 that stores a
constraint for index 1 (the second index within the range 4...8).
Does that make sense as perhaps the cause for your issue?
Best
W.
--
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 visit
https://groups.google.com/d/msgid/dealii/7dadd0e7-3c6a-4533-a8c2-48e8f3b35aa1%40colostate.edu.