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_centeris set). Particles in each occupied node are then reoriented according toexp(beta * dot(g, c_i))wheregis the director field andc_iare 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
betaandnb_include_centerentries inlgca.interaction_params.
Notes
lgca.nodesis replaced by the sampled configuration.