> On Apr 21, 2019, at 8:27 AM, TAY wee-beng via petsc-users
> wrote:
>
> Hi,
>
> I'm trying to do some logging as well as timing of my code?
>
> May I know if PetscLogEventBegin and PetscLogEventEnd slow down my code if
> it's called every time step?
The logging is only done if the
I looked at the code and in the end the values get propagated into calls to
MatSetValuesLocal() which does not require sorted values.
Thus my conclusion is that you do not have to sorted column indices in these
calls
Barry
Yes we do a nonexistent job of indicating when indices
Dear All,
Does anyone know if the format of sparse matrices in DMDASetBlockFillsSparse
require column indicies for chosen row to be in increasing order?
Thank you,
Oleksandr.
I'm pretty confident all the tests are sorted. It wouldn't be any great
hardship for us to allow unsorted input. If you submit an unsorted
test, we can make sure it works (it might already, but we should
probably add a call to in-place sort).
Oleksandr Koshkarov via petsc-users writes:
> Dear
Hi,
I'm trying to do some logging as well as timing of my code?
May I know if PetscLogEventBegin and PetscLogEventEnd slow down my code
if it's called every time step?
--
Thank you very much.
Yours sincerely,
TAY Wee-Beng ιδΌζ (Zheng