Wave scattering double precision code