The distribution of hydrodynamic mass and damping of an oscillating ship form in shallow water