There are "finialized" PBM UDF macros to describe growth, nucleation and intra-processes like breakage and coalescence. If you need to model any other process then you probably need to use general purpose functions.
How is the "deposition" described?