[petsc-dev] Moar namespacing

Barry Smith bsmith at mcs.anl.gov
Mon Aug 27 17:56:16 CDT 2012


   Ok, let's not do anything today. But let's consider changing IS to PetscIS

    Note that will break a few things like ISLocalToGlobalMappingCreateIS

  Barry


On Aug 27, 2012, at 5:50 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:

> On Mon, Aug 27, 2012 at 5:45 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
> Does Fortran2008 have Vec Mat etc also as  keywords?
> 
> No, but maybe in the next release..
>  
> 
>    If you are going to change IS -> PetscIS then you should change every stinking non-name-spaced thing in PETSc and boy Matt will be happy. Doesn't this change require PETSc 4.0?   Note we'll also need to rename all current names in PETSc that are more than 26 char long since adding PETSc will make them too long.
> 
> That's one thing C++ did right: allowing longer identifiers.




More information about the petsc-dev mailing list