Voro++
|
Class for looping over all of the particles in a container. More...
#include <c_loops.hh>
Public Member Functions | |
template<class c_class > | |
c_loop_all (c_class &con) | |
bool | start () |
bool | inc () |
This is one of the simplest loop classes, that scans the computational blocks in order, and scans all the particles within each block in order.
Definition at line 171 of file c_loops.hh.
voro::c_loop_all::c_loop_all | ( | c_class & | con | ) | [inline] |
The constructor copies several necessary constants from the base container class.
[in] | con | the container class to use. |
Definition at line 177 of file c_loops.hh.
bool voro::c_loop_all::inc | ( | ) | [inline] |
Finds the next particle to test.
Definition at line 189 of file c_loops.hh.
bool voro::c_loop_all::start | ( | ) | [inline] |
Sets the class to consider the first particle.
Definition at line 181 of file c_loops.hh.