<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div> What do the PETSc developers think of this? Is it "<span class="Apple-style-span" style="font-family: Times; ">otherwise, the behavior is undefined, <em>even if the pointer is not dereferenced</em>."? </span></div><div><font class="Apple-style-span" face="Times"><br></font></div><div><font class="Apple-style-span" face="Times"> Whenever we work with global indices like in FormFunctionLocal() we do this. </font></div><div><font class="Apple-style-span" face="Times"><br></font></div><div><font class="Apple-style-span" face="Times"> Is PETSc wrong to ever do this? Is there any other way to allow users to work with global indices in a simple way? Do we need to strip out all the FormFunctionLocals() from PETSc? Not the end of the world but it provides such a nice simple interface for simple problems it seems a pity to toss it.</font></div><div><font class="Apple-style-span" face="Times"><br></font></div><div><font class="Apple-style-span" face="Times"> Thanks</font></div><div><font class="Apple-style-span" face="Times"><br></font></div><div><font class="Apple-style-span" face="Times"> Barry</font></div><div><font class="Apple-style-span" face="Times"><br></font></div></body></html>