#include "petscdm.h" #include "petscdmlabel.h" #include "petscds.h" PetscErrorCode DMSubDomainRestrict(DM global,VecScatter oscatter,VecScatter gscatter,DM subdm)Collective if any hooks are
fine | - finer DM to use as a base | |
oscatter | - scatter from domain global vector filling subdomain global vector with overlap | |
gscatter | - scatter from domain global vector filling subdomain local vector with ghosts | |
coarse | - coarer DM to update |