Dustin, I don't think that the add_entries was made to copy entire SparsityPattern. I think that you should use the function copy_from (http://dealii.org/8.4.1/doxygen/deal.II/classSparsityPattern.html#a96248eff3fbfa4270dfe21b0a4ea077b). This function was made for what you are trying to do.
BTW the function is called make_biorthogonal_sparsity_pattern in the test not make_offdiagonal_sparsity_pattern. Best, Bruno On Tuesday, August 30, 2016 at 9:42:26 AM UTC-4, Dustin Kumor wrote: > > Dear Martin, > > unfortunately I have to revise all my statements. Updating the deal.II > library to the most recent developement version did not solve the problem. > I made a stupid mistake while creating the file for the test case. The > function make_offdiagonal_sparsity_pattern () has been commented out in > the test case file. And with this line commented out I need the same time > to copy as you did. If I take into account this function the time to copy > the dynamicsparsitypattern becomes as big as before. I attached the > corrected testcase file to the post again and also the two log files one > for each run. Can you run the program on your machine with the modified > file again and figure out whether you get similiar results or not? If you > observe the same behavior we can be sure that the problem is related to my > function make_offdiagonal_sparsity_pattern () and the way I create the > sparsity pattern. > > Best, > Dustin > >> -- 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.