Class Voro.c_loop_all

  • Enclosing class:
    Voro

    class Voro.c_loop_all
    extends Voro.c_loop_base
    \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.
    • Method Detail

      • 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.