From 2fc8894aff0f84e4a64d0d3d6e2a356f945c60c8 Mon Sep 17 00:00:00 2001 From: David Wells Date: Fri, 4 Nov 2016 22:46:45 -0400 Subject: [PATCH] Initialize two DoFInfo fields. These are the same values used in the reinit function. --- include/deal.II/meshworker/dof_info.h | 2 ++ include/deal.II/meshworker/dof_info.templates.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/include/deal.II/meshworker/dof_info.h b/include/deal.II/meshworker/dof_info.h index cdfad1ec54..87aafc75f1 100644 --- a/include/deal.II/meshworker/dof_info.h +++ b/include/deal.II/meshworker/dof_info.h @@ -274,6 +274,8 @@ namespace MeshWorker template DoFInfo::DoFInfo(const DoFHandler &dof_handler) : + face_number (numbers::invalid_unsigned_int), + sub_number (numbers::invalid_unsigned_int), level_cell (false) { std::vector aux(1); diff --git a/include/deal.II/meshworker/dof_info.templates.h b/include/deal.II/meshworker/dof_info.templates.h index e2ea7d89b7..a585ac680e 100644 --- a/include/deal.II/meshworker/dof_info.templates.h +++ b/include/deal.II/meshworker/dof_info.templates.h @@ -24,6 +24,8 @@ namespace MeshWorker template DoFInfo::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) { -- 2.39.5