[petsc-users] Newton line search options

2022-07-28 Thread Tang, Qi
Hi, Is there some in depth review on different options related to line search of snes newtonls? Our solvers are sensitive to the choices there, and I could not understand why one works better than the other or how to tune those options. Thanks. Qi

Re: [petsc-users] MatPrealloctor

2022-07-28 Thread Barry Smith
I am not sure what you are asking exactly but I think so, so long have you have called MatSetLocalToGlobalMapping() and the "stencil" idea makes sense for your discretization. Barry > On Jul 28, 2022, at 5:41 PM, Randall Mackie wrote: > > Dear PETSc users: > > Can one use a MatPreall

[petsc-users] MatPrealloctor

2022-07-28 Thread Randall Mackie
Dear PETSc users: Can one use a MatPreallocator and then call MatPreAlloctorPreallocate if using MatStencil routines (which seem to call MatSetValuesLocal). Thanks, Randy