From: SAM COX Date: Thu, 6 Oct 2016 10:17:33 +0000 (+0100) Subject: Add periodic_neighbor_face_no() call. X-Git-Tag: v8.5.0-rc1~588^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec225ba12d5dfcb3cafa9a809954a5ec097cec76;p=dealii.git Add periodic_neighbor_face_no() call. --- diff --git a/source/dofs/dof_tools_sparsity.cc b/source/dofs/dof_tools_sparsity.cc index 4bede2c111..725546c1a8 100644 --- a/source/dofs/dof_tools_sparsity.cc +++ b/source/dofs/dof_tools_sparsity.cc @@ -803,7 +803,9 @@ namespace DoFTools continue; // (the neighbor is finer) const unsigned int - neighbor_face_n = cell->neighbor_face_no (face_n); + neighbor_face_n = periodic_neighbor? + cell->periodic_neighbor_face_no (face_n): + cell->neighbor_face_no (face_n); if (cell_face->has_children ()) {