]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Forgot to push dof_tools_common_fake_hp.h in last commit
authorMathias Anselmann <mathias.anselmann@posteo.de>
Fri, 7 Jun 2019 09:25:02 +0000 (11:25 +0200)
committerMathias Anselmann <mathias.anselmann@posteo.de>
Fri, 7 Jun 2019 09:25:02 +0000 (11:25 +0200)
tests/dofs/dof_tools_common_fake_hp.h [new file with mode: 0644]

diff --git a/tests/dofs/dof_tools_common_fake_hp.h b/tests/dofs/dof_tools_common_fake_hp.h
new file mode 100644 (file)
index 0000000..16a9e8e
--- /dev/null
@@ -0,0 +1,83 @@
+// ---------------------------------------------------------------------
+//
+// Copyright (C) 2004 - 2019 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.
+//
+// ---------------------------------------------------------------------
+
+#ifndef dealii_dof_tools_common_fake_hp.h
+#define dealii_dof_tools_common_fake_hp .h
+// fake hp check_this function that does nothing
+
+template <>
+void
+check_this(const hp::DoFHandler<1, 1> &dof_handler)
+{
+  // nothing to do here
+}
+
+template <>
+void
+check_this(const hp::DoFHandler<1, 2> &dof_handler)
+{
+  // nothing to do here
+}
+
+template <>
+void
+check_this(const hp::DoFHandler<1, 3> &dof_handler)
+{
+  // nothing to do here
+}
+
+template <>
+void
+check_this(const hp::DoFHandler<2, 1> &dof_handler)
+{
+  // nothing to do here
+}
+
+template <>
+void
+check_this(const hp::DoFHandler<2, 2> &dof_handler)
+{
+  // nothing to do here
+}
+
+template <>
+void
+check_this(const hp::DoFHandler<2, 3> &dof_handler)
+{
+  // nothing to do here
+}
+
+template <>
+void
+check_this(const hp::DoFHandler<3, 1> &dof_handler)
+{
+  // nothing to do here
+}
+
+template <>
+void
+check_this(const hp::DoFHandler<3, 2> &dof_handler)
+{
+  // nothing to do here
+}
+
+template <>
+void
+check_this(const hp::DoFHandler<3, 3> &dof_handler)
+{
+  // nothing to do here
+}
+
+#endif // dealii_dof_tools_common_fake_hp.h

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.