functional earthquake motion