Electrostatic And Magnetostatic Force Computation With Shape Calculus And Bem