1 #ifndef DUNE_GEOGRID_COORDFUNCTION_HH
2 #define DUNE_GEOGRID_COORDFUNCTION_HH
4 #include <dune/common/fvector.hh>
12 template<
class ct,
unsigned int dimD,
unsigned int dimR,
class Impl >
15 template<
class ct,
unsigned int dimR,
class Impl >
35 template<
class ct,
unsigned int dimD,
unsigned int dimR,
class Impl >
64 This &operator= (
const This & );
70 return asImp().evaluate( x, y );
92 template<
class ct,
unsigned int dimD,
unsigned int dimR,
class Impl >
93 class AnalyticalCoordFunction
94 :
public AnalyticalCoordFunctionInterface< ct, dimD, dimR, Impl >
97 typedef AnalyticalCoordFunctionInterface< ct, dimD, dimR, Impl > Base;
109 This &operator= (
const This & );
133 template<
class ct,
unsigned int dimR,
class Impl >
159 This &operator= (
const This & );
167 template<
class HostEntity >
168 void evaluate (
const HostEntity &hostEntity,
unsigned int corner,
171 asImp().evaluate( hostEntity, corner, y );
202 template<
class ct,
unsigned int dimR,
class Impl >
203 class DiscreteCoordFunction
204 :
public DiscreteCoordFunctionInterface< ct, dimR, Impl >
207 typedef DiscreteCoordFunctionInterface< ct, dimR, Impl > Base;
221 This &operator= (
const This & );
223 template<
class HostEntity >
224 void evaluate (
const HostEntity &hostEntity,
unsigned int corner,
236 template<
class CoordFunctionInterface >
242 template<
class ct,
unsigned int dimD,
unsigned int dimR,
class Impl >
249 template<
class ct,
unsigned int dimR,
class Impl >
261 template<
class CoordFunctionInterface >
267 template<
class ct,
unsigned int dimR,
class Impl >
279 template<
class CoordFunctionInterface >
282 static void adapt ( CoordFunctionInterface &coordFunction )
286 template<
class ct,
unsigned int dimR,
class Impl >
293 coordFunction.
adapt();
301 #endif // #ifndef DUNE_GEOGRID_COORDFUNCTION_HH