Lines Matching refs:cDof

1425       PetscInt cDof, cOff, numCols, r, i;  in DMPlexReferenceTreeGetChildrenMatrices()  local
1428 PetscCall(PetscSectionGetFieldDof(refConSec, p, f, &cDof)); in DMPlexReferenceTreeGetChildrenMatrices()
1432 PetscCall(PetscSectionGetDof(refConSec, p, &cDof)); in DMPlexReferenceTreeGetChildrenMatrices()
1437 for (r = 0; r < cDof; r++) rows[r] = cOff + r; in DMPlexReferenceTreeGetChildrenMatrices()
1455 PetscCall(PetscMalloc1(cDof * numCols, &refPointFieldMats[p - pRefStart][f])); in DMPlexReferenceTreeGetChildrenMatrices()
1456 … PetscCall(MatGetValues(refCmat, cDof, rows, numCols, cols, refPointFieldMats[p - pRefStart][f])); in DMPlexReferenceTreeGetChildrenMatrices()
1474 for (k = 0; k < cDof; k++) { in DMPlexReferenceTreeGetChildrenMatrices()
1523 PetscInt cDof; in DMPlexReferenceTreeRestoreChildrenMatrices() local
1526 PetscCall(PetscSectionGetFieldDof(refConSec, p, f, &cDof)); in DMPlexReferenceTreeRestoreChildrenMatrices()
1528 PetscCall(PetscSectionGetDof(refConSec, p, &cDof)); in DMPlexReferenceTreeRestoreChildrenMatrices()
1638 PetscInt cDof, cOff, numCols, numFillCols, i, r, matOffset, offset; in DMPlexComputeAnchorMatrix_Tree_FromReference() local
1644 PetscCall(PetscSectionGetFieldDof(conSec, point, f, &cDof)); in DMPlexComputeAnchorMatrix_Tree_FromReference()
1647 PetscCall(PetscSectionGetDof(conSec, point, &cDof)); in DMPlexComputeAnchorMatrix_Tree_FromReference()
1650 if (!cDof) continue; in DMPlexComputeAnchorMatrix_Tree_FromReference()
1656 for (r = 0; r < cDof; r++) { in DMPlexComputeAnchorMatrix_Tree_FromReference()
1657 if (cDof > 1 && r) { in DMPlexComputeAnchorMatrix_Tree_FromReference()
1663 for (i = ia[cOff]; i < ia[cOff + cDof]; i++) vals[i] = 0.; in DMPlexComputeAnchorMatrix_Tree_FromReference()
1699 for (r = 0; r < cDof; r++) { in DMPlexComputeAnchorMatrix_Tree_FromReference()
1717 …for (r = 0; r < cDof; r++) vals[matOffset + numFillCols * r + k] = pointWork[r * aNumFillCols + j]; in DMPlexComputeAnchorMatrix_Tree_FromReference()
1725 for (r = 0; r < cDof; r++) { in DMPlexComputeAnchorMatrix_Tree_FromReference()
2141 PetscInt cDof = 0; in DMPlexComputeInterpolatorTree() local
2150 if (p >= cStart && p < cEnd) PetscCall(PetscSectionGetDof(cSec, p, &cDof)); in DMPlexComputeInterpolatorTree()
2190 if (cDof > 0) { /* this point's dofs are interpolated via cMat: get the submatrix of cMat */ in DMPlexComputeInterpolatorTree()
3184 PetscInt cDof, cOff, numCols, r; in DMPlexReferenceTreeGetChildrenMatrices_Injection() local
3187 PetscCall(PetscSectionGetFieldDof(refConSec, p, f, &cDof)); in DMPlexReferenceTreeGetChildrenMatrices_Injection()
3190 PetscCall(PetscSectionGetDof(refConSec, p, &cDof)); in DMPlexReferenceTreeGetChildrenMatrices_Injection()
3194 for (r = 0; r < cDof; r++) rows[r] = cOff + r; in DMPlexReferenceTreeGetChildrenMatrices_Injection()
3209 PetscCall(PetscMalloc1(cDof * numCols, &refPointFieldMats[p - pRefStart][f])); in DMPlexReferenceTreeGetChildrenMatrices_Injection()
3211 PetscCall(MatGetValues(inj, numCols, cols, cDof, rows, refPointFieldMats[p - pRefStart][f])); in DMPlexReferenceTreeGetChildrenMatrices_Injection()
3244 PetscInt cDof; in DMPlexReferenceTreeRestoreChildrenMatrices_Injection() local
3247 PetscCall(PetscSectionGetFieldDof(refConSec, p, f, &cDof)); in DMPlexReferenceTreeRestoreChildrenMatrices_Injection()
3249 PetscCall(PetscSectionGetDof(refConSec, p, &cDof)); in DMPlexReferenceTreeRestoreChildrenMatrices_Injection()
3628 PetscInt cDof; in DMPlexComputeInjectorTree() local
3630 PetscCall(PetscSectionGetDof(cSecRef, childId, &cDof)); in DMPlexComputeInjectorTree()
3631 offsets[1] = cDof; in DMPlexComputeInjectorTree()
3722 PetscInt cDof; in DMPlexComputeInjectorTree() local
3724 PetscCall(PetscSectionGetDof(cSecRef, childId, &cDof)); in DMPlexComputeInjectorTree()
3725 offsets[1] = cDof; in DMPlexComputeInjectorTree()
4177 PetscInt cDof; in DMPlexTransferVecTree_Inject() local
4179 PetscCall(PetscSectionGetDof(cSecRef, childId, &cDof)); in DMPlexTransferVecTree_Inject()
4180 offsets[1] = cDof; in DMPlexTransferVecTree_Inject()