Dear Daniel, It works now. I made a mistake before. Thank you for your help.
Best, Ce Qin 2017-01-02 23:35 GMT+08:00 Daniel Arndt <d.ar...@math.uni-goettingen.de>: > Ce Qin, > > Removing the assertion works, but it will cause a problem. Since the >> ConstraintMatrix internally uses local_lines to determine the position >> of a ConstraintLine, we can not insert new line or query an >> existing line anymore. >> > The attached examples works for me as far as I can tell. There a IndexSet > is created, copied, shifted and merged with the original one. > Similarly, a ConstraintMatrix is created, copied, shifted and merged with > the original one. Furthermore, in the resulting ConstraintMatrix > another constraint is added. What kind of error do you observe when > inserting a new line? > > Best, > Daniel > > -- > 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. > -- 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.