@brief Return the most populated states over all processors.
@details
Reducing version of proc_most_populated_states
, which works per process.
Return as many states as the size of largest_walkers.
Returns the norm as well, if requested.
@param[out] largest_walkers, Array of most n_keep
most populated states.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | n_keep | |||
integer, | intent(in) | :: | run | |||
integer(kind=n_int), | intent(out) | :: | largest_walkers(0:NIfTot,n_keep) | |||
real(kind=dp), | intent(out), | optional | :: | norm | ||
integer, | intent(out), | optional | :: | rank_of_largest(n_keep) | ||
real(kind=dp), | intent(inout), | optional | :: | hdiag_largest(n_keep) |