Bloch boundary conditions

Is there a way to implement Bloch (i.e. “twisted” periodic) boundary conditions in FreeFEM?