// ---------------------------------------------------------------------
//
// Copyright (C) 2006 - 2016 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 at
// the top level of the deal.II distribution.
//
// ---------------------------------------------------------------------



for (deal_II_dimension : DIMENSIONS)
{
    template class DoFObjects<deal_II_dimension>;
}


for (deal_II_dimension, structdim : DIMENSIONS)
{
    template
    types::global_dof_index
    DoFObjects<structdim>::
    get_dof_index (const dealii::DoFHandler<deal_II_dimension> &dof_handler,
                   const unsigned int       obj_index,
                   const unsigned int       fe_index,
                   const unsigned int       local_index) const;

    template
    void
    DoFObjects<structdim>::
    set_dof_index (const dealii::DoFHandler<deal_II_dimension> &dof_handler,
                   const unsigned int       obj_index,
                   const unsigned int       fe_index,
                   const unsigned int       local_index,
                   const types::global_dof_index       global_index);

#if (deal_II_dimension < 3) && (structdim < 3)

    template
    types::global_dof_index
    DoFObjects<structdim>::
    get_dof_index (const dealii::DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof_handler,
                   const unsigned int       obj_index,
                   const unsigned int       fe_index,
                   const unsigned int       local_index) const;

    template
    void
    DoFObjects<structdim>::
    set_dof_index (const dealii::DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof_handler,
                   const unsigned int       obj_index,
                   const unsigned int       fe_index,
                   const unsigned int       local_index,
                   const types::global_dof_index global_index);
#endif


#if (deal_II_dimension == 3) && (structdim < 3)

    template
    types::global_dof_index
    DoFObjects<structdim>::
    get_dof_index (const dealii::DoFHandler<1,3> &dof_handler,
                   const unsigned int       obj_index,
                   const unsigned int       fe_index,
                   const unsigned int       local_index) const;

    template
    void
    DoFObjects<structdim>::
    set_dof_index (const dealii::DoFHandler<1,3> &dof_handler,
                   const unsigned int       obj_index,
                   const unsigned int       fe_index,
                   const unsigned int       local_index,
                   const types::global_dof_index       global_index);
#endif
}

