At present, the method to study spatial variation of ground motions is statistic analysis based on dense array records such as SMART-1 array, etc. For lacking of information of ground motions, there is no coherency function model of base rock and different style site. Spatial variation of ground motions in elastic media is analyzed by deterministic method in this paper. Taking elastic half-space model with dislocation source of fault, near-field ground motions are simulated. This model takes strike-slip fault and earth media into account. A coherency function is proposed for base rock site.