Provide proper random-access iterators to BodyContainer and InteractionContainer

Registered by Václav Šmilauer on 2010-03-04

OpenMP 3.0 makes it possible to use random-access iterators in for loops (rather than iterating over indices). Having those would possibly avoid the need for #ifdef YADE_OPENMP whenever loop is to be parallelized.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Low
Drafter:
None
Direction:
Needs approval
Assignee:
Václav Šmilauer
Definition:
New
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Václav Šmilauer on 2010-03-25
Completed by
Václav Šmilauer on 2010-03-25

Related branches

Sprints

Whiteboard

Non-virtual containers expose BodyContainer::iterator and InteractionContainer::iterator, which are really random-access interators over std::vector.

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.