]> https://gitweb.dealii.org/ - dealii.git/commitdiff
FEEvaluation: Only get shared vector data if we have DoFInfo 17967/head
authorMartin Kronbichler <martin.kronbichler@rub.de>
Wed, 1 Jan 2025 13:06:09 +0000 (14:06 +0100)
committerMartin Kronbichler <martin.kronbichler@rub.de>
Wed, 1 Jan 2025 13:12:35 +0000 (14:12 +0100)
include/deal.II/matrix_free/fe_evaluation.h

index cf66cd821b9e871f622b58b272c2dacf013c34b7..1906253ca55b3283987c951a21a40068a4919950 100644 (file)
@@ -3912,8 +3912,9 @@ FEEvaluationBase<dim, n_components_, Number, is_face, VectorizedArrayType>::
   const auto src_data = internal::get_vector_data<n_components_>(
     src,
     first_index,
-    this->dof_access_index ==
-      internal::MatrixFreeFunctions::DoFInfo::dof_access_cell,
+    this->dof_info != nullptr &&
+      this->dof_access_index ==
+        internal::MatrixFreeFunctions::DoFInfo::dof_access_cell,
     this->active_fe_index,
     this->dof_info);
 

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.