changes for PetscMap

2009-10-29 Thread Barry Smith
Ok, I have pushed all these changes, including PetscMap --> PetscLayout Barry On Oct 27, 2009, at 4:56 PM, Dima Karpeyev wrote: > What about a different name? I vote for PetscLayout, because that's > what it is. > Dmitry. > > On Tue, Oct 27, 2009 at 4:44 PM, Matthew Knepley > wrot

changes for PetscMap

2009-10-27 Thread Dima Karpeyev
What about a different name? I vote for PetscLayout, because that's what it is. Dmitry. On Tue, Oct 27, 2009 at 4:44 PM, Matthew Knepley wrote: > I wanted that 10 years ago. > > ? Matt > > On Tue, Oct 27, 2009 at 4:37 PM, Barry Smith wrote: >> >> ? PetscMap is a strange beast in PETSc. >> >> 1)

changes for PetscMap

2009-10-27 Thread Matthew Knepley
I wanted that 10 years ago. Matt On Tue, Oct 27, 2009 at 4:37 PM, Barry Smith wrote: > > PetscMap is a strange beast in PETSc. > > 1) it is not a PetscObject (that is it has no PETSc header) > 2) it is used as a PetscMap* instead of PetscMap like most objects > 3) it does not have a PetscMa

changes for PetscMap

2009-10-27 Thread Barry Smith
PetscMap is a strange beast in PETSc. 1) it is not a PetscObject (that is it has no PETSc header) 2) it is used as a PetscMap* instead of PetscMap like most objects 3) it does not have a PetscMapCreate() instead it has a PetscMapInitialize() which is like a create except it does not malloc