Lines Matching refs:superdm
448 PetscErrorCode DMCreateSectionSuperDM(DM dms[], PetscInt len, IS *is[], DM *superdm) in DMCreateSectionSuperDM() argument
469 PetscCall(DMSetLocalSection(*superdm, supersection)); in DMCreateSectionSuperDM()
476 PetscCall(DMGetGlobalSection(*superdm, &supersectionGlobal)); in DMCreateSectionSuperDM()
496 PetscCall(DMGetGlobalFieldOffset_Private(*superdm, p, startf, &start, &dummy)); in DMCreateSectionSuperDM()
497 PetscCall(DMGetGlobalFieldOffset_Private(*superdm, p, startf + Nfs[i] - 1, &dummy, &end)); in DMCreateSectionSuperDM()
521 PetscCall(DMSetNumFields(*superdm, Nf)); in DMCreateSectionSuperDM()
527 PetscCall(DMSetField(*superdm, supf, NULL, disc)); in DMCreateSectionSuperDM()
530 PetscCall(DMCreateDS(*superdm)); in DMCreateSectionSuperDM()
533 PetscCall(PetscFree2((*superdm)->nullspaceConstructors, (*superdm)->nearnullspaceConstructors)); in DMCreateSectionSuperDM()
534 …PetscCall(PetscCalloc2(Nf, &(*superdm)->nullspaceConstructors, Nf, &(*superdm)->nearnullspaceConst… in DMCreateSectionSuperDM()
539 (*superdm)->nullspaceConstructors[supf] = dms[i]->nullspaceConstructors[f]; in DMCreateSectionSuperDM()
540 if ((*superdm)->nullspaceConstructors[supf]) { in DMCreateSectionSuperDM()
552 PetscCall((*(*superdm)->nullspaceConstructors[nullf])(*superdm, oldf, nullf, &nullSpace)); in DMCreateSectionSuperDM()