[petsc-users] Checking if a vector is a localvector of a given DMDA
Phil Tooley
phil.tooley at sheffield.ac.uk
Tue Sep 25 05:49:43 CDT 2018
Hi all,
Given a vector I know I can get an associated DM (if there is one) by
calling VecGetDM, but I need to also be able to check that
a) the vector is the localvector of that DM rather than the global
b) the DM is a DMDA rather than some other subclass
I can't immediately see routines that do what I need, but I am likely
missing something obvious. Is there a way to achieve the above?
Thanks
Phil
--
Phil Tooley
Research Software Engineering
University of Sheffield
More information about the petsc-users
mailing list