Lines Matching refs:numSelfDof

2855     PetscInt        i, numChildDof, numSelfDof;  in DMPlexComputeInjectorReferenceTree()  local
2871 PetscCall(PetscSectionGetDof(section, p, &numSelfDof)); in DMPlexComputeInjectorReferenceTree()
2872 if (!numChildDof || !numSelfDof) continue; in DMPlexComputeInjectorReferenceTree()
2884 PetscCall(PetscSectionGetFieldDof(section, p, f, &numSelfDof)); in DMPlexComputeInjectorReferenceTree()
2889 for (i = 0; i < numSelfDof; i++) nnz[selfOff + i] = numChildDof; in DMPlexComputeInjectorReferenceTree()
2898 PetscInt i, numChildDof, numSelfDof; in DMPlexComputeInjectorReferenceTree() local
2915 PetscCall(PetscSectionGetDof(section, p, &numSelfDof)); in DMPlexComputeInjectorReferenceTree()
2916 if (!numChildDof || !numSelfDof) continue; in DMPlexComputeInjectorReferenceTree()
2938 PetscCall(PetscSectionGetFieldDof(section, p, f, &numSelfDof)); in DMPlexComputeInjectorReferenceTree()
2994 PetscCall(DMGetWorkArray(refTree, numSelfDof * numChildDof, MPIU_SCALAR, &pointMat)); in DMPlexComputeInjectorReferenceTree()
2995 PetscCall(DMGetWorkArray(refTree, numSelfDof + numChildDof, MPIU_INT, &matRows)); in DMPlexComputeInjectorReferenceTree()
2996 matCols = matRows + numSelfDof; in DMPlexComputeInjectorReferenceTree()
2997 for (i = 0; i < numSelfDof; i++) matRows[i] = selfOff + i; in DMPlexComputeInjectorReferenceTree()
2998 for (i = 0; i < numSelfDof * numChildDof; i++) pointMat[i] = 0.; in DMPlexComputeInjectorReferenceTree()
3028 for (i = 0; i < numSelfDof; i++) { /* for every shape function */ in DMPlexComputeInjectorReferenceTree()
3144 … PetscCall(MatSetValues(mat, numSelfDof, matRows, numChildDof, matCols, pointMat, INSERT_VALUES)); in DMPlexComputeInjectorReferenceTree()
3145 PetscCall(DMRestoreWorkArray(refTree, numSelfDof + numChildDof, MPIU_INT, &matRows)); in DMPlexComputeInjectorReferenceTree()
3146 PetscCall(DMRestoreWorkArray(refTree, numSelfDof * numChildDof, MPIU_SCALAR, &pointMat)); in DMPlexComputeInjectorReferenceTree()