]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Initialize two DoFInfo fields. 3469/head
authorDavid Wells <wellsd2@rpi.edu>
Sat, 5 Nov 2016 02:46:45 +0000 (22:46 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Sat, 5 Nov 2016 02:46:45 +0000 (22:46 -0400)
These are the same values used in the reinit function.

include/deal.II/meshworker/dof_info.h
include/deal.II/meshworker/dof_info.templates.h

index cdfad1ec546bb5116e4c605971c653fbddb6d603..87aafc75f13a5a35f804b756bfabe22592637700 100644 (file)
@@ -274,6 +274,8 @@ namespace MeshWorker
   template <int dim, int spacedim, typename number>
   DoFInfo<dim,spacedim,number>::DoFInfo(const DoFHandler<dim,spacedim> &dof_handler)
     :
+    face_number (numbers::invalid_unsigned_int),
+    sub_number (numbers::invalid_unsigned_int),
     level_cell (false)
   {
     std::vector<types::global_dof_index> aux(1);
index e2ea7d89b7af04f1a904b46636501943ec24625d..a585ac680ea2e1b80c7e3e495c008d6be270183a 100644 (file)
@@ -24,6 +24,8 @@ namespace MeshWorker
   template <int dim, int spacedim, typename number>
   DoFInfo<dim,spacedim,number>::DoFInfo(const BlockInfo &info)
     :
+    face_number (numbers::invalid_unsigned_int),
+    sub_number (numbers::invalid_unsigned_int),
     block_info(&info, typeid(*this).name()),
     level_cell (false)
   {

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.