Lines Matching refs:cellNodeMap

504 …paces, DM *dms, PetscInt *bs, PetscInt *nodesPerCell, const PetscInt **cellNodeMap, const PetscInt…  in PCPatchSetDiscretisationInfo()  argument
520 PetscCall(PetscMalloc1(nsubspaces, &patch->cellNodeMap)); in PCPatchSetDiscretisationInfo()
532 PetscCall(PetscMalloc1((cEnd - cStart) * nodesPerCell[i], &patch->cellNodeMap[i])); in PCPatchSetDiscretisationInfo()
533 …for (j = 0; j < (cEnd - cStart) * nodesPerCell[i]; ++j) patch->cellNodeMap[i][j] = cellNodeMap[i][… in PCPatchSetDiscretisationInfo()
547 …ionInfoCombined(PC pc, DM dm, PetscInt *nodesPerCell, const PetscInt **cellNodeMap, PetscInt numGh… in PCPatchSetDiscretisationInfoCombined() argument
559 PetscCall(PetscMalloc1(patch->nsubspaces, &patch->cellNodeMap)); in PCPatchSetDiscretisationInfoCombined()
569 PetscCall(PetscMalloc1((cEnd - cStart) * nodesPerCell[i], &patch->cellNodeMap[i])); in PCPatchSetDiscretisationInfoCombined()
570 …for (j = 0; j < (cEnd - cStart) * nodesPerCell[i]; ++j) patch->cellNodeMap[i][j] = cellNodeMap[i][… in PCPatchSetDiscretisationInfoCombined()
1367 const PetscInt *cellNodeMap = patch->cellNodeMap[k]; in PCPatchCreateCellPatchDiscretisationInfo() local
1386 const PetscInt globalDof = cellNodeMap[cell * nodesPerCell + j] * bs + subspaceOffset; in PCPatchCreateCellPatchDiscretisationInfo()
1486 const PetscInt *cellNodeMap = patch->cellNodeMap[k]; in PCPatchCreateCellPatchDiscretisationInfo() local
1500 … const PetscInt globalDof = cellNodeMap[cell * nodesPerCell + j] * bs + l + subspaceOffset; in PCPatchCreateCellPatchDiscretisationInfo()
1588 const PetscInt *cellNodeMap = patch->cellNodeMap[k]; in PCPatchCreateCellPatchDiscretisationInfo() local
1595 … const PetscInt globalDof = cellNodeMap[cell * nodesPerCell + j] * bs + l + subspaceOffset; in PCPatchCreateCellPatchDiscretisationInfo()
2909 if (patch->cellNodeMap) in PCReset_PATCH()
2910 for (i = 0; i < patch->nsubspaces; i++) PetscCall(PetscFree(patch->cellNodeMap[i])); in PCReset_PATCH()
2911 PetscCall(PetscFree(patch->cellNodeMap)); in PCReset_PATCH()
2953 patch->cellNodeMap = NULL; in PCReset_PATCH()