Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/
H A Dplexfem.c3183 PetscInt dim, Nf, field, totDim, cStart, cEnd, cell, ccell, s; in DMPlexComputeInterpolatorGeneral() local
3269 for (ccell = 0; ccell < numCoarseCells; ++ccell) { in DMPlexComputeInterpolatorGeneral()
3273 …PetscCall(DMPlexGetClosureIndices(dmc, csection, globalCSection, coarseCells[ccell].index, PETSC_F… in DMPlexComputeInterpolatorGeneral()
3279 …PetscCall(DMPlexComputeCellGeometryFEM(dmc, coarseCells[ccell].index, NULL, v0c, Jc, invJc, &detJc… in DMPlexComputeInterpolatorGeneral()
3280 for (d = 0; d < dim; ++d) pVReal[d] = PetscRealPart(pV[ccell * dim + d]); in DMPlexComputeInterpolatorGeneral()
3289 … for (c = 0; c < Nc; ++c) elemMat[j] += T->T[0][j * Nc + c] * qweights[ccell * qNc + c]; in DMPlexComputeInterpolatorGeneral()
3293 for (c = 0; c < Nc; ++c) elemMat[j] += 1.0 * qweights[ccell * qNc + c]; in DMPlexComputeInterpolatorGeneral()
3301 …PetscCall(DMPlexRestoreClosureIndices(dmc, csection, globalCSection, coarseCells[ccell].index, PET… in DMPlexComputeInterpolatorGeneral()
3356 PetscInt dim, Nf, field, totDim, cStart, cEnd, cell, ccell; in DMPlexComputeMassMatrixGeneral() local
3432 for (ccell = 0; ccell < numCoarseCells; ++ccell) { in DMPlexComputeMassMatrixGeneral()
[all …]
H A Dplexsubmesh.c3527 const PetscInt ccell = subpoints[d + 1][subc]; in DMPlexCreateSubmeshGeneric_Interpolated() local
3529 PetscCall(DMPlexGetCone(dm, ccell, &cone)); in DMPlexCreateSubmeshGeneric_Interpolated()
3530 PetscCall(DMPlexGetConeSize(dm, ccell, &coneSize)); in DMPlexCreateSubmeshGeneric_Interpolated()
3531 PetscCall(DMPlexGetConeOrientation(dm, ccell, &ornt)); in DMPlexCreateSubmeshGeneric_Interpolated()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDMPlex.pyx2309 cdef PetscInt ccell = asInt(cell)
2312 CHKERR(DMPlexComputeCellGeometryFVM(self.dm, ccell, &vol, centroid, normal))