ppmd.pairloop.state_handler module

class ppmd.pairloop.state_handler.StateHandler(state, shell_cutoff, pair=True, threaded=True)

Bases: object

get_pointer(dat)
post_execute(dats)
pre_execute(dats)

The halo exchange process may reallocate all in the group. Hence this function loops over all dats to ensure pointers collected in the second pass over the dats are valid.