Wave attenuation by artificial seaweed