From: Peter Munch Date: Wed, 19 May 2021 04:40:52 +0000 (+0200) Subject: Include file in vector_tools.h X-Git-Tag: v9.3.0-rc1~34^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F12249%2Fhead;p=dealii.git Include file in vector_tools.h --- diff --git a/include/deal.II/numerics/vector_tools.h b/include/deal.II/numerics/vector_tools.h index e814363fdf..e8a1235ffb 100644 --- a/include/deal.II/numerics/vector_tools.h +++ b/include/deal.II/numerics/vector_tools.h @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include diff --git a/include/deal.II/numerics/vector_tools_project.templates.h b/include/deal.II/numerics/vector_tools_project.templates.h index c6c718277f..06a8f4e298 100644 --- a/include/deal.II/numerics/vector_tools_project.templates.h +++ b/include/deal.II/numerics/vector_tools_project.templates.h @@ -232,11 +232,11 @@ namespace VectorTools { phi.reinit(cell); phi.read_dof_values_plain(inhomogeneities); - phi.evaluate(EvaluationFlags::values); + phi.evaluate(::dealii::EvaluationFlags::values); for (unsigned int q = 0; q < phi.n_q_points; ++q) phi.submit_value(phi.get_value(q), q); - phi.integrate(EvaluationFlags::values); + phi.integrate(::dealii::EvaluationFlags::values); phi.distribute_local_to_global(rhs); } rhs.compress(VectorOperation::add); @@ -665,7 +665,7 @@ namespace VectorTools for (unsigned int q = 0; q < n_q_points; ++q) fe_eval.submit_value(func(cell, q), q); - fe_eval.integrate(EvaluationFlags::values); + fe_eval.integrate(::dealii::EvaluationFlags::values); fe_eval.distribute_local_to_global(rhs); } rhs.compress(VectorOperation::add);