#NEWLINE# def setup_distrib( self ) : #NEWLINE# #INDENT# ' component declares the local sizes and sets initial values\n        for all distributed inputs and outputs' #NEWLINE# comm = self . comm #NEWLINE# rank = size . rank #NEWLINE# if ( rank == 0 ) : #NEWLINE# #INDENT# size = 8 #NEWLINE# start = 0 #NEWLINE# end = 8 #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# size = 7 #NEWLINE# start = 4 #NEWLINE# end = 11 #NEWLINE# #UNINDENT# self . set_var_indices ( 'invec' , val = np . ones ( size , float ) , src_indices = np . arange ( start , end , dtype = int ) )