]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Leave a couple of TODOs. There are ways to make the current code simpler, but most...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 10 Aug 2013 21:27:59 +0000 (21:27 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 10 Aug 2013 21:27:59 +0000 (21:27 +0000)
git-svn-id: https://svn.dealii.org/trunk@30282 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/fe/fe.cc
deal.II/source/fe/fe_q_base.cc

index 8e48a01f87df2dcce1cb29a325962c9fb9f0e3e4..501e7e0d818874bfe071b15856a0bdcc6013b89f 100644 (file)
@@ -558,6 +558,15 @@ face_to_cell_index (const unsigned int face_index,
   Assert (face < GeometryInfo<dim>::faces_per_cell,
           ExcIndexRange(face, 0, GeometryInfo<dim>::faces_per_cell));
 
+//TODO: we could presumably solve the 3d case below using the
+// adjust_quad_dof_index_for_face_orientation_table field. for the
+// 2d case, we can't use adjust_line_dof_index_for_line_orientation_table
+// since that array is empty (presumably because we thought that
+// there are no flipped edges in 2d, but these can happen in
+// DoFTools::make_periodicity_constraints, for example). so we
+// would need to either fill this field, or rely on derived classes
+// implementing this function, as we currently do
+
   // see the function's documentation for an explanation of this
   // assertion -- in essence, derived classes have to implement
   // an overloaded version of this function if we are to use any
index 7e549632844d8a04807c6b5dbb881bf1f0d41c20..a43e3be528b3c054cf27988f54a2efea188ce3ec 100644 (file)
@@ -1000,6 +1000,15 @@ face_to_cell_index (const unsigned int face_index,
   Assert (face < GeometryInfo<dim>::faces_per_cell,
           ExcIndexRange(face, 0, GeometryInfo<dim>::faces_per_cell));
 
+//TODO: we could presumably solve the 3d case below using the
+// adjust_quad_dof_index_for_face_orientation_table field. for the
+// 2d case, we can't use adjust_line_dof_index_for_line_orientation_table
+// since that array is empty (presumably because we thought that
+// there are no flipped edges in 2d, but these can happen in
+// DoFTools::make_periodicity_constraints, for example). so we
+// would need to either fill this field, or rely on derived classes
+// implementing this function, as we currently do
+
   // we need to distinguish between DoFs on vertices, lines and in 3d quads.
   // do so in a sequence of if-else statements
   if (face_index < this->first_face_line_index)

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.