#NEWLINE# @ pytest . fixture #NEWLINE# def dat_coords( dnode_set2 ) : #NEWLINE# #INDENT# coords_size = ( ( nums [ 0 ] * layers ) * 2 ) #NEWLINE# coords_dat = numpy . zeros ( coords_size ) #NEWLINE# count = 0 #NEWLINE# for k in range ( 0 , nums [ 0 ] ) : #NEWLINE# #INDENT# coords_dat [ count : ( count + ( layers * dofs [ 0 ] [ 0 ] ) ) ] = numpy . tile ( [ ( k / 2 ) , ( k % 2 ) ] , layers ) #NEWLINE# count += ( layers * dofs [ 0 ] [ 0 ] ) #NEWLINE# #UNINDENT# return op2 . Dat ( coords_size , coords_dat , numpy . float64 , 'coords' )