#NEWLINE# @ collective #NEWLINE# def _assemble( self ) : #NEWLINE# #INDENT# if self . sparsity . nested : #NEWLINE# #INDENT# for m in self : #NEWLINE# #INDENT# if ( m . assembly_state is not Mat . ASSEMBLED ) : #NEWLINE# #INDENT# m . handle . assemble ( ) #NEWLINE# #UNINDENT# m . assembly_state = Mat . ASSEMBLED #NEWLINE# #UNINDENT# #UNINDENT# if ( m . assembly_state is not Mat . ASSEMBLED ) : #NEWLINE# #INDENT# self . handle . assemble ( ) #NEWLINE# self . assembly_state = Mat . ASSEMBLED