]> https://gitweb.dealii.org/ - dealii.git/commit
Use range-based for loops. 12132/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 4 May 2021 00:08:18 +0000 (18:08 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 4 May 2021 00:08:18 +0000 (18:08 -0600)
commit6ed942a35448629668b8b472580f132fe1b17e2f
tree264406d4e19487b9aa38e49fbe000649bc692b3d
parent42e48fa22db833282dd8a38858c44dda94fd03dc
Use range-based for loops.

These places also had some kind of complicated logic with only considering
'used' cells, but that is equivalent to using a non-raw iterator. Furthermore,
we only cared about cells that have the refine flag set, and that can only
happen if the cell is active. So just loop over the active cells instead.
source/grid/tria.cc

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.