lgca.nove_interactions.di_alignment

lgca.nove_interactions.di_alignment(lgca)

Density independent alignment of particle directions.

Similar to dd_alignment(), but the director field is normalized by the number of neighbors so that the reorientation does not depend on local density.

Parameters:

lgca (LGCA_1D, LGCA_Square, LGCA_Hex, or LGCA_Cubic) – LGCA instance that the interaction is applied to. The lattice may be one-, two-, or three-dimensional. Requires the beta and nb_include_center entries in lgca.interaction_params.

Notes

lgca.nodes is replaced by the sampled configuration.