3 #ifndef DUNE_ALBERTA_INTERSECTION_HH 4 #define DUNE_ALBERTA_INTERSECTION_HH 20 template<
int codim,
int dim,
class Gr
idImp >
21 class AlbertaGridEntity;
28 template<
class Gr
id >
42 typedef typename Grid::template Codim< 0 >::Entity
Entity;
44 typedef typename Grid::template Codim< 1 >::Geometry
Geometry;
45 typedef typename Grid::template Codim< 1 >::LocalGeometry
LocalGeometry;
52 typedef typename Grid::Traits::template Codim< 1 >::GeometryImpl
GeometryImpl;
55 struct GlobalCoordReader;
56 struct LocalCoordReader;
79 NormalVector
outerNormal (
const LocalCoordType &local )
const;
100 template<
class Gr
idImp >
136 using Base::elementInfo;
146 This &operator= (
const This &other )
148 *
static_cast< Base *
>( this ) = other;
160 typename GridImp::template Codim< 0 >::Entity outside ()
const;
162 bool neighbor ()
const;
171 int indexInOutside ()
const;
177 using Base::elementInfo_;
178 using Base::oppVertex_;
186 #endif // #if HAVE_ALBERTA 188 #endif // #ifndef DUNE_ALBERTA_INTERSECTION_HH Grid::Traits::template Codim< 1 >::GeometryImpl GeometryImpl
Definition: albertagrid/intersection.hh:52
ct ctype
Define type used for coordinates in grid module.
Definition: common/grid.hh:522
AlbertaTransformation transformation() const
Definition: intersection.cc:211
Grid::template Codim< 1 >::LocalGeometry LocalGeometry
Definition: albertagrid/intersection.hh:45
Entity inside() const
Definition: intersection.cc:33
Base::GlobalCoordReader GlobalCoordReader
Definition: albertagrid/intersection.hh:131
int twistInInside() const
Definition: albertagrid/intersection.hh:173
int oppVertex_
Definition: albertagrid/intersection.hh:92
Definition: albertagrid/entity.hh:27
const Grid * grid_
Definition: albertagrid/intersection.hh:90
bool conforming() const
Definition: albertagrid/intersection.hh:164
static const int dimension
Definition: albertagrid/intersection.hh:36
Base::Entity Entity
Definition: albertagrid/intersection.hh:118
Base::NormalVector NormalVector
Definition: albertagrid/intersection.hh:115
NormalVector centerUnitOuterNormal() const
Definition: intersection.cc:177
Base::LocalCoordType LocalCoordType
Definition: albertagrid/intersection.hh:116
Grid abstract base classThis class is the base class for all grid implementations. Although no virtual functions are used we call it abstract since its methods do not contain an implementation but forward to the methods of the derived class via the Barton-Nackman trick.
Definition: common/grid.hh:373
size_t boundarySegmentIndex() const
Definition: intersection.cc:62
Grid::Traits::template Codim< 1 >::LocalGeometryImpl LocalGeometryImpl
Definition: albertagrid/intersection.hh:53
int boundaryId() const
Definition: intersection.cc:48
AlbertaGridIntersectionBase()
Definition: intersection.cc:16
provides a wrapper for ALBERTA's el_info structure
NormalVector centerIntegrationOuterNormal() const
Definition: intersection.cc:88
NormalVector integrationOuterNormal(const LocalCoordType &local) const
Definition: intersection.cc:187
Definition: albertagrid/entity.hh:42
AlbertaGridEntity< 0, dimension, Grid > EntityImp
Definition: albertagrid/intersection.hh:50
bool equals(const AlbertaGridLeafIntersection &other) const
Definition: albertagrid/intersection.hh:156
Grid::ctype ctype
Definition: albertagrid/intersection.hh:34
Definition: transformation.hh:15
bool boundary() const
Definition: intersection.cc:41
int twistInNeighbor(int face) const
Definition: elementinfo.hh:610
Grid::template Codim< 1 >::Geometry Geometry
Definition: albertagrid/intersection.hh:44
AlbertaGridLeafIntersection(const This &other)
Definition: albertagrid/intersection.hh:144
GeometryType
Type representing VTK's entity geometry types.
Definition: common.hh:178
Base::GeometryImpl GeometryImpl
Definition: albertagrid/intersection.hh:128
Grid::template Codim< 0 >::Entity Entity
Definition: albertagrid/intersection.hh:42
The dimension of the grid.
Definition: common/grid.hh:387
NormalVector unitOuterNormal(const LocalCoordType &local) const
Definition: intersection.cc:203
const Grid & grid() const
Definition: intersection.cc:218
int indexInInside() const
Definition: intersection.cc:72
int twistInOutside() const
Definition: albertagrid/intersection.hh:174
Definition: albertagrid/intersection.hh:29
static const int dimensionworld
Definition: albertagrid/intersection.hh:37
NormalVector centerOuterNormal() const
Definition: intersection.cc:169
GeometryType type() const
Definition: intersection.cc:80
FieldVector< ctype, dimension-1 > LocalCoordType
Definition: albertagrid/intersection.hh:40
The dimension of the world the grid lives in.
Definition: common/grid.hh:393
NormalVector outerNormal(const LocalCoordType &local) const
Definition: intersection.cc:195
Base::LocalGeometryImpl LocalGeometryImpl
Definition: albertagrid/intersection.hh:129
Base::LocalCoordReader LocalCoordReader
Definition: albertagrid/intersection.hh:132
FieldVector< ctype, dimensionworld > NormalVector
Definition: albertagrid/intersection.hh:39
Base::Geometry Geometry
Definition: albertagrid/intersection.hh:120
const ElementInfo & elementInfo() const
Definition: intersection.cc:226
ElementInfo elementInfo_
Definition: albertagrid/intersection.hh:91
Alberta::ElementInfo< dimension > ElementInfo
Definition: albertagrid/intersection.hh:47
Base::LocalGeometry LocalGeometry
Definition: albertagrid/intersection.hh:121
Include standard header files.
Definition: agrid.hh:58