Mixed boundary conditions