[Dune] isi entscheidung?
Andreas Dedner
dedner at mathematik.uni-freiburg.de
Thu Jun 1 14:15:49 CEST 2006
Ist jetzt die folgende Aenderung im Entity Interface
Konsens (fuer 1.0)?
IntersectionIterators:
IntersectionIterator ibegin () const DUNE_DEPRECATED
{
return realEntity.ibegin();
}
IntersectionIterator iend () const DUNE_DEPRECATED
{
return realEntity.iend();
}
LevelIntersectionIterator libegin () const
{
return realEntity.libegin();
}
LevelIntersectionIterator liend () const
{
return realEntity.liend();
}
LeafIntersectionIterator leafibegin () const
{
return realEntity.leafibegin();
}
LeafIntersectionIterator leafiend () const
{
return realEntity.leafiend();
}
Boundary Info
bool hasBoundaryIntersection() const
{
return realEntity.hasBoundaryIntersection();
}
Etwa so was in class
EntityDefaultImplementation
bool hasBoundaryIntersection() const
{
bool ret = false;
LevelIntersectionIterator end = liend();
for (LevelIntersectionIterator iter = libegin();
iter != end; ++iter) {
if (iter.boundary()) {
ret = true;
break;
}
}
return ret;
}
More information about the Dune
mailing list