How is separation gap (seismic) between adjacent buildings decided ...

How is separation gap (seismic) between adjacent buildings decided ...