lgca.nove_interactions.dd_alignment

lgca.nove_interactions.dd_alignment(lgca)

Density dependent alignment of particle directions.

The local director field is obtained from the flux of all neighboring nodes (including the central node if nb_include_center is set). Particles in each occupied node are then reoriented according to exp(beta * dot(g, c_i)) where g is the director field and c_i are the velocity vectors.

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.