Mat now keeps track of its nonzero pattern. If you do not change the pattern by inserting values then SNES/KSP will automatically keep the same pattern and optimize for it.
Barry > On Sep 9, 2015, at 3:57 PM, Xiangdong <[email protected]> wrote: > > Hello everyone, > > As mentioned in the 3.5 changes, MatStructure argument is removed from > SNESSetJacobian(). If each time, my Jacobian always has same_nonzero_pattern. > How do I pass this information to SNES or the KSP? I only find reuse same > preconditioner, but not reuse same pattern. > > Thank you. > > Xiangdong
