dune-localfunctions
2.2.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
dune
localfunctions
lagrange
prismp1
prismp1localcoefficients.hh
Go to the documentation of this file.
1
// -*- tab-width: 4; indent-tabs-mode: nil -*-
2
#ifndef DUNE_PRISMP1LOCALCOEFFICIENTS_HH
3
#define DUNE_PRISMP1LOCALCOEFFICIENTS_HH
4
5
#include <cstddef>
6
#include <iostream>
7
#include <vector>
8
9
#include <
dune/localfunctions/common/localkey.hh
>
10
11
namespace
Dune
12
{
13
20
class
PrismP1LocalCoefficients
21
{
22
public
:
24
PrismP1LocalCoefficients
() : li(6)
25
{
26
for
(std::size_t i=0; i<6; i++)
27
li[i] =
LocalKey
(i,3,0);
28
}
29
31
std::size_t
size
()
const
32
{
33
return
6;
34
}
35
37
const
LocalKey
&
localKey
(std::size_t i)
const
38
{
39
return
li[i];
40
}
41
42
private
:
43
std::vector<LocalKey> li;
44
};
45
46
}
47
48
#endif
Generated on Mon May 20 2013 01:06:59 for dune-localfunctions by
1.8.3.1