Home
last modified time | relevance | path

Searched refs:cellNodeMap (Results 1 – 3 of 3) sorted by relevance

/petsc/src/ksp/pc/impls/patch/
H A Dpcpatch.c504 …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()
[all …]
/petsc/include/petsc/private/
H A Dpcpatchimpl.h39 …PetscInt **cellNodeMap; /* [field][cell][dof in cell]: global dofs in cell TODO Free this a… member
/petsc/src/snes/impls/patch/
H A Dsnespatch.c373 …paces, DM *dms, PetscInt *bs, PetscInt *nodesPerCell, const PetscInt **cellNodeMap, const PetscInt… in SNESPatchSetDiscretisationInfo() argument
382 …PetscCall(PCPatchSetDiscretisationInfo(patch->pc, nsubspaces, dms, bs, nodesPerCell, cellNodeMap, … in SNESPatchSetDiscretisationInfo()