]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Update a comment to explain what is going to happen.
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 29 Mar 2018 22:24:51 +0000 (16:24 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 2 Apr 2018 22:33:50 +0000 (16:33 -0600)
include/deal.II/fe/fe_poly_face.templates.h

index 3499b6c16a75bd319cdfb6d9350626a546cb64e4..9a30f3fbcd91a4209f79c8897e52c748fb422971 100644 (file)
@@ -83,8 +83,17 @@ fill_fe_values (const typename Triangulation<dim,spacedim>::cell_iterator &,
                 const typename FiniteElement<dim,spacedim>::InternalDataBase &,
                 dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &) const
 {
-  // Do nothing, since we do not have
-  // values in the interior
+  // Do nothing, since we do not have values in the interior. Since
+  // FEValues initializes the output variables for this function
+  // with invalid values, this means that we simply leave them at
+  // the invalid values -- typically, signaling NaNs. This means
+  // that when you later look at those components of shape
+  // functions or solution vectors that correspond to the
+  // face element, you will see signaling_NaNs. This simply means
+  // that you should not use them -- the shape functions and the
+  // solution do not actually live inside the cell, and so any
+  // attempt at evaluating it there *should* yield an invalid
+  // result.
 }
 
 

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.