]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add periodic_neighbor_face_no() call. 3210/head
authorSAM COX <spc29@le.ac.uk>
Thu, 6 Oct 2016 10:17:33 +0000 (11:17 +0100)
committerSAM COX <spc29@le.ac.uk>
Thu, 6 Oct 2016 10:17:33 +0000 (11:17 +0100)
source/dofs/dof_tools_sparsity.cc

index 4bede2c1111f147b97919584f190b1c569221a56..725546c1a84fc3128c5a01c98300601649233b21 100644 (file)
@@ -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 ())
                         {

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.