MATLAB functions that identify topological half-integer defects in a nematic director field. Scripts use MATLAB’s conv2() function with a ring kernel to recursively perform line integrals calculating the local topological index or winding number. The output is a map that is then searched for regions of non-zero index.
Language: MATLAB
Direct adjoint looping (DAL) method [Kerswell 2014] scripts used to solve the PDE optimal control problem of steering an active nematic liquid crystal outlined in “Optimal Control of Active Nematics” [arXiv, PRL].
Language: MATLAB
Requirements: COMSOL 5.2+