From: bangerth Date: Wed, 17 Jan 2007 00:18:08 +0000 (+0000) Subject: Move some of the functions into a .all_dimensions.cc file. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fc5d2b62fc59c5010362abad54f84a4914685bd;p=dealii-svn.git Move some of the functions into a .all_dimensions.cc file. git-svn-id: https://svn.dealii.org/trunk@14321 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/dofs/dof_objects.all_dimensions.cc b/deal.II/deal.II/source/dofs/dof_objects.all_dimensions.cc new file mode 100644 index 0000000000..999cf317db --- /dev/null +++ b/deal.II/deal.II/source/dofs/dof_objects.all_dimensions.cc @@ -0,0 +1,42 @@ +//--------------------------------------------------------------------------- +// $Id: dof_objects.cc 14220 2006-12-04 23:49:48Z bangerth $ +// Version: $Name$ +// +// Copyright (C) 2006 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 +#include +#include +#include + +DEAL_II_NAMESPACE_OPEN + +namespace internal +{ + namespace DoFHandler + { + template + unsigned int + DoFObjects::memory_consumption () const + { + return (MemoryConsumption::memory_consumption (dofs)); + } + + + // explicit instantiations + template unsigned int DoFObjects<1>::memory_consumption () const; + template unsigned int DoFObjects<2>::memory_consumption () const; + template unsigned int DoFObjects<3>::memory_consumption () const; + } +} + +DEAL_II_NAMESPACE_CLOSE diff --git a/deal.II/deal.II/source/dofs/dof_objects.cc b/deal.II/deal.II/source/dofs/dof_objects.cc index 25693d6918..ea78a5430a 100644 --- a/deal.II/deal.II/source/dofs/dof_objects.cc +++ b/deal.II/deal.II/source/dofs/dof_objects.cc @@ -24,15 +24,6 @@ namespace internal { namespace DoFHandler { - template - unsigned int - DoFObjects::memory_consumption () const - { - return (MemoryConsumption::memory_consumption (dofs)); - } - - - template template void