Here is the code for the 2D square well potential:
v[x_, y_] := Piecewise[{{1, 58 < Abs[x]}, {1, 58 < Abs[y]}}]; Plot3D[v[x, y], {x, -70, 70}, {y, -70, 70}]
Is Piecewise the right function to use? How do I put a standalone wall barrier inside this square well potential?

