Daniel,

I see your point. I would double check later. The reason I didn't use 
locally relevant dofs is I didn't design the code to do h-refinement so I 
didn't see points using relevant dofs.

Thanks,
Weixiong

在 2017年6月7日星期三 UTC-7上午6:35:44,Daniel Arndt写道:
>
> Weixiong,
>
> [...]
>> SparsityTools::distribute_sparsity_pattern (dsp,
>>                                 
>> dof_handler.n_locally_owned_dofs_per_processor (),
>>                                 mpi_communicator,
>>                                locally_owned_dofs);
>>
> This looks a bit suspicious. Normally, you should use the set of locall 
> relevant dofs here [1].
> You also might want to compare with step-40 [2].
>
> Best,
> Daniel
>
> [1] 
> https://www.dealii.org/8.5.0/doxygen/deal.II/namespaceSparsityTools.html#ae2c7bdbdb62642f60d60087e4cb6195f
> [2] 
> https://www.dealii.org/8.5.0/doxygen/deal.II/step_40.html#LaplaceProblemsetup_system
>
> [1] 
>
>

-- 
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