Home
last modified time | relevance | path

Searched refs:csec (Results 1 – 4 of 4) sorted by relevance

/petsc/src/binding/petsc4py/demo/legacy/dmplex/
H A Danisotropic_adaptation.py52 csec = plex.getCoordinateSection() variable
57 off = csec.getOffset(v)
/petsc/src/sys/objects/ftn-custom/
H A Dzoptionsf.c58 char *cprefix, *cmess, *csec; in petscoptionsbegin_() local
62 FIXCHAR(sec, lensec, csec); in petscoptionsbegin_()
71 …rr = PetscOptionsBegin_Private(PetscOptionsObject, comm, cprefix, cmess, csec); in petscoptionsbegin_()
75 FREECHAR(sec, csec); in petscoptionsbegin_()
/petsc/src/dm/impls/plex/
H A Dplexglvis.c277 static PetscErrorCode DMPlexGetPointMFEMVertexIDs_Internal(DM dm, PetscInt p, PetscSection csec, Pe… in DMPlexGetPointMFEMVertexIDs_Internal() argument
285 if (csec) { in DMPlexGetPointMFEMVertexIDs_Internal()
289 PetscCall(PetscSectionGetChart(csec, &sStart, &sEnd)); in DMPlexGetPointMFEMVertexIDs_Internal()
290 PetscCall(PetscSectionGetOffset(csec, vStart, &off)); in DMPlexGetPointMFEMVertexIDs_Internal()
292 if (p >= sStart && p < sEnd) PetscCall(PetscSectionGetDof(csec, p, &dof)); in DMPlexGetPointMFEMVertexIDs_Internal()
300 PetscCall(PetscSectionGetOffset(csec, p, &off)); in DMPlexGetPointMFEMVertexIDs_Internal()
301 PetscCall(PetscSectionGetDof(csec, p, &dof)); in DMPlexGetPointMFEMVertexIDs_Internal()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDMPlex.pyx1271 cdef PetscSection csec = sec.sec if sec is not None else NULL
1274 CHKERR(DMPlexVecGetClosure(self.dm, csec, vec.vec, cp, &csize, &cvals))
1278 CHKERR(DMPlexVecRestoreClosure(self.dm, csec, vec.vec, cp, &csize, &cvals))
1305 cdef PetscSection csec = sec.sec if sec is not None else NULL
1311 CHKERR(DMPlexVecSetClosure(self.dm, csec, vec.vec, cp, cvals, im))
1341 cdef PetscSection csec = sec.sec if sec is not None else NULL
1348 CHKERR(DMPlexMatSetClosure(self.dm, csec, cgsec, mat.mat, cp, cvals, im))
2114 cdef PetscSection csec = sec.sec if sec is not None else NULL
2115 CHKERR(DMPlexCreateClosureIndex(self.dm, csec))