Dear PETSc users,

I hope this message finds you well. I don’t know If my question is relevant, 
but I’am currently working with DENSE type matrix, and would like to copy one 
matrix R_part [ n/2 x m] (resulted from a MatMatMult operation) into another 
dense matrix R_full [n x m].  
Both matrices being on the same communicator, I would like to efficiently copy 
R_part in the first half of R_full. 
I have being using MatSetValues, but for large matrices, the subsequent 
assembling operation is costly.
Please could you suggest me some strategies or functions to do this 
efficiently. 

Thank you for your time and assistance.

Best regards,
Tchakorom Medane

Reply via email to