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