[petsc-users] ghost size of a ghosted vector

Mohammad Mirzadeh mirzadeh at gmail.com
Fri Sep 20 21:34:46 CDT 2013


Hi guys,

Is there any function that would return the ghost (or ghost+local
preferably) size of a ghosted vector? VecGetSize returns the total
global size and VecGetLocalSize returns only the local part.

I need this size for a error-checking guard i'm adding in my code.

Thanks,
Mohammad


More information about the petsc-users mailing list