<div dir="ltr"><div>I am getting an error because my TS formIFunction gets the sub vectors with:<br><div><br>  call DMCompositeGetAccessArray(dm,XX,ithree,PETSC_NULL_INTEGER,Xsub,ierr);CHKERRQ(ierr)<br><br></div><div>I get an error that XX is locked.  But there does not seem to be a DMCompositeGetAccessArrayRead<br><br></div><div>The one example that does this does not compile anymore apparently.<br></div><br></div>Mark<br></div>