Voro++
|
A class for looping over all particles in a container_periodic or container_periodic_poly class. More...
#include <c_loops.hh>
Public Member Functions | |
template<class c_class > | |
c_loop_all_periodic (c_class &con) | |
bool | start () |
bool | inc () |
![]() | |
template<class c_class > | |
c_loop_base (c_class &con) | |
void | pos (double &x, double &y, double &z) |
void | pos (int &pid, double &x, double &y, double &z, double &r) |
double | x () |
double | y () |
double | z () |
int | pid () |
Additional Inherited Members | |
![]() | |
const int | nx |
const int | ny |
const int | nz |
const int | nxy |
const int | nxyz |
const int | ps |
double ** | p |
int ** | id |
int * | co |
int | i |
int | j |
int | k |
int | ijk |
int | q |
Since the container_periodic and container_periodic_poly classes have a fundamentally different memory organization, the regular loop classes cannot be used with them.
Definition at line 325 of file c_loops.hh.
|
inline |
The constructor copies several necessary constants from the base periodic container class.
[in] | con | the periodic container class to use. |
Definition at line 331 of file c_loops.hh.
|
inline |
Finds the next particle to test.
Definition at line 348 of file c_loops.hh.
|
inline |
Sets the class to consider the first particle.
Definition at line 336 of file c_loops.hh.