Searched refs:sectionGlobals (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/dm/interface/ |
| H A D | dmi.c | 451 PetscSection supersection, *sections, *sectionGlobals; in DMCreateSectionSuperDM() local 458 PetscCall(PetscMalloc3(len, &Nfs, len, §ions, len, §ionGlobals)); in DMCreateSectionSuperDM() 461 PetscCall(DMGetGlobalSection(dms[i], §ionGlobals[i])); in DMCreateSectionSuperDM() 463 …PetscCheck(sectionGlobals[i], comm, PETSC_ERR_ARG_WRONG, "Must set default global section for DM b… in DMCreateSectionSuperDM() 481 PetscCall(PetscSectionGetChart(sectionGlobals[i], &pStart, &pEnd)); in DMCreateSectionSuperDM() 482 PetscCall(PetscSectionGetConstrainedStorageSize(sectionGlobals[i], &subSize)); in DMCreateSectionSuperDM() 487 PetscCall(PetscSectionGetDof(sectionGlobals[i], p, &gdof)); in DMCreateSectionSuperDM() 557 PetscCall(PetscFree3(Nfs, sections, sectionGlobals)); in DMCreateSectionSuperDM()
|