init_PC_WeightedParticles_t Subroutine

private subroutine init_PC_WeightedParticles_t(this, indexer, weights, rank_with_info, use_lookup, create_lookup)

Type Bound

PC_Particles_t

Arguments

Type IntentOptional Attributes Name
class(PC_Particles_t), intent(inout) :: this
class(AlsoGUGA_PropertyIndexer_t), intent(in) :: indexer
real(kind=dp), intent(in) :: weights(:,:,:)

w(j, i, i_sg), The weight of picking j after picking i under prop_vec i_sg

integer, intent(in) :: rank_with_info

The intra-node rank that contains the weights to be used all other arr of all other ranks are ignored (and can be allocated with size 0).

logical, intent(in) :: use_lookup
logical, intent(in) :: create_lookup