From 0f08a2fe0a13b2481beaca4476b15d1c15a047a6 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 17 Apr 2017 19:56:12 -0600 Subject: [PATCH] Remove a test that is now no longer relevant. --- tests/fe/copy_fe.cc | 67 ----------------------------------------- tests/fe/copy_fe.output | 4 --- 2 files changed, 71 deletions(-) delete mode 100644 tests/fe/copy_fe.cc delete mode 100644 tests/fe/copy_fe.output diff --git a/tests/fe/copy_fe.cc b/tests/fe/copy_fe.cc deleted file mode 100644 index 6c21fb262e..0000000000 --- a/tests/fe/copy_fe.cc +++ /dev/null @@ -1,67 +0,0 @@ -// --------------------------------------------------------------------- -// -// Copyright (C) 2012 - 2014 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. -// -// --------------------------------------------------------------------- - - - -// Fix a bug whereby calling a copy constructor of FESystem -// later resulted in a deallocation fault because the copy -// constructor copied pointers that were later freed twice. -// -// bug: default copy constructor can not copy a FESystem. -/* -#11 0x00007ffff5b5ba73 in dealii::deal_II_exceptions::internals::issue_error_assert_1 ( - file=0x7ffff6c658b0 "/scratch/branch_feqdg0/deal.II/source/base/subscriptor.cc", line=180, - function=0x7ffff6c65b40 to continue, or q to quit--- -ON__> "void dealii::Subscriptor::do_unsubscribe(const char*) const", - cond=0x7ffff6c65a8d "it->second > 0", - exc_name=0x7ffff6c65a40 "ExcNoSubscriber(object_info->name(), name)", e=...) - at /scratch/branch_feqdg0/deal.II/include/deal.II/base/exceptions.h:269 -#12 0x00007ffff5b5b331 in dealii::Subscriptor::do_unsubscribe (this=0x657330, - id=0x431b60 > "N6dealii8FESystemILi2ELi2EEE") - at /scratch/branch_feqdg0/deal.II/source/base/subscriptor.cc:180 -#13 0x00007ffff2995d23 in dealii::Subscriptor::unsubscribe (this=0x657330, - id=0x431b60 > "N6dealii8FESystemILi2ELi2EEE") - at /scratch/branch_feqdg0/deal.II/include/deal.II/base/subscriptor.h:286 -#14 0x00007ffff40a8276 in dealii::FESystem<2, 2>::~FESystem (this=0x7fffffffd330, - __in_chrg=) at /scratch/branch_feqdg0/deal.II/source/fe/fe_system.cc:332 -#15 0x0000000000422463 in main () at copy_fe.cc:28 -*/ - - -#include "../tests.h" -#include -#include - -int main () -{ - initlog(); - { - FE_Q<2> fe(1); - { - FE_Q<2> fe2(fe); - } - deallog << fe.base_element(0).dofs_per_cell << std::endl; - } - - { - FESystem<2> fe(FE_Q<2>(1),2); - { - FESystem<2> fe2(fe); - } - deallog << fe.base_element(0).dofs_per_cell << std::endl; - } - - deallog << "OK" << std::endl; -} diff --git a/tests/fe/copy_fe.output b/tests/fe/copy_fe.output deleted file mode 100644 index 6057161d5a..0000000000 --- a/tests/fe/copy_fe.output +++ /dev/null @@ -1,4 +0,0 @@ - -DEAL::4 -DEAL::4 -DEAL::OK -- 2.39.5