Package gov.nih.mipav.model.structures
Class Voro.c_loop_all
java.lang.Object
gov.nih.mipav.model.structures.Voro.c_loop_base
gov.nih.mipav.model.structures.Voro.c_loop_all
- Enclosing class:
Voro
\brief Class for looping over all of the particles in a container.
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.
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionThe constructor copies several necessary constants from the base container class. -
Method Summary
-
Constructor Details
-
c_loop_all
The constructor copies several necessary constants from the base container class. \param[in] con the container class to use. -
c_loop_all
-
-
Method Details
-
start
public boolean start()Sets the class to consider the first particle. \return True if there is any particle to consider, false otherwise. -
inc
public boolean inc()Finds the next particle to test. \return True if there is another particle, false if no more particles are available. -
next_block
private boolean next_block()Updates the internal variables to find the next computational block with any particles. \return True if another block is found, false if there are no more blocks.
-