From: wolf Date: Fri, 17 May 2002 09:45:41 +0000 (+0000) Subject: Remove from main branch again. Will be resurrected when branch is finally merged. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40184cc68f65a14f97308e651fc00ff2462980c5;p=dealii-svn.git Remove from main branch again. Will be resurrected when branch is finally merged. git-svn-id: https://svn.dealii.org/trunk@5848 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/fe/fe_traits.cc b/tests/fe/fe_traits.cc deleted file mode 100644 index 9f4d878b56..0000000000 --- a/tests/fe/fe_traits.cc +++ /dev/null @@ -1,112 +0,0 @@ -//---------------------------- fe_traits_test.cc --------------------------- -// $Id$ -// Version: $Name$ -// -// Copyright (C) 2002 by the deal.II authors -// -// This file is subject to QPL and may not be distributed -// without copyright and license information. Please refer -// to the file deal.II/doc/license.html for the text and -// further information on this license. -// -//---------------------------- fe_traits_test.cc --------------------------- - - -#include -#include - -#include -#include -#include -#include -#include -#include -#include - - -template -void check (const FiniteElement &fe) -{ - const unsigned int dofs_per_cell = fe.dofs_per_cell; - - // first check whether shape - // functions are primitive: - deallog << " Primitivity: "; - for (unsigned int i=0; i -void check () -{ - // check usual Lagrange elements - for (unsigned int p=1; p<3; ++p) - { - deallog << "Checking FE_Q<" << dim << ">(" << p << "): " - << std::endl; - check (FE_Q(p)); - }; - - // check DG Lagrange elements - for (unsigned int p=0; p<3; ++p) - { - deallog << "Checking FE_DGQ<" << dim << ">(" << p << "): " - << std::endl; - check (FE_DGQ(p)); - }; - - // check DG-P elements - for (unsigned int p=0; p<3; ++p) - { - deallog << "Checking FE_DGP<" << dim << ">(" << p << "): " - << std::endl; - check (FE_DGP(p)); - }; - - // check systems of Q-elements - for (unsigned int p=1; p<3; ++p) - { - deallog << "Checking FE_Q<" << dim << ">(" << p << ")^2: " - << std::endl; - check (FESystem (FE_Q(p),2)); - }; -}; - - - - -int main () -{ - std::ofstream logfile("fe_traits.output"); - deallog.attach(logfile); -// deallog.depth_console(0); - - check<1> (); - check<2> (); - check<3> (); -};