Modeling of wave attenuation by vegetation with XBeach