Broadcasts all config parameters so object is populated identically on all processors
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(kt_grids_box_config_type), | intent(inout) | :: | self |
subroutine broadcast_kt_grids_box_config(self)
use mp, only: broadcast
implicit none
class(kt_grids_box_config_type), intent(in out) :: self
call broadcast(self%gryfx)
call broadcast(self%jtwist)
call broadcast(self%ly)
call broadcast(self%n0)
call broadcast(self%naky)
call broadcast(self%ntheta0)
call broadcast(self%nx)
call broadcast(self%ny)
call broadcast(self%rhostar_box)
call broadcast(self%rtwist)
call broadcast(self%x0)
call broadcast(self%y0)
call broadcast(self%exist)
end subroutine broadcast_kt_grids_box_config