bsmith at mcs.anl.gov
Tue Mar 30 12:30:38 CDT 2010
What do the PETSc developers think of this? Is it "otherwise, the
behavior is undefined, even if the pointer is not dereferenced."?
Whenever we work with global indices like in FormFunctionLocal()
we do this.
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the petsc-dev