Static and seismic analysis of an arch-gravity dam