From: Wolfgang Bangerth Date: Sat, 10 Aug 2013 21:15:46 +0000 (+0000) Subject: Remove test now no longer necessary. Move test that now works. X-Git-Tag: v8.1.0~1093 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c991093487c2e77838e30974d2168a521ad0002;p=dealii.git Remove test now no longer necessary. Move test that now works. git-svn-id: https://svn.dealii.org/trunk@30281 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/fail/dof_tools_21_b_x_q3.cc b/tests/bits/dof_tools_21_b_x_q3.cc similarity index 100% rename from tests/fail/dof_tools_21_b_x_q3.cc rename to tests/bits/dof_tools_21_b_x_q3.cc diff --git a/tests/bits/dof_tools_21_b_x_q3/cmp/generic b/tests/bits/dof_tools_21_b_x_q3/cmp/generic new file mode 100644 index 0000000000..8e347e3f75 --- /dev/null +++ b/tests/bits/dof_tools_21_b_x_q3/cmp/generic @@ -0,0 +1,16 @@ + +DEAL::DoFs of face_1: +DEAL::16 is located at 1.000 3.000 +DEAL::17 is located at -1.000 3.000 +DEAL::24 is located at 0.3333 3.000 +DEAL::25 is located at -0.3333 3.000 +DEAL::DoFs of face_2: +DEAL::0 is located at -1.000 -3.000 +DEAL::1 is located at 1.000 -3.000 +DEAL::8 is located at -0.3333 -3.000 +DEAL::9 is located at 0.3333 -3.000 + 16 1: 1.000 + 17 0: 1.000 + 24 9: 1.000 + 25 8: 1.000 +DEAL::Matching: diff --git a/tests/fail/face_to_cell_01.cc b/tests/fail/face_to_cell_01.cc deleted file mode 100644 index d5bf6365f5..0000000000 --- a/tests/fail/face_to_cell_01.cc +++ /dev/null @@ -1,54 +0,0 @@ -// --------------------------------------------------------------------- -// $Id$ -// -// Copyright (C) 1998 - 2013 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 at -// the top level of the deal.II distribution. -// -// --------------------------------------------------------------------- - - -// it turns out that FE_Q::face_to_cell_index() had a bug for elements beyond -// Q2 when using the face flip flag. this test is for the 2d case - - -#include "../tests.h" -#include -#include - -#include -#include - -template -void test() -{ - FE_Q fe(3); - const unsigned int dofs_per_face = fe.dofs_per_face; - - for (unsigned int i = 0; i < dofs_per_face; ++i) - deallog << fe.face_to_cell_index(i, 0, true, false, false) << " - "; - deallog << std::endl; - for (unsigned int i = 0; i < dofs_per_face; ++i) - deallog << fe.face_to_cell_index(i, 0, true, true, false) << " - "; - deallog << std::endl; -} - -int main() -{ - std::ofstream logfile("face_to_cell_01/output"); - deallog.attach(logfile); - deallog.depth_console(0); - deallog.threshold_double(1.e-10); - - test<2>(); -} - - -