3 #ifndef DUNE_GRID_YASPGRIDGEOMETRY_HH
4 #define DUNE_GRID_YASPGRIDGEOMETRY_HH
27 template<
int mydim,
int cdim,
class Gr
idImp>
28 class YaspGeometry :
public AxisAlignedCubeGeometry<typename GridImp::ctype,mydim,cdim>
32 typedef typename GridImp::ctype
ctype;
36 : AxisAlignedCubeGeometry<
ctype,mydim,cdim>(FieldVector<
ctype,cdim>(0),FieldVector<
ctype,cdim>(0))
40 YaspGeometry (
const FieldVector<ctype, cdim>& ll,
const FieldVector<ctype, cdim>& ur,
const std::bitset<cdim>& shift)
41 : AxisAlignedCubeGeometry<
ctype,mydim,cdim>(ll,ur,shift)
43 assert(mydim == shift.count());
48 : AxisAlignedCubeGeometry<
ctype,mydim,cdim>(other)
53 template<
int mydim,
class Gr
idImp>
54 class YaspGeometry<mydim,mydim,GridImp> :
public AxisAlignedCubeGeometry<typename GridImp::ctype,mydim,mydim>
57 typedef typename GridImp::ctype
ctype;
61 : AxisAlignedCubeGeometry<
ctype,mydim,mydim>(FieldVector<
ctype,mydim>(0),FieldVector<
ctype,mydim>(0))
65 YaspGeometry (
const FieldVector<ctype, mydim>& ll,
const FieldVector<ctype, mydim>& ur)
66 : AxisAlignedCubeGeometry<
ctype,mydim,mydim>(ll,ur)
71 : AxisAlignedCubeGeometry<
ctype,mydim,mydim>(other)
76 template<
int cdim,
class Gr
idImp>
77 class YaspGeometry<0,cdim,GridImp> :
public AxisAlignedCubeGeometry<typename GridImp::ctype,0,cdim>
80 typedef typename GridImp::ctype
ctype;
84 : AxisAlignedCubeGeometry<typename GridImp::
ctype,0,cdim>(FieldVector<
ctype,cdim>(0))
89 : AxisAlignedCubeGeometry<typename GridImp::
ctype,0,cdim>( p )
92 YaspGeometry (
const FieldVector< ctype, cdim > &p,
const FieldVector< ctype, cdim > &,
const std::bitset<cdim> &)
93 : AxisAlignedCubeGeometry<typename GridImp::
ctype,0,cdim>( p )
98 #endif // DUNE_GRID_YASPGRIDGEOMETRY_HH