From: kanschat Date: Wed, 12 Sep 2012 08:13:09 +0000 (+0000) Subject: avoid specializations X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ab57cec86fe04d9122b8a0f7b1f8ac7ca764476;p=dealii-svn.git avoid specializations git-svn-id: https://svn.dealii.org/trunk@26297 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/dofs/dof_levels.cc b/deal.II/source/dofs/dof_levels.cc deleted file mode 100644 index 7b0e37c14a..0000000000 --- a/deal.II/source/dofs/dof_levels.cc +++ /dev/null @@ -1,62 +0,0 @@ -//--------------------------------------------------------------------------- -// $Id$ -// Version: $Name$ -// -// Copyright (C) 2000, 2001, 2002, 2003, 2005, 2006, 2011, 2012 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. -// -//--------------------------------------------------------------------------- - - -#include -#include - -DEAL_II_NAMESPACE_OPEN - -namespace internal -{ - namespace DoFHandler - { - - std::size_t - DoFLevel<0>::memory_consumption () const - { - return MemoryConsumption::memory_consumption (cell_dof_indices_cache); - } - - - - std::size_t - DoFLevel<1>::memory_consumption () const - { - return (DoFLevel<0>::memory_consumption () + - MemoryConsumption::memory_consumption (dof_object)); - } - - - - std::size_t - DoFLevel<2>::memory_consumption () const - { - return (DoFLevel<0>::memory_consumption () + - MemoryConsumption::memory_consumption (dof_object)); - } - - - - std::size_t - DoFLevel<3>::memory_consumption () const - { - return (DoFLevel<0>::memory_consumption () + - MemoryConsumption::memory_consumption (dof_object)); - } - - } - -} - -DEAL_II_NAMESPACE_CLOSE