Alignment and switching of AFLC materials using various boundary conditions