// ---------------------------------------------------------------------
//
// Copyright (C) 1998 - 2020 by the deal.II authors
//
// This file is part of the deal.II library.
//
// The deal.II library is free software; you can use it, redistribute
// it, and/or modify it under the terms of the GNU Lesser General
// Public License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
// The full text of the license can be found in the file LICENSE.md at
// the top level directory of deal.II.
//
// ---------------------------------------------------------------------

for (VEC : VECTOR_TYPES; deal_II_dimension : DIMENSIONS;
     deal_II_space_dimension : SPACE_DIMENSIONS)
  {
#if deal_II_dimension == deal_II_space_dimension

    namespace VectorTools
    \{
      template void
      point_gradient(
        const hp::MappingCollection<deal_II_dimension> &,
        const DoFHandler<deal_II_dimension> &,
        const VEC &,
        const Point<deal_II_dimension> &,
        std::vector<Tensor<1, deal_II_space_dimension, VEC::value_type>> &);

      template Tensor<1, deal_II_space_dimension, VEC::value_type>
      point_gradient(const hp::MappingCollection<deal_II_dimension> &,
                     const DoFHandler<deal_II_dimension> &,
                     const VEC &,
                     const Point<deal_II_dimension> &);

      template void
      point_gradient(
        const DoFHandler<deal_II_dimension> &,
        const VEC &,
        const Point<deal_II_dimension> &,
        std::vector<Tensor<1, deal_II_space_dimension, VEC::value_type>> &);

      template Tensor<1, deal_II_space_dimension, VEC::value_type>
      point_gradient(const DoFHandler<deal_II_dimension> &,
                     const VEC &,
                     const Point<deal_II_dimension> &);

      template void
      point_gradient(
        const Mapping<deal_II_dimension> &,
        const DoFHandler<deal_II_dimension> &,
        const VEC &,
        const Point<deal_II_dimension> &,
        std::vector<Tensor<1, deal_II_space_dimension, VEC::value_type>> &);

      template Tensor<1, deal_II_space_dimension, VEC::value_type>
      point_gradient(const Mapping<deal_II_dimension> &,
                     const DoFHandler<deal_II_dimension> &,
                     const VEC &,
                     const Point<deal_II_dimension> &);

    \}
#endif
  }
