Home
last modified time | relevance | path

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

/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDT.pyx96 cdef const PetscReal *cpoints = NULL
98 CHKERR(PetscQuadratureGetData(self.quad, &cdim, &cnc, &cnpoints, &cpoints, &cweights))
99 return array_r(cnpoints*cdim, cpoints), array_r(cnpoints*cnc, cweights)
H A DPartitioner.pyx175 cdef PetscInt *cpoints = NULL
185 points = iarray_i(points, NULL, &cpoints)
187 csizes, cpoints))
/petsc/src/dm/impls/plex/
H A Dplex.c8559 PetscInt *cpoints = NULL; in DMPlexMatSetClosureRefined() local
8584 PetscCall(DMPlexGetTransitiveClosure(dmc, point, PETSC_TRUE, &numCPoints, &cpoints)); in DMPlexMatSetClosureRefined()
8590 if ((cpoints[p] >= pStart) && (cpoints[p] < pEnd)) { in DMPlexMatSetClosureRefined()
8591 cpoints[q * 2] = cpoints[p]; in DMPlexMatSetClosureRefined()
8592 cpoints[q * 2 + 1] = cpoints[p + 1]; in DMPlexMatSetClosureRefined()
8600 PetscCall(PetscSectionGetDof(csection, cpoints[p], &dof)); in DMPlexMatSetClosureRefined()
8603 PetscCall(PetscSectionGetFieldDof(csection, cpoints[p], f, &fdof)); in DMPlexMatSetClosureRefined()
8666 PetscCall(PetscSectionGetFieldPointSyms(csection, f, numCPoints, cpoints, &permsC[f], NULL)); in DMPlexMatSetClosureRefined()
8673 PetscCall(PetscSectionGetOffset(globalCSection, cpoints[2 * p], &globalOff)); in DMPlexMatSetClosureRefined()
8674 …PetscCall(DMPlexGetIndicesPointFields_Internal(csection, PETSC_FALSE, cpoints[2 * p], globalOff < … in DMPlexMatSetClosureRefined()
[all …]