Is it the shape of the cavity, or the shape of the water in the cavity?

Is it the shape of the cavity, or the shape of the water in the cavity?