Reference documentation for deal.II version 8.5.0
Main Page
Tutorial
Code gallery
Modules
Namespaces
Classes
Related Pages
Files
dealii.org
File List
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
source
grid
tria_faces.cc
1
// ---------------------------------------------------------------------
2
//
3
// Copyright (C) 2006 - 2014 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
17
#include <deal.II/base/memory_consumption.h>
18
#include <deal.II/grid/tria_faces.h>
19
20
DEAL_II_NAMESPACE_OPEN
21
22
23
namespace
internal
24
{
25
namespace
Triangulation
26
{
27
28
std::size_t
29
TriaFaces<1>::memory_consumption
()
const
30
{
31
return
0;
32
}
33
34
35
std::size_t
36
TriaFaces<2>::memory_consumption
()
const
37
{
38
return
MemoryConsumption::memory_consumption
(lines);
39
}
40
41
42
std::size_t
43
TriaFaces<3>::memory_consumption
()
const
44
{
45
return
(
MemoryConsumption::memory_consumption
(quads) +
46
MemoryConsumption::memory_consumption
(lines) );
47
}
48
}
49
}
50
51
DEAL_II_NAMESPACE_CLOSE
52
internal::Triangulation::TriaFaces
Definition:
tria.h:70
Triangulation
Definition:
dof_handler.h:43
MemoryConsumption::memory_consumption
std_cxx11::enable_if< std_cxx11::is_fundamental< T >::value, std::size_t >::type memory_consumption(const T &t)
Definition:
memory_consumption.h:274
Generated by
1.8.6