dune-localfunctions
2.2.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
dune
localfunctions
lagrange
p0
p0localcoefficients.hh
Go to the documentation of this file.
1
// -*- tab-width: 4; indent-tabs-mode: nil -*-
2
// vi: set ts=4 sw=2 et sts=2:
3
#ifndef DUNE_P0LOCALCOEFFICIENTS_HH
4
#define DUNE_P0LOCALCOEFFICIENTS_HH
5
6
#include <cstddef>
7
#include <iostream>
8
#include <vector>
9
10
#include <
dune/localfunctions/common/localkey.hh
>
11
12
namespace
Dune
13
{
14
21
class
P0LocalCoefficients
22
{
23
public
:
25
P0LocalCoefficients
() : index(0,0,0)
26
{}
27
29
std::size_t
size
()
const
30
{
31
return
1;
32
}
33
35
const
LocalKey
&
localKey
(std::size_t i)
const
36
{
37
return
index;
38
}
39
40
private
:
41
LocalKey
index;
42
};
43
44
}
45
#endif
Generated on Mon May 20 2013 01:06:58 for dune-localfunctions by
1.8.3.1