#include "petscdmda.h" PetscErrorCode DMDASetInterpolationType(DM da,DMDAInterpolationType ctype)
Notes: you should call this on the coarser of the two DMDAs you pass to DMCreateInterpolation()