Reference documentation for deal.II version 9.0.0
source
dofs
dof_faces.cc
1
// ---------------------------------------------------------------------
2
//
3
// Copyright (C) 2006 - 2018 by the deal.II authors
4
//
5
// This file is part of the deal.II library.
6
//
7
// The deal.II library is free software; you can use it, redistribute
8
// it, and/or modify it under the terms of the GNU Lesser General
9
// Public License as published by the Free Software Foundation; either
10
// version 2.1 of the License, or (at your option) any later version.
11
// The full text of the license can be found in the file LICENSE at
12
// the top level of the deal.II distribution.
13
//
14
// ---------------------------------------------------------------------
15
16
#include <deal.II/base/exceptions.h>
17
#include <deal.II/base/memory_consumption.h>
18
#include <deal.II/dofs/dof_faces.h>
19
20
DEAL_II_NAMESPACE_OPEN
21
22
23
namespace
internal
24
{
25
namespace
DoFHandlerImplementation
26
{
27
std::size_t
28
DoFFaces<1>::memory_consumption
()
const
29
{
30
return
0;
31
}
32
33
34
std::size_t
35
DoFFaces<2>::memory_consumption
()
const
36
{
37
return
MemoryConsumption::memory_consumption
(lines);
38
}
39
40
41
std::size_t
42
DoFFaces<3>::memory_consumption
()
const
43
{
44
return
(
MemoryConsumption::memory_consumption
(quads) +
45
MemoryConsumption::memory_consumption
(lines) );
46
}
47
}
48
}
49
50
DEAL_II_NAMESPACE_CLOSE
internal::DoFHandlerImplementation::DoFFaces
Definition:
dof_faces.h:68
internal
Definition:
aligned_vector.h:327
MemoryConsumption::memory_consumption
std::enable_if< std::is_fundamental< T >::value, std::size_t >::type memory_consumption(const T &t)
Definition:
memory_consumption.h:273
Generated by
1.8.14