Plasmoid identification and statistics in two-dimensional Harris sheet and GRMHD simulations | Synapse