[petsc-users] Error with VecDestroy_MPIFFTW+0x61

Matthew Knepley knepley at gmail.com
Tue Apr 16 12:53:13 CDT 2019

On Tue, Apr 16, 2019 at 12:15 PM Sajid Ali <sajidsyed2021 at u.northwestern.edu>

> Hi Barry/Matt,
> Since VecDuplicate calls v->ops->duplicate, can't we just add custom
> duplicate ops to the (f_in/f_out/b_out) vectors when they are created via
> MatCreateFFTW? (just like the custom destroy ops are defined)

You could.

> Also, what is the PetscObjectStateIncrease function doing ?

It increments the integer marking the state of that object. We use this to
indicates that the values have been changed.
This allows us to do things like avoid recomputing norms if not values have



> Thank You,
> Sajid Ali
> Applied Physics
> Northwestern University

What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190416/08ada4de/attachment.html>

More information about the petsc-users mailing list