From: Mathias Anselmann Date: Fri, 7 Jun 2019 09:25:02 +0000 (+0200) Subject: Forgot to push dof_tools_common_fake_hp.h in last commit X-Git-Tag: v9.2.0-rc1~1436^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bda90f24435b8f3e096e0497bcfd5c28b5bfc9c;p=dealii.git Forgot to push dof_tools_common_fake_hp.h in last commit --- 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