~ubuntu-branches/ubuntu/precise/deal.ii/precise

« back to all changes in this revision

Viewing changes to deal.II/source/hp/dof_objects.all_dimensions.cc

  • Committer: Bazaar Package Importer
  • Author(s): Adam C. Powell, IV
  • Date: 2009-05-08 23:13:50 UTC
  • Revision ID: james.westby@ubuntu.com-20090508231350-rrh1ltgi0tifabwc
Tags: upstream-6.2.0
ImportĀ upstreamĀ versionĀ 6.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//---------------------------------------------------------------------------
 
2
//    $Id: dof_objects.all_dimensions.cc 14698 2007-05-24 04:16:26Z bangerth $
 
3
//    Version: $Name$
 
4
//
 
5
//    Copyright (C) 2006 by the deal.II authors
 
6
//
 
7
//    This file is subject to QPL and may not be  distributed
 
8
//    without copyright and license information. Please refer
 
9
//    to the file deal.II/doc/license.html for the  text  and
 
10
//    further information on this license.
 
11
//
 
12
//---------------------------------------------------------------------------
 
13
 
 
14
 
 
15
#include <base/memory_consumption.h>
 
16
#include <hp/dof_objects.h>
 
17
 
 
18
DEAL_II_NAMESPACE_OPEN
 
19
 
 
20
namespace internal
 
21
{
 
22
  namespace hp
 
23
  {
 
24
    template <int structdim>
 
25
    unsigned int
 
26
    DoFObjects<structdim>::memory_consumption () const
 
27
    {
 
28
      return (MemoryConsumption::memory_consumption (dofs) +
 
29
              MemoryConsumption::memory_consumption (dof_offsets));
 
30
    }
 
31
 
 
32
 
 
33
                                     // explicit instantiations
 
34
    template
 
35
    unsigned int
 
36
    DoFObjects<1>::
 
37
    memory_consumption () const;
 
38
    
 
39
    template
 
40
    unsigned int
 
41
    DoFObjects<2>::
 
42
    memory_consumption () const;
 
43
    
 
44
    template
 
45
    unsigned int
 
46
    DoFObjects<3>::
 
47
    memory_consumption () const;
 
48
  }
 
49
}
 
50
 
 
51
DEAL_II_NAMESPACE_CLOSE