PetscErrorCode DMStagMigrateVec(DM dm,Vec vec,DM dmTo,Vec vecTo)Collective
dm | - the source DMStag object | |
vec | - the destination vector, compatible with dm | |
dmTo | - the compatible destination DMStag object | |
vecTo | - the destination vector, compatible with dmTo |