[petsc-dev] PetscScalar argument for TSEvent
Stefano Zampini
stefano.zampini at gmail.com
Mon Oct 9 05:54:54 CDT 2017
I was wondering what was the reason behind using a PetscScalar argument for
the function that is tested for zero-crossings in TSEvent. Why can't we use
PetscReal for it?
tsevent.c has plenty of PetscRealPart calls that seems to indicate that
PetscReal should be used instead. I can open a PR if there are no valid
reasons to keep the PetscScalar arguments.
--
Stefano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20171009/575c79d4/attachment.html>
More information about the petsc-dev
mailing list