[petsc-dev] Error checking on input only vectors
Jed Brown
jedbrown at mcs.anl.gov
Tue Jul 16 10:06:43 CDT 2013
Matthew Knepley <knepley at gmail.com> writes:
> I think Barry is only suggesting we save the state integer.
That's okay, but if we add that, it should only be a warning for a
while. Fortran (77) can't enforce this constness and none of the
examples use VecGetArrayReadF90 yet. Plenty of users may have internal
interfaces that are reused between const and non-const usage, so
requiring VecGetArrayRead could cascade into lots of their internal
interfaces.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130716/711af4ca/attachment.sig>
More information about the petsc-dev
mailing list