init_PC_WeightedParticles_t Subroutine

private subroutine init_PC_WeightedParticles_t(this, GAS_spec, 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(GASSpec_t), intent(in) :: GAS_spec
real(kind=dp), intent(in) :: weights(:,:,:)

w(J, I, i_sg), The weight of picking J after picking I under supergroup 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

Contents