penalty method boundary conditions