#NEWLINE# @ utils . cached_property #NEWLINE# def layout_vec( self ) : #NEWLINE# #INDENT# 'A PETSc Vec compatible with the dof layout of this DataSet.' #NEWLINE# vec = PETSc . Vec ( ) . create ( ) #NEWLINE# size = ( ( self . size * self . cdim ) , None ) #NEWLINE# vec . setSizes ( size , bsize = self . cdim ) #NEWLINE# vec . setUp ( ) #NEWLINE# return vec