Lines Matching refs:numDof
204 PetscInt numDof = user->k[f] - 1; in SetSymmetries() local
217 PetscCall(PetscMalloc1(numDof * numComp, &perm)); in SetSymmetries()
218 for (i = numDof - 1, k = 0; i >= 0; i--) { in SetSymmetries()
224 …PetscCall(PetscSectionSymLabelSetStratum(sym, d, numDof * numComp, minOrnt, maxOrnt, PETSC_OWN_POI… in SetSymmetries()
227 PetscInt numDof = perEdge * perEdge; in SetSymmetries() local
238 PetscCall(PetscMalloc1(numDof * numComp, &perm)); in SetSymmetries()
297 …PetscCall(PetscSectionSymLabelSetStratum(sym, d, numDof * numComp, minOrnt, maxOrnt, PETSC_OWN_POI… in SetSymmetries()
325 PetscInt *numDof, d; in main() local
327 PetscCall(PetscMalloc1(user.Nf * (dim + 1), &numDof)); in main()
329 … for (d = 0; d <= dim; ++d) numDof[f * (dim + 1) + d] = PetscPowInt(user.k[f] - 1, d) * user.Nc[f]; in main()
333 PetscCall(DMPlexCreateSection(dm, NULL, user.Nc, numDof, 0, NULL, NULL, NULL, NULL, &s)); in main()
335 PetscCall(PetscFree(numDof)); in main()