]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Initialize all variables 4073/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Thu, 16 Mar 2017 21:10:33 +0000 (22:10 +0100)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Thu, 16 Mar 2017 21:10:33 +0000 (22:10 +0100)
include/deal.II/matrix_free/matrix_free.h

index 0ecf6c304db930f2fc12e5a6abb8c446e1da240d..3e9c6b8db50348bff992b64167a2e34a6dc569d3 100644 (file)
@@ -180,6 +180,7 @@ public:
                     const bool                initialize_indices = true,
                     const bool                initialize_mapping = true)
       :
+      mpi_communicator      (MPI_COMM_SELF),
       tasks_parallel_scheme (tasks_parallel_scheme),
       tasks_block_size      (tasks_block_size),
       mapping_update_flags  (mapping_update_flags),
@@ -2134,6 +2135,7 @@ namespace internal
                 const internal::MatrixFreeFunctions::TaskInfo &task_info_in,
                 const bool is_blocked_in)
         :
+        dummy (NULL),
         worker (worker_in),
         partition (partition_in),
         task_info (task_info_in),
@@ -2170,6 +2172,7 @@ namespace internal
                      const internal::MatrixFreeFunctions::TaskInfo &task_info_in,
                      const bool    is_blocked_in = false)
         :
+        dummy (NULL),
         function (function_in),
         partition (partition_in),
         task_info (task_info_in),
@@ -2297,6 +2300,7 @@ namespace internal
                      const internal::MatrixFreeFunctions::TaskInfo &task_info_in,
                      const bool    is_blocked_in)
         :
+        dummy (NULL),
         worker (worker_in),
         partition (partition_in),
         task_info (task_info_in),

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.