Lines Matching refs:numChildDof

2855     PetscInt        i, numChildDof, numSelfDof;  in DMPlexComputeInjectorReferenceTree()  local
2864 for (i = 0, numChildDof = 0; i < numChildren; i++) { in DMPlexComputeInjectorReferenceTree()
2869 numChildDof += dof; in DMPlexComputeInjectorReferenceTree()
2872 if (!numChildDof || !numSelfDof) continue; in DMPlexComputeInjectorReferenceTree()
2877 for (i = 0, numChildDof = 0; i < numChildren; i++) { in DMPlexComputeInjectorReferenceTree()
2882 numChildDof += dof; in DMPlexComputeInjectorReferenceTree()
2889 for (i = 0; i < numSelfDof; i++) nnz[selfOff + i] = numChildDof; in DMPlexComputeInjectorReferenceTree()
2898 PetscInt i, numChildDof, numSelfDof; in DMPlexComputeInjectorReferenceTree() local
2908 for (i = 0, numChildDof = 0; i < numChildren; i++) { in DMPlexComputeInjectorReferenceTree()
2913 numChildDof += dof; in DMPlexComputeInjectorReferenceTree()
2916 if (!numChildDof || !numSelfDof) continue; in DMPlexComputeInjectorReferenceTree()
2931 for (i = 0, numChildDof = 0; i < numChildren; i++) { in DMPlexComputeInjectorReferenceTree()
2936 numChildDof += dof; in DMPlexComputeInjectorReferenceTree()
2994 PetscCall(DMGetWorkArray(refTree, numSelfDof * numChildDof, MPIU_SCALAR, &pointMat)); in DMPlexComputeInjectorReferenceTree()
2995 PetscCall(DMGetWorkArray(refTree, numSelfDof + numChildDof, MPIU_INT, &matRows)); in DMPlexComputeInjectorReferenceTree()
2998 for (i = 0; i < numSelfDof * numChildDof; i++) pointMat[i] = 0.; in DMPlexComputeInjectorReferenceTree()
3119 pointMat[i * numChildDof + pointMatOff + l] += val; in DMPlexComputeInjectorReferenceTree()
3139 … for (j = 0; j < Nc; j++) pointMat[j * numChildDof + Nc * childCell + j] = childVol / parentVol; 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()