Computing granular avalanches and landslides | Synapse