]> https://gitweb.dealii.org/ - dealii.git/commit
Allow comparison == and != of TriaAccessorBase with different tria 262/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Fri, 21 Nov 2014 22:55:05 +0000 (23:55 +0100)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Fri, 21 Nov 2014 22:55:05 +0000 (23:55 +0100)
commit5590c8e8643b801e63a6bae866391462b8dee9e9
tree8d81304099baed8e4d70a4a04912c3fdd77bb959
parentd9a89aff607c9a703132a2cf28226a9760a16ce9
Allow comparison == and != of TriaAccessorBase with different tria

It is well-defined to check for equality and inequality of TriaAccessorBase (cell_iterator types) that belong to different triangulations. Those are simply unequal. This is necessary e.g. for comparing with a default constructed cell_iterator variable. Of course, operator < is still undefined.
include/deal.II/grid/tria_accessor.templates.h

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.