Thermocline sloping boundary