dschwoerer / BOUT-dev

Development (unstable) branch of BOUT++
GNU Lesser General Public License v3.0
1 stars 1 forks source link

change in DataIterator interface #1

Closed dschwoerer closed 8 years ago

dschwoerer commented 8 years ago

I changed the Interface in order to allow the openmp parallization.

I removed the possibility to set a specific point. Instead a dummy value is added to the constructor, to get end(), which is the only use-case I found for the second constructor.

bendudson commented 8 years ago

This seems reasonable. end() is the only use for the second constructor currently, and I can't think of a good use for it apart from that.