From 6b129d8609f5acf68b875bf782b0bd984ad8c2c5 Mon Sep 17 00:00:00 2001 From: Denis Davydov Date: Mon, 22 Feb 2016 23:30:55 +0100 Subject: [PATCH] fix PointValueHistory to work with the updated VectorTools::point_value() --- source/numerics/point_value_history.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/numerics/point_value_history.cc b/source/numerics/point_value_history.cc index ee6a4bd178..3ef392f964 100644 --- a/source/numerics/point_value_history.cc +++ b/source/numerics/point_value_history.cc @@ -817,6 +817,7 @@ void PointValueHistory ::evaluate_field_at_requested_location (const std::string &vector_name, const VectorType &solution) { + typedef typename VectorType::value_type number; // must be closed to add data to internal // members. Assert (closed, ExcInvalidState ()); @@ -841,7 +842,7 @@ void PointValueHistory unsigned int n_stored = mask->second.n_selected_components(dof_handler->get_fe ().n_components ()); typename std::vector >::iterator point = point_geometry_data.begin (); - Vector value (dof_handler->get_fe().n_components()); + Vector value (dof_handler->get_fe().n_components()); for (unsigned int data_store_index = 0; point != point_geometry_data.end (); point++, data_store_index++) { // Make a Vector for the value -- 2.39.5