// ---------------------------------------------------------------------
//
// 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 (deal_II_struct_dimension : DIMENSIONS; deal_II_dimension : DIMENSIONS;
     deal_II_space_dimension : DIMENSIONS;
     lda : BOOL)
  {
#if deal_II_struct_dimension <= deal_II_dimension && \
  deal_II_dimension <= deal_II_space_dimension
    template class DoFAccessor<deal_II_struct_dimension,
                               deal_II_dimension,
                               deal_II_space_dimension,
                               lda>;
    template class TriaRawIterator<DoFAccessor<deal_II_struct_dimension,
                                               deal_II_dimension,
                                               deal_II_space_dimension,
                                               lda>>;
    template class TriaIterator<DoFAccessor<deal_II_struct_dimension,
                                            deal_II_dimension,
                                            deal_II_space_dimension,
                                            lda>>;
    template class TriaActiveIterator<DoFAccessor<deal_II_struct_dimension,
                                                  deal_II_dimension,
                                                  deal_II_space_dimension,
                                                  lda>>;
#endif
  }


for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS;
     lda : BOOL)
  {
#if deal_II_dimension <= deal_II_space_dimension
    template class DoFCellAccessor<deal_II_dimension,
                                   deal_II_space_dimension,
                                   lda>;
    template class TriaRawIterator<
      DoFCellAccessor<deal_II_dimension, deal_II_space_dimension, lda>>;
    template class TriaIterator<
      DoFCellAccessor<deal_II_dimension, deal_II_space_dimension, lda>>;
    template class TriaActiveIterator<
      DoFCellAccessor<deal_II_dimension, deal_II_space_dimension, lda>>;
#endif
  }


for (deal_II_struct_dimension : DIMENSIONS; deal_II_dimension : DIMENSIONS;
     deal_II_space_dimension : DIMENSIONS)
  {
    template class DoFInvalidAccessor<deal_II_struct_dimension,
                                      deal_II_dimension,
                                      deal_II_space_dimension>;
  }
