Closed LFletch1 closed 1 year ago
PR #140 introduces the current YGM distributed random engine ygm::default_random_engine
. Please incorporate this into the ygm::container::bag::shuffle()
operations.
I am now using the the ygm::default_random_engine for the bag local and global shuffles. I did not add templates for an RNG thus it is using std::mt19937. I can add a template for an RNG if wanted.
I didn't realize the requested changes had been taken care of. Sorry about the delay in getting this merged in. Doing so now.
Added shuffle features to bag container. Local shuffle will shuffle the local bag of each rank. Global shuffle will disburse all of the items in the local bag to random ranks.