Searched refs:newNumIndices (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/dm/impls/plex/ |
| H A D | plex.c | 7848 PetscInt newNumPoints = 0, newNumIndices = 0; in DMPlexAnchorsGetSubMatModification() local 7902 newNumIndices += aDof; in DMPlexAnchorsGetSubMatModification() 7913 newNumIndices += bSecDof; in DMPlexAnchorsGetSubMatModification() 7933 if (outNumIndices) *outNumIndices = newNumIndices; in DMPlexAnchorsGetSubMatModification() 7946 …newNumIndices, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Invalid size for closure %" PetscInt_FMT " should… in DMPlexAnchorsGetSubMatModification() 7990 PetscCall(DMGetWorkArray(dm, newNumIndices, MPIU_INT, &newIndices)); in DMPlexAnchorsGetSubMatModification() 7991 PetscCall(DMGetWorkArray(dm, newNumIndices, MPIU_INT, &tmpNewIndices)); in DMPlexAnchorsGetSubMatModification() 7994 for (PetscInt i = 0; i < newNumIndices; i++) newIndices[i] = -1; in DMPlexAnchorsGetSubMatModification() 7999 PetscCall(DMGetWorkArray(dm, numIndices * newNumIndices, MPIU_SCALAR, &modMat)); in DMPlexAnchorsGetSubMatModification() 8000 PetscCall(DMGetWorkArray(dm, numIndices * newNumIndices, MPIU_SCALAR, &tmpMat)); in DMPlexAnchorsGetSubMatModification() [all …]
|