A BEM-formulation applied to the solution of nonlinear dynamic problems