From fb4ce25148875540ac8c121765f08abfacbc515f Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Mon, 9 Oct 2017 12:40:20 +0200 Subject: [PATCH] Also assert in read_dof_values_plain. --- include/deal.II/matrix_free/fe_evaluation.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/deal.II/matrix_free/fe_evaluation.h b/include/deal.II/matrix_free/fe_evaluation.h index dafb516184..1170a3075d 100644 --- a/include/deal.II/matrix_free/fe_evaluation.h +++ b/include/deal.II/matrix_free/fe_evaluation.h @@ -3455,6 +3455,16 @@ FEEvaluationBase // and sit on a different vector each) if (n_fe_components == 1) { + for (unsigned int c=0; c or a BlockVector to " + + "read_dof_values_plain.")); + const unsigned int n_local_dofs = VectorizedArray::n_array_elements * dofs_per_cell; for (unsigned int comp=0; comp