| /petsc/src/dm/impls/plex/ |
| H A D | plexfvm.c | 26 PetscInt Ns, ncell, d; in DMPlexApplyLimiter_Internal() local 35 ncell = cell == fcells[0] ? fcells[1] : fcells[0]; in DMPlexApplyLimiter_Internal() 37 PetscCall(DMPlexPointLocalFieldRead(dm, ncell, field, x, &ncx)); in DMPlexApplyLimiter_Internal() 39 PetscCall(DMPlexPointLocalRead(dm, ncell, x, &ncx)); in DMPlexApplyLimiter_Internal() 41 PetscCall(DMPlexPointLocalRead(dmCell, ncell, cellgeom, &ncg)); in DMPlexApplyLimiter_Internal()
|
| H A D | plexgeometry.c | 3237 PetscInt ncell, side; in BuildGradientReconstruction_Internal() local 3244 ncell = fcells[!side]; /* the neighbor */ in BuildGradientReconstruction_Internal() 3246 PetscCall(DMPlexPointLocalRead(dmCell, ncell, cgeom, &cg1)); in BuildGradientReconstruction_Internal() 3353 PetscInt ncell, side, nface; in BuildGradientReconstruction_Internal_Tree() local 3356 ncell = neighbors[off + f][1]; in BuildGradientReconstruction_Internal_Tree() 3360 PetscCall(DMPlexPointLocalRead(dmCell, ncell, cgeom, &cg1)); in BuildGradientReconstruction_Internal_Tree()
|
| H A D | plexfem.c | 3926 PetscInt ssize, ncell, Nxc; in DMPlexGetHybridCellFields() local 3932 if (support[0] == cell) ncell = support[1]; in DMPlexGetHybridCellFields() 3933 else if (support[1] == cell) ncell = support[0]; in DMPlexGetHybridCellFields() 3936 PetscCall(DMGetCellDS(dm, ncell, &dsC, NULL)); in DMPlexGetHybridCellFields() 3937 PetscCall(DMPlexVecGetClosure(plex, section, locX, ncell, &Nxc, &xc)); in DMPlexGetHybridCellFields() 3938 if (locX_t) PetscCall(DMPlexVecGetClosure(plex, section, locX_t, ncell, NULL, &xc_t)); in DMPlexGetHybridCellFields() 3953 PetscCall(DMPlexVecRestoreClosure(plex, section, locX, ncell, &Nxc, &xc)); in DMPlexGetHybridCellFields() 3954 if (locX_t) PetscCall(DMPlexVecRestoreClosure(plex, section, locX_t, ncell, NULL, &xc_t)); in DMPlexGetHybridCellFields()
|
| /petsc/src/ksp/pc/impls/patch/ |
| H A D | pcpatch.c | 1731 PetscInt pStart, pEnd, ncell, offset, c, i, j; in PCPatchCreateMatrix_Private() local 1741 PetscCall(PetscSectionGetDof(patch->cellCounts, point, &ncell)); in PCPatchCreateMatrix_Private() 1753 for (c = 0; c < ncell; ++c) { in PCPatchCreateMatrix_Private() 1809 for (c = 0; c < ncell; ++c) { in PCPatchCreateMatrix_Private() 1850 for (c = 0; c < ncell; ++c) { in PCPatchCreateMatrix_Private() 1935 PetscInt ncell, offset, pStart, pEnd; in PCPatchComputeFunction_Internal() local 1948 PetscCall(PetscSectionGetDof(patch->cellCounts, point, &ncell)); in PCPatchComputeFunction_Internal() 1950 if (ncell <= 0) { in PCPatchComputeFunction_Internal() 1956 …PetscCall(ISCreateGeneral(PETSC_COMM_SELF, ncell, cellsArray + offset, PETSC_USE_POINTER, &patch->… in PCPatchComputeFunction_Internal() 1957 …PetscCallBack("PCPatch callback", patch->usercomputef(pc, point, x, F, patch->cellIS, ncell * patc… in PCPatchComputeFunction_Internal() [all …]
|
| /petsc/src/dm/impls/swarm/ |
| H A D | swarm.c | 764 const PetscInt ncell = adj[a]; in DMSwarmComputeMassMatrixSquare_Private() 768 PetscCall(DMSwarmSortGetPointsPerCell(dmc, ncell, &numNCIndices, &ncindices)); in DMSwarmComputeMassMatrixSquare_Private() 787 PetscCall(DMSwarmSortRestorePointsPerCell(dmc, ncell, &numNCIndices, &ncindices)); in DMSwarmComputeMassMatrixSquare_Private()
|