Re: [deal.II] Parallelization of step-2: DynamicMatrix to SparsityMatrix

2017-02-14 Thread Kartik Jujare
Thank you Timo for your reply. On Sunday, February 12, 2017 at 3:54:19 PM UTC+1, Timo Heister wrote: > > Yes, it looks like you can not copy a DSP with an IndexSet into a > SparsityPattern. We could make that work but it also is not a very > useful operation. Can you try replacing > DynamicSp

Re: [deal.II] Parallelization of step-2: DynamicMatrix to SparsityMatrix

2017-02-12 Thread Timo Heister
Yes, it looks like you can not copy a DSP with an IndexSet into a SparsityPattern. We could make that work but it also is not a very useful operation. Can you try replacing DynamicSparsityPattern dsp (locally_relevant_dofs); with DynamicSparsityPattern dsp; ? This is not efficient for large com

[deal.II] Parallelization of step-2: DynamicMatrix to SparsityMatrix

2017-02-10 Thread Kartik Jujare
Hello everyone, This question is regarding DynamicSparsityPattern and SparsityPattern. I am trying, as a small exercise to parallelize step files and observe the output. In the step-2 file. I am not able to use the copy_from() function when I run it in parallel. Could anyone please suggest a wo