Searched refs:Nfs (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/dm/interface/ |
| H A D | dmi.c | 452 PetscInt *Nfs, Nf = 0, f, supf, oldf = -1, nullf = -1, i; in DMCreateSectionSuperDM() local 458 PetscCall(PetscMalloc3(len, &Nfs, len, §ions, len, §ionGlobals)); in DMCreateSectionSuperDM() 464 PetscCall(PetscSectionGetNumFields(sections[i], &Nfs[i])); in DMCreateSectionSuperDM() 465 Nf += Nfs[i]; in DMCreateSectionSuperDM() 477 for (i = 0; i < len; startf += Nfs[i], ++i) { in DMCreateSectionSuperDM() 497 PetscCall(DMGetGlobalFieldOffset_Private(*superdm, p, startf + Nfs[i] - 1, &dummy, &end)); in DMCreateSectionSuperDM() 523 for (f = 0; f < Nfs[i]; ++f, ++supf) { in DMCreateSectionSuperDM() 537 for (f = 0; f < Nfs[i]; ++f, ++supf) { in DMCreateSectionSuperDM() 557 PetscCall(PetscFree3(Nfs, sections, sectionGlobals)); in DMCreateSectionSuperDM()
|