Skip to main content

push_back

Method of NeighbourhoodRule.

Overloads

NameDescription
push_back(List<integer> primitive_vector) -> NeighbourhoodRuleAdd a displacement corresponding to the given primitive vector to the NeighbourhoodRule.
push_back(LatticeCoordinate delta) -> NeighbourhoodRuleAdd the displacement to the NeighbourhoodRule.

push_back(List<integer> primitive_vector) -> NeighbourhoodRule

Add a displacement corresponding to the given primitive vector to the NeighbourhoodRule.

Parameters

  • primitive_vector: Primitive vector of the displacement to be added. The basis index is assumed to be zero.

push_back(LatticeCoordinate delta) -> NeighbourhoodRule

Add the displacement to the NeighbourhoodRule.

Parameters

  • delta: Displacement to be added.