Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/
H A Dplexsection.c194 … PetscInt numBC, const PetscInt bcField[], const IS bcComps[], const IS bcPoints[], PetscSection s… in DMPlexCreateSectionBCDof() argument
214 if (bcPoints[bc]) { in DMPlexCreateSectionBCDof()
215 PetscCall(ISGetLocalSize(bcPoints[bc], &n)); in DMPlexCreateSectionBCDof()
216 PetscCall(ISGetIndices(bcPoints[bc], &idx)); in DMPlexCreateSectionBCDof()
240 PetscCall(ISRestoreIndices(bcPoints[bc], &idx)); in DMPlexCreateSectionBCDof()
270 … PetscInt numBC, const PetscInt bcField[], const IS bcComps[], const IS bcPoints[], PetscSection s… in DMPlexCreateSectionBCIndicesField() argument
298 if (bcPoints[bc]) { in DMPlexCreateSectionBCIndicesField()
299 PetscCall(ISGetLocalSize(bcPoints[bc], &n)); in DMPlexCreateSectionBCIndicesField()
300 PetscCall(ISGetIndices(bcPoints[bc], &idx)); in DMPlexCreateSectionBCIndicesField()
330 PetscCall(ISRestoreIndices(bcPoints[bc], &idx)); in DMPlexCreateSectionBCIndicesField()
[all …]
/petsc/src/dm/impls/plex/tests/
H A Dex15.c18 IS bcPoints[1] = {NULL}; in main() local
40 …PetscCall(DMPlexCreateSection(dm, NULL, numComp, numDof, numBC, bcFields, bcPoints, NULL, NULL, &s… in main()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDMPlex.pyx1904 …ield: Sequence[int] | None = None, bcComps: Sequence[IS] | None = None, bcPoints: Sequence[IS] | N…
1923 bcPoints
1958 if bcPoints is not None:
1959 bcPoints = list(bcPoints)
1960 assert len(bcPoints) == nbc
1963 bcpoints[i] = (<IS?>bcPoints[<Py_ssize_t>i]).iset
1965 raise ValueError("bcPoints is a required argument")
1968 assert bcPoints is None