Response of structural elements under non-uniformly distributed dynamic loads