void get_function_hessians (const InputVector &fe_function,
std::vector<typename ProductType<hessian_type,typename InputVector::value_type>::type> &hessians) const;
+ /**
+ * @copydoc FEValuesViews::Scalar::get_function_values_from_local_dof_values()
+ */
+ template <class InputVector>
+ void get_function_hessians_from_local_dof_values (const InputVector &dof_values,
+ std::vector<typename OutputType<typename InputVector::value_type>::hessian_type> &hessians) const;
+
+
/**
* Return the Laplacians of the selected scalar component of the finite
* element function characterized by <tt>fe_function</tt> at the
+ template <int dim, int spacedim>
+ template <class InputVector>
+ void
+ Scalar<dim,spacedim>::
+ get_function_hessians_from_local_dof_values(const InputVector &dof_values,
+ std::vector<typename OutputType<typename InputVector::value_type>::hessian_type> &hessians) const
+ {
+ Assert (fe_values->update_flags & update_hessians,
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_hessians")));
+ Assert (fe_values->present_cell.get() != nullptr,
+ ExcMessage ("FEValues object is not reinit'ed to any cell"));
+ AssertDimension (dof_values.size(), fe_values->dofs_per_cell);
+
+ internal::do_function_derivatives<2,dim,spacedim>
+ (make_array_view(dof_values.begin(), dof_values.end()),
+ fe_values->finite_element_output.shape_hessians, shape_function_data, hessians);
+ }
+
+
+
template <int dim, int spacedim>
template <class InputVector>
void
void FEValuesViews::Scalar<deal_II_dimension, deal_II_space_dimension>
::get_function_gradients_from_local_dof_values<VEC<Number>>
(const VEC<Number>&, std::vector<typename OutputType<Number>::gradient_type>&) const;
+
+ template
+ void FEValuesViews::Scalar<deal_II_dimension, deal_II_space_dimension>
+ ::get_function_hessians_from_local_dof_values<VEC<Number>>
+ (const VEC<Number>&, std::vector<typename OutputType<Number>::hessian_type>&) const;
#endif
}