From 7bda90f24435b8f3e096e0497bcfd5c28b5bfc9c Mon Sep 17 00:00:00 2001 From: Mathias Anselmann Date: Fri, 7 Jun 2019 11:25:02 +0200 Subject: [PATCH] Forgot to push dof_tools_common_fake_hp.h in last commit --- tests/dofs/dof_tools_common_fake_hp.h | 83 +++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 tests/dofs/dof_tools_common_fake_hp.h diff --git a/tests/dofs/dof_tools_common_fake_hp.h b/tests/dofs/dof_tools_common_fake_hp.h new file mode 100644 index 0000000000..16a9e8ed51 --- /dev/null +++ b/tests/dofs/dof_tools_common_fake_hp.h @@ -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 -- 2.39.5