From: Denis Davydov Date: Mon, 22 Feb 2016 22:30:55 +0000 (+0100) Subject: fix PointValueHistory to work with the updated VectorTools::point_value() X-Git-Tag: v8.5.0-rc1~1289^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b129d8609f5acf68b875bf782b0bd984ad8c2c5;p=dealii.git fix PointValueHistory to work with the updated VectorTools::point_value() --- 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