Re: [petsc-users] Any reason for API change: DMGetWorkArray()

2019-01-10 Thread Fande Kong via petsc-users
OK..., Thanks for the words. Fande, On Thu, Jan 10, 2019 at 3:36 PM Matthew Knepley wrote: > On Thu, Jan 10, 2019 at 5:31 PM Fande Kong wrote: > >> Thanks, Matt, >> >> And then what is the reason to remove PetscDataType? I am out of >> curiosity. >> > > Occam's Razor: "one should not

Re: [petsc-users] Any reason for API change: DMGetWorkArray()

2019-01-10 Thread Matthew Knepley via petsc-users
On Thu, Jan 10, 2019 at 5:31 PM Fande Kong wrote: > Thanks, Matt, > > And then what is the reason to remove PetscDataType? I am out of curiosity. > Occam's Razor: "one should not increase, beyond what is necessary, the number of entities required to explain anything" Matt > DMGetWorkArray

[petsc-users] Any reason for API change: DMGetWorkArray()

2019-01-10 Thread Fande Kong via petsc-users
Hi All, The second parameter is changed from PetscDataType to MPI_Datatype starting from PETSc-3.9.x Thanks, Fande Kong,