From b6cc7f2f71a0c9a810d736adac89c667f78a4ae0 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Wed, 6 May 2020 21:30:12 -0500 Subject: [PATCH] fe/memory_consumption - remove test Remove a stray memory consumption test --- tests/fe/memory_consumption_01.cc | 66 --------------------------- tests/fe/memory_consumption_01.output | 22 --------- 2 files changed, 88 deletions(-) delete mode 100644 tests/fe/memory_consumption_01.cc delete mode 100644 tests/fe/memory_consumption_01.output diff --git a/tests/fe/memory_consumption_01.cc b/tests/fe/memory_consumption_01.cc deleted file mode 100644 index 6348d9eff5..0000000000 --- a/tests/fe/memory_consumption_01.cc +++ /dev/null @@ -1,66 +0,0 @@ -// --------------------------------------------------------------------- -// -// Copyright (C) 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. -// -// --------------------------------------------------------------------- - - -// Test memory_consumption of FE_Q and FE_DGQ. - - -#include -#include - -#include "../tests.h" - - -template -void -test(const FiniteElement &fe) -{ - deallog << fe.get_name() << " " << fe.memory_consumption() << std::endl; -} - -template -void -tests() -{ - // FE_Q - for (unsigned int i = 1; i < 4; i++) - test(FE_Q(i)); - - // FE_DGQ - for (unsigned int i = 0; i < 4; i++) - test(FE_DGQ(i)); -} - -int -main() -{ - initlog(); - - { - deallog.push("1d"); - tests<1>(); - deallog.pop(); - } - { - deallog.push("2d"); - tests<2>(); - deallog.pop(); - } - { - deallog.push("3d"); - tests<3>(); - deallog.pop(); - } -} diff --git a/tests/fe/memory_consumption_01.output b/tests/fe/memory_consumption_01.output deleted file mode 100644 index 2ba6abdecd..0000000000 --- a/tests/fe/memory_consumption_01.output +++ /dev/null @@ -1,22 +0,0 @@ - -DEAL:1d::FE_Q<1>(1) 1770 -DEAL:1d::FE_Q<1>(2) 1979 -DEAL:1d::FE_Q<1>(3) 2204 -DEAL:1d::FE_DGQ<1>(0) 1557 -DEAL:1d::FE_DGQ<1>(1) 1750 -DEAL:1d::FE_DGQ<1>(2) 1959 -DEAL:1d::FE_DGQ<1>(3) 2184 -DEAL:2d::FE_Q<2>(1) 4062 -DEAL:2d::FE_Q<2>(2) 4827 -DEAL:2d::FE_Q<2>(3) 5880 -DEAL:2d::FE_DGQ<2>(0) 3573 -DEAL:2d::FE_DGQ<2>(1) 4006 -DEAL:2d::FE_DGQ<2>(2) 4695 -DEAL:2d::FE_DGQ<2>(3) 5640 -DEAL:3d::FE_Q<3>(1) 10678 -DEAL:3d::FE_Q<3>(2) 14499 -DEAL:3d::FE_Q<3>(3) 23432 -DEAL:3d::FE_DGQ<3>(0) 9525 -DEAL:3d::FE_DGQ<3>(1) 10438 -DEAL:3d::FE_DGQ<3>(2) 12807 -DEAL:3d::FE_DGQ<3>(3) 17352 -- 2.39.5