but when using shell and tube we use mean temperature
Actually you use log mean temperature difference for all counter current heat exchangers. It gives a more representative case for the difference between the two fluids as they pass through the heat exchanger. Double pipe is just a specialized version of a shell and tube exchanger and the heat transfer calculation is treated the same