[petsc-dev] removing PETSC_NULL from petsc-dev

Barry Smith bsmith at mcs.anl.gov
Thu Feb 7 21:56:57 CST 2013


  I have removed the use of PETSC_NULL from all PETSc C code. Please remember to just use NULL in PETSc source code in the future (or Karl's script will find you).

  Also removed the PETSC_NULL from Fortran that caused more harm than good. Fortran still requires PETSC_NULL_XXXX depending on the type being passed.

   Barry

On Feb 7, 2013, at 3:29 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:

> 
>  I will be removing PETSC_NULL (C/C++ code) from the petsc-dev source code today.
> 
>  But to make life easier for users I will leave the PETSC_NULL definition in for a while (maybe even the next release) so all user code doesn't need to be changed immediately.
> 
>   Barry
> 




More information about the petsc-dev mailing list