[petsc-dev] removing PETSC_NULL?

Barry Smith bsmith at mcs.anl.gov
Wed Feb 6 22:08:42 CST 2013


On Feb 6, 2013, at 10:07 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:

> 
> On Wed, Feb 6, 2013 at 9:58 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
> > I don't mind removing it, although the Fortran people still have to use something else.
> 
>   We can leave it as PETSC_NULL_XXXX in Fortran as it is now.
> 
> We have no other option.

  We could use NULL_XXXX but that would be horrible :-)

> 
> Recall that Fortran users must not use PETSC_NULL under any circumstances. I think that if anything, replacing PETSC_NULL with NULL in C would make the necessity of PETSC_NULL_XXX more clear.




More information about the petsc-dev mailing list