Text this: A hybrid discrete–continuum framework for modelling filtration