Home
last modified time | relevance | path

Searched refs:cellCounts (Results 1 – 2 of 2) sorted by relevance

/petsc/src/ksp/pc/impls/patch/
H A Dpcpatch.c923 PetscSection cellCounts, pointCounts, intFacetCounts, extFacetCounts; in PCPatchCreateCellPatches() local
968 PetscCall(PetscSectionCreate(PETSC_COMM_SELF, &patch->cellCounts)); in PCPatchCreateCellPatches()
969 PetscCall(PetscObjectSetName((PetscObject)patch->cellCounts, "Patch Cell Layout")); in PCPatchCreateCellPatches()
970 cellCounts = patch->cellCounts; in PCPatchCreateCellPatches()
971 PetscCall(PetscSectionSetChart(cellCounts, vStart, vEnd)); in PCPatchCreateCellPatches()
1040 if (point >= cStart && point < cEnd) PetscCall(PetscSectionAddDof(cellCounts, v, 1)); in PCPatchCreateCellPatches()
1046 PetscCall(PetscSectionSetUp(cellCounts)); in PCPatchCreateCellPatches()
1047 PetscCall(PetscSectionGetStorageSize(cellCounts, &numCells)); in PCPatchCreateCellPatches()
1068 PetscCall(PetscSectionGetDof(cellCounts, v, &cdof)); in PCPatchCreateCellPatches()
1069 PetscCall(PetscSectionGetOffset(cellCounts, v, &coff)); in PCPatchCreateCellPatches()
[all …]
/petsc/include/petsc/private/
H A Dpcpatchimpl.h23 PetscSection cellCounts; /* Maps patch -> # cells in patch */ member