5#ifndef DUNE_ALBERTA_INTERSECTION_HH
6#define DUNE_ALBERTA_INTERSECTION_HH
22 template<
int codim,
int dim,
class Gr
idImp >
23 class AlbertaGridEntity;
30 template<
class Gr
id >
44 typedef typename Grid::template Codim< 0 >::Entity
Entity;
46 typedef typename Grid::template Codim< 1 >::Geometry
Geometry;
47 typedef typename Grid::template Codim< 1 >::LocalGeometry
LocalGeometry;
54 typedef typename Grid::Traits::template Codim< 1 >::GeometryImpl
GeometryImpl;
102 template<
class Gr
idImp >
150 *
static_cast< Base *
>( this ) = other;
162 typename GridImp::template Codim< 0 >::Entity
outside ()
const;
provides a wrapper for ALBERTA's el_info structure
Include standard header files.
Definition: agrid.hh:60
GeometryType
Type representing VTK's entity geometry types.
Definition: common.hh:132
int twistInNeighbor(int face) const
Definition: elementinfo.hh:612
Definition: albertagrid/intersection.hh:105
LocalGeometry geometryInOutside() const
Definition: intersection.cc:402
GridImp::template Codim< 0 >::Entity outside() const
Definition: intersection.cc:365
AlbertaGridLeafIntersection(const This &other)
Definition: albertagrid/intersection.hh:146
int twistInInside() const
Definition: albertagrid/intersection.hh:175
Base::NormalVector NormalVector
Definition: albertagrid/intersection.hh:117
void next()
Definition: intersection.cc:356
bool operator==(const This &other) const
Definition: albertagrid/intersection.hh:155
Base::GeometryImpl GeometryImpl
Definition: albertagrid/intersection.hh:130
bool operator!=(const This &other) const
Definition: albertagrid/intersection.hh:156
int indexInOutside() const
Definition: intersection.cc:426
LocalGeometry geometryInInside() const
Definition: intersection.cc:391
Base::GlobalCoordReader GlobalCoordReader
Definition: albertagrid/intersection.hh:133
Base::Geometry Geometry
Definition: albertagrid/intersection.hh:122
This & operator=(const This &other)
Definition: albertagrid/intersection.hh:148
Base::LocalCoordReader LocalCoordReader
Definition: albertagrid/intersection.hh:134
Geometry geometry() const
Definition: intersection.cc:417
Base::ElementInfo ElementInfo
Definition: albertagrid/intersection.hh:125
static const int dimensionworld
Definition: albertagrid/intersection.hh:115
bool neighbor() const
Definition: intersection.cc:382
Base::LocalCoordType LocalCoordType
Definition: albertagrid/intersection.hh:118
bool equals(const AlbertaGridLeafIntersection &other) const
Definition: albertagrid/intersection.hh:158
Base::Entity Entity
Definition: albertagrid/intersection.hh:120
static const int dimension
Definition: albertagrid/intersection.hh:114
bool conforming() const
Definition: albertagrid/intersection.hh:166
Base::LocalGeometryImpl LocalGeometryImpl
Definition: albertagrid/intersection.hh:131
int twistInOutside() const
Definition: albertagrid/intersection.hh:176
Base::LocalGeometry LocalGeometry
Definition: albertagrid/intersection.hh:123
Definition: albertagrid/entity.hh:46
Definition: intersection.cc:241
Definition: intersection.cc:308
Definition: albertagrid/intersection.hh:32
NormalVector centerOuterNormal() const
Definition: intersection.cc:171
AlbertaGridEntity< 0, dimension, Grid > EntityImp
Definition: albertagrid/intersection.hh:52
const ElementInfo & elementInfo() const
Definition: intersection.cc:228
FieldVector< ctype, dimensionworld > NormalVector
Definition: albertagrid/intersection.hh:41
NormalVector centerIntegrationOuterNormal() const
Definition: intersection.cc:90
Grid::ctype ctype
Definition: albertagrid/intersection.hh:36
NormalVector integrationOuterNormal(const LocalCoordType &local) const
Definition: intersection.cc:189
ElementInfo elementInfo_
Definition: albertagrid/intersection.hh:93
FieldVector< ctype, dimension-1 > LocalCoordType
Definition: albertagrid/intersection.hh:42
NormalVector centerUnitOuterNormal() const
Definition: intersection.cc:179
static const int dimensionworld
Definition: albertagrid/intersection.hh:39
Grid::Traits::template Codim< 1 >::LocalGeometryImpl LocalGeometryImpl
Definition: albertagrid/intersection.hh:55
int indexInInside() const
Definition: intersection.cc:74
Grid::template Codim< 1 >::LocalGeometry LocalGeometry
Definition: albertagrid/intersection.hh:47
Entity inside() const
Definition: intersection.cc:35
NormalVector unitOuterNormal(const LocalCoordType &local) const
Definition: intersection.cc:205
const Grid & grid() const
Definition: intersection.cc:220
int oppVertex_
Definition: albertagrid/intersection.hh:94
static const int dimension
Definition: albertagrid/intersection.hh:38
bool boundary() const
Definition: intersection.cc:43
Grid::Traits::template Codim< 1 >::GeometryImpl GeometryImpl
Definition: albertagrid/intersection.hh:54
AlbertaGridIntersectionBase()
Definition: intersection.cc:18
size_t boundarySegmentIndex() const
Definition: intersection.cc:64
GeometryType type() const
Definition: intersection.cc:82
AlbertaTransformation transformation() const
Definition: intersection.cc:213
NormalVector outerNormal(const LocalCoordType &local) const
Definition: intersection.cc:197
int boundaryId() const
Definition: intersection.cc:50
Grid::template Codim< 1 >::Geometry Geometry
Definition: albertagrid/intersection.hh:46
Grid::template Codim< 0 >::Entity Entity
Definition: albertagrid/intersection.hh:44
const Grid * grid_
Definition: albertagrid/intersection.hh:92
Alberta::ElementInfo< dimension > ElementInfo
Definition: albertagrid/intersection.hh:49
Definition: transformation.hh:18
Wrapper class for geometries.
Definition: common/geometry.hh:71
Grid abstract base class.
Definition: common/grid.hh:375
static constexpr int dimension
The dimension of the grid.
Definition: common/grid.hh:387
static constexpr int dimensionworld
The dimension of the world the grid lives in.
Definition: common/grid.hh:390
ct ctype
Define type used for coordinates in grid module.
Definition: common/grid.hh:532