allocate_and_init Subroutine

public subroutine allocate_and_init(PCHB_particle_selection, GAS_spec, IJ_weights, rank_with_info, use_lookup, particle_selector)

Arguments

Type IntentOptional Attributes Name
type(PCHB_ParticleSelection_t), intent(in) :: PCHB_particle_selection
class(GASSpec_t), intent(in) :: GAS_spec
real(kind=dp), intent(in) :: IJ_weights(:,:,:)
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
class(ParticleSelector_t), intent(inout), allocatable :: particle_selector

Contents