// A simple test for
// DoFTools::
-// make_periodicity_constraints (const FaceIterator &,
-// const FaceIterator &,
-// dealii::AffineConstraints<double> &,
-// const std::vector<bool> &)
+// make_periodicity_constraints(const FaceIterator &,
+// const FaceIterator &,
+// AffineConstraints<double> &)
//
// We project an already periodic function onto the FE space of
// periodic functions and store the resulting L2 difference
//
// Test
// DoFTools::
-// make_periodicity_constraints(const FaceIterator &,
-// const FaceIterator &,
-// dealii::AffineConstraints<double> &,
-// const std::vector<bool> &,
+// make_periodicity_constraints(const FaceIterator &,
+// const FaceIterator &,
+// AffineConstraints<double> &,
+// const ComponentMask &,
// unsigned char)
// for correct behavior on non standard oriented meshes.
//
/*
* Print out all face DoFs and support points as well as the actual
- * matching via make_periodicity_constraints
+ * matching via make_periodicity_constraints()
*/
template <int dim, int spacedim>
void
//
// Test
// DoFTools::
-// make_periodicity_constraints (const FaceIterator &,
-// const FaceIterator &,
-// dealii::AffineConstraints<double> &,
-// const std::vector<bool> &,
-// bool, bool, bool)
+// make_periodicity_constraints(const FaceIterator &,
+// const FaceIterator &,
+// AffineConstraints<double> &,
+// const ComponentMask &,
+// unsigned char)
// for correct behavior on non standard oriented meshes.
//
// a redux of why the 21_b test failed starting in r29525. in essence,
/*
* Print out all face DoFs and support points as well as the actual
- * matching via make_periodicity_constraints
+ * matching via make_periodicity_constraints()
*/
template <int dim, int spacedim>
void
<< std::endl;
DoFTools::make_periodicity_constraints(
- face_1, face_2, constraint_matrix, ComponentMask(), 0u);
+ face_1,
+ face_2,
+ constraint_matrix,
+ ComponentMask(),
+ ReferenceCell::reversed_combined_line_orientation());
constraint_matrix.print(deallog.get_file_stream());
constraint_matrix.close();
deallog << "Matching:" << std::endl;
//
// Test
// DoFTools::
-// make_periodicity_constraints (const FaceIterator &,
-// const FaceIterator &,
-// dealii::AffineConstraints<double> &,
-// const std::vector<bool> &,
-// bool, bool, bool)
+// make_periodicity_constraints(const FaceIterator &,
+// const FaceIterator &,
+// AffineConstraints<double> &,
+// const ComponentMask &,
+// unsigned char)
// for correct behavior on non standard oriented meshes.
//
// like _21_b_x but use a Q3 element. For this, the face_flip has a
/*
* Print out all face DoFs and support points as well as the actual
- * matching via make_periodicity_constraints
+ * matching via make_periodicity_constraints()
*/
template <int dim, int spacedim>
void
<< std::endl;
DoFTools::make_periodicity_constraints(
- face_1, face_2, constraint_matrix, ComponentMask(), 0u);
+ face_1,
+ face_2,
+ constraint_matrix,
+ ComponentMask(),
+ ReferenceCell::reversed_combined_line_orientation());
constraint_matrix.print(deallog.get_file_stream());
constraint_matrix.close();
deallog << "Matching:" << std::endl;
//
// Test
// DoFTools::
-// make_periodicity_constraints (const FaceIterator &,
-// const FaceIterator &,
-// dealii::AffineConstraints<double> &,
-// const std::vector<bool> &,
-// bool, bool, bool)
+// make_periodicity_constraints(const FaceIterator &,
+// const FaceIterator &,
+// AffineConstraints<double> &,
+// const ComponentMask &,
+// unsigned char)
// for correct behavior on non standard oriented meshes.
//
// like _21_b_x, but with a once refined mesh
/*
* Print out all face DoFs and support points as well as the actual
- * matching via make_periodicity_constraints
+ * matching via make_periodicity_constraints()
*/
template <int dim, int spacedim>
void
//
// Test
// DoFTools::
-// make_periodicity_constraints(const FaceIterator &,
-// const FaceIterator &,
-// dealii::AffineConstraints<double> &,
-// const std::vector<bool> &,
+// make_periodicity_constraints(const FaceIterator &,
+// const FaceIterator &,
+// AffineConstraints<double> &,
+// const ComponentMask &,
// unsigned char)
//
// for correct behavior with hanging nodes. This is done by additionally
/*
* Print out all face DoFs and support points as well as the actual
- * matching via make_periodicity_constraints
+ * matching via make_periodicity_constraints()
*/
template <int dim, int spacedim>
void
// A simple test for
// DoFTools::
-// make_periodicity_constraints (const FaceIterator &,
-// const FaceIterator &,
-// dealii::AffineConstraints<double> &,
-// const std::vector<bool> &)
+// make_periodicity_constraints(const FaceIterator &,
+// const FaceIterator &,
+// AffineConstraints<std::complex<double>> &)
//
// We project an already periodic function onto the FE space of
// periodic functions and store the resulting L2 difference
// Code duplication:
// This is a copy of dof_tools_common.h with a slightly different mesh
-// generation to fit the assumptions made by make_periodicity_constraints
+// generation to fit the assumptions made by make_periodicity_constraints()
#include <deal.II/base/logstream.h>