dune-grid
2.2.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
dune
grid
geometrygrid
identity.hh
Go to the documentation of this file.
1
#ifndef DUNE_GEOGRID_IDENTITY_HH
2
#define DUNE_GEOGRID_IDENTITY_HH
3
4
#include <
dune/grid/geometrygrid/coordfunction.hh
>
5
6
namespace
Dune
7
{
8
9
template
<
class
ctype,
unsigned
int
dim >
10
class
IdenticalCoordFunction
11
:
public
AnalyticalCoordFunction
12
< ctype, dim, dim, IdenticalCoordFunction< ctype, dim > >
13
{
14
typedef
IdenticalCoordFunction< ctype, dim >
This
;
15
typedef
AnalyticalCoordFunction< ctype, dim, dim, This >
Base
;
16
17
public
:
18
typedef
typename
Base :: DomainVector
DomainVector
;
19
typedef
typename
Base :: RangeVector
RangeVector
;
20
21
void
evaluate
(
const
DomainVector
&x,
RangeVector
&y )
const
22
{
23
y = x;
24
}
25
};
26
27
}
28
29
#endif
Generated on Mon May 20 2013 01:15:33 for dune-grid by
1.8.3.1