Hello, On Fri, May 8, 2015 at 5:15 PM, Matthew Knepley <[email protected]> wrote:
> On Fri, May 8, 2015 at 4:14 PM, Ganesh Vijayakumar <[email protected]> > wrote: > >> Hello, >> >> Thanks. Looks like I could set all the possible entries I'll use to >> zero and selectively overwrite them. >> >> Can I overwrite any entries without incurring additional cost in >> memory? I currently use MatSetValue with the option INSERT_VALUES? Does >> Petsc have an option to OVERWRITE the existing value? >> > > Here INSERT means the same as overwrite. You only incur costs if you have > not previously set the element. > Oh. That was my intial thinking too. Thanks. ganesh
