]> https://gitweb.dealii.org/ - dealii.git/commit
Fix make_flux_sparsity_pattern on parallel meshes. 2325/head
authorDavid Wells <wellsd2@rpi.edu>
Sun, 24 Apr 2016 21:58:43 +0000 (17:58 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Wed, 27 Apr 2016 22:49:39 +0000 (18:49 -0400)
commit98fe64719a0828a65196d757377edee749a0d415
tree2d3b184cfb39ea8c065868b37a6be18f610c5486
parent1ed97ee3164e968e18b596b67895443b9d327a0d
Fix make_flux_sparsity_pattern on parallel meshes.

This fixes my erroneous work in 9b037871bb. The function previously
skipped faces based on the total ordering: however, we will not revisit
the face if it is between a locally owned and ghost cell, so the
resulting sparsity pattern is rather weird (and wrong). Instead, only
skip the face if we meet the previous ordering condition and both cells
are locally owned.
source/dofs/dof_tools_sparsity.cc
tests/mpi/distribute_flux_sparsity_pattern.cc [new file with mode: 0644]
tests/mpi/distribute_flux_sparsity_pattern.mpirun=2.with_p4est=true.with_trilinos=true.output [new file with mode: 0644]

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.