broadcast_species_config Subroutine

private subroutine broadcast_species_config(self)

Uses

Broadcasts all config parameters so object is populated identically on all processors

Type Bound

species_config_type

Arguments

Type IntentOptional Attributes Name
class(species_config_type), intent(inout) :: self

Contents


Source Code

  subroutine broadcast_species_config(self)
    use mp, only: broadcast
    implicit none
    class(species_config_type), intent(in out) :: self
    call broadcast(self%me)
    call broadcast(self%nspec)
    call broadcast(self%zi_fac)

    call broadcast(self%exist)
  end subroutine broadcast_species_config