v_sim.PairLinkIter¶
Fields¶
Name |
Type |
Access |
Description |
|---|---|---|---|
box |
r/w |
a given box to apply periodicity if needed. |
|
buffer |
r/w |
the length of the buffer around links, in percents. |
|
coeff |
r/w |
a value used to characterised link length with respect to buffer (1. means that length is within link characteristics, while means that link is outside characteristics plus buffer). |
|
d2 |
r/w |
the length of the link, squared. |
|
data |
r/w |
the |
|
dxyz |
[ |
r/w |
the current vector (within periodicity) linking node1 to node2. |
iter1 |
r/w |
||
iter2 |
r/w |
a second |
|
l2 |
[ |
r/w |
the current link length, squared. |
l2_buffered |
[ |
r/w |
like l2, but including the buffer. |
parent |
r/w |
the |
|
periodic |
r/w |
a boolean specifying if periodicity is to be taken into account when computing the vector linking two nodes. |
|
xyz1 |
[ |
r/w |
the current coordinates of the starting node in the link. |
xyz2 |
[ |
r/w |
the current coordinates of the ending node in the link. |
Methods¶
|
Details¶
- class v_sim.PairLinkIter¶
An iterator used to generate pairs with the characteristics given by parent, over the node in data.
New in version 3.8.
- next()¶
-
Iterate to the next
v_sim.Node-v_sim.Nodepair.New in version 3.8.