I have a case where I'd like to copy a Mat defined on COMM_WORLD to a new
Mat defined on some sub-communicator. Does MatCopy support this, or would I
have to write a custom copy operation?

I see here
<https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Mat/MatConvert.html#MatConvert>
that MatConvert requires identical communicators, but I don't see any
mention of this for MatCopy, so I wanted to check.

Thanks,
David

Reply via email to