basic message passing between simulator and discretisation function