Searched refs:setupwithdm (Results 1 – 1 of 1) sorted by relevance
243 PetscErrorCode (*setupwithdm)(PetscObject, PetscViewer) = NULL; in PetscViewerGLVisSetDM_Internal() local245 PetscCall(PetscObjectQueryFunction(dm, "DMSetUpGLVisViewer_C", &setupwithdm)); in PetscViewerGLVisSetDM_Internal()246 …PetscCheck(setupwithdm, PetscObjectComm(dm), PETSC_ERR_SUP, "No support for DM type %s", dm->type_… in PetscViewerGLVisSetDM_Internal()247 PetscCall((*setupwithdm)(dm, viewer)); in PetscViewerGLVisSetDM_Internal()