//
// ---------------------------------------------------------------------
-for (deal_II_dimension : DIMENSIONS)
+for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
{
+#if deal_II_dimension <= deal_II_space_dimension
template void DoFTools::make_periodicity_constraints(
- const DoFHandler<deal_II_dimension>::face_iterator &,
- const DoFHandler<deal_II_dimension>::face_iterator &,
+ const DoFHandler<deal_II_dimension,
+ deal_II_space_dimension>::face_iterator &,
+ const DoFHandler<deal_II_dimension,
+ deal_II_space_dimension>::face_iterator &,
AffineConstraints<double> &,
const ComponentMask &,
bool,
const std::vector<unsigned int> &,
const double);
-#ifdef DEAL_II_WITH_COMPLEX_VALUES
+# ifdef DEAL_II_WITH_COMPLEX_VALUES
template void DoFTools::make_periodicity_constraints(
- const DoFHandler<deal_II_dimension>::face_iterator &,
- const DoFHandler<deal_II_dimension>::face_iterator &,
+ const DoFHandler<deal_II_dimension,
+ deal_II_space_dimension>::face_iterator &,
+ const DoFHandler<deal_II_dimension,
+ deal_II_space_dimension>::face_iterator &,
AffineConstraints<std::complex<double>> &,
const ComponentMask &,
bool,
const FullMatrix<double> &,
const std::vector<unsigned int> &,
std::complex<double>);
+# endif
#endif
}
-for (deal_II_dimension : DIMENSIONS)
+for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
{
- template void DoFTools::make_periodicity_constraints<deal_II_dimension,
- deal_II_dimension,
- double>(
+#if deal_II_dimension <= deal_II_space_dimension
+ template void
+ DoFTools::make_periodicity_constraints<deal_II_dimension,
+ deal_II_space_dimension,
+ double>(
const std::vector<GridTools::PeriodicFacePair<
- DoFHandler<deal_II_dimension>::cell_iterator>> &,
+ DoFHandler<deal_II_dimension, deal_II_space_dimension>::cell_iterator>>
+ &,
AffineConstraints<double> &,
const ComponentMask &,
const std::vector<unsigned int> &,
const double);
-#ifdef DEAL_II_WITH_COMPLEX_VALUES
- template void DoFTools::make_periodicity_constraints<deal_II_dimension,
- deal_II_dimension,
- std::complex<double>>(
+# ifdef DEAL_II_WITH_COMPLEX_VALUES
+ template void
+ DoFTools::make_periodicity_constraints<deal_II_dimension,
+ deal_II_space_dimension,
+ std::complex<double>>(
const std::vector<GridTools::PeriodicFacePair<
- DoFHandler<deal_II_dimension>::cell_iterator>> &,
+ DoFHandler<deal_II_dimension, deal_II_space_dimension>::cell_iterator>>
+ &,
AffineConstraints<std::complex<double>> &,
const ComponentMask &,
const std::vector<unsigned int> &,
const std::complex<double>);
-#endif
+# endif
template void DoFTools::make_periodicity_constraints(
- const DoFHandler<deal_II_dimension> &,
+ const DoFHandler<deal_II_dimension, deal_II_space_dimension> &,
const types::boundary_id,
const types::boundary_id,
const unsigned int,
const ComponentMask &,
const double);
-#ifdef DEAL_II_WITH_COMPLEX_VALUES
+# ifdef DEAL_II_WITH_COMPLEX_VALUES
template void DoFTools::make_periodicity_constraints(
- const DoFHandler<deal_II_dimension> &,
+ const DoFHandler<deal_II_dimension, deal_II_space_dimension> &,
const types::boundary_id,
const types::boundary_id,
const unsigned int,
AffineConstraints<std::complex<double>> &,
const ComponentMask &,
const std::complex<double>);
-#endif
+# endif
template void DoFTools::make_periodicity_constraints(
- const DoFHandler<deal_II_dimension> &,
+ const DoFHandler<deal_II_dimension, deal_II_space_dimension> &,
const types::boundary_id,
const unsigned int,
AffineConstraints<double> &,
const ComponentMask &,
const double);
-#ifdef DEAL_II_WITH_COMPLEX_VALUES
+# ifdef DEAL_II_WITH_COMPLEX_VALUES
template void DoFTools::make_periodicity_constraints(
- const DoFHandler<deal_II_dimension> &,
+ const DoFHandler<deal_II_dimension, deal_II_space_dimension> &,
const types::boundary_id,
const unsigned int,
AffineConstraints<std::complex<double>> &,
const ComponentMask &,
const std::complex<double>);
+# endif
#endif
}
const types::boundary_id,
AffineConstraints<S> &,
const ComponentMask &);
+
#endif
}