dune-grid  2.2.0
identity.hh
Go to the documentation of this file.
1 #ifndef DUNE_GEOGRID_IDENTITY_HH
2 #define DUNE_GEOGRID_IDENTITY_HH
3 
5 
6 namespace Dune
7 {
8 
9  template< class ctype, unsigned int dim >
12  < ctype, dim, dim, IdenticalCoordFunction< ctype, dim > >
13  {
16 
17  public:
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