Home
last modified time | relevance | path

Searched refs:stratum (Results 1 – 14 of 14) sorted by relevance

/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDMLabel.pyx221 """Add a new stratum value in a `DMLabel`.
228 The stratum value.
239 """Add new stratum values in a `DMLabel`.
246 The stratum values.
259 """Add new stratum values in a `DMLabel`.
266 Index set with stratum values.
304 """Return whether the stratum contains a point.
311 The stratum value.
334 The stratum value.
346 def getStratumSize(self, stratum: int) -> int:
[all …]
H A DDMStag.pyx225 """Set DOFs/stratum.
349 """Get number of DOFs associated with each stratum of the grid.
767 """Create a compatible ``DMStag`` with different DOFs/stratum.
842 """The number of DOFs associated with each stratum of the grid."""
H A DDM.pyx2182 """Return the number of points in a label stratum.
2191 The stratum value.
2206 """Return the points in a label stratum.
2215 The stratum value.
2230 """Remove all points from a stratum.
2239 The stratum value.
H A DDMPlex.pyx1023 The first stratum point.
1025 The upper bound for stratum points.
1050 The first stratum point.
1052 The upper bound for stratum points.
H A DDMDA.pyx1109 """The number of DOFs associated with each stratum of the grid."""
/petsc/src/dm/impls/stag/tests/
H A Dex50.c71 for (PetscInt stratum = 0; stratum < dim + 1; ++stratum) { in main() local
72 for (PetscInt i_loc = 0; i_loc < n_loc[stratum]; ++i_loc) { in main()
78 PetscCall(DMStagVecSplitToDMDA(dm, x, loc[stratum][i_loc], -3, &da, &x_da)); in main()
86 for (PetscInt c = 0; c < dof[stratum]; ++c) { in main()
90 PetscCall(DMStagVecSplitToDMDA(dm, x, loc[stratum][i_loc], c, &da, &x_da)); in main()
/petsc/src/dm/label/ftn-custom/
H A Dzdmlabel.c11 PETSC_EXTERN void petscsectionsymlabelsetstratum_(PetscSectionSym *sym, PetscInt *stratum, PetscInt… in petscsectionsymlabelsetstratum_() argument
13 …*__ierr = PetscSectionSymLabelSetStratum(*sym, *stratum, *size, *minOrient, *maxOrient, *mode, (co… in petscsectionsymlabelsetstratum_()
/petsc/src/dm/impls/plex/tests/
H A Dex11.c25 IS stratum; in TestInsertion() local
29 PetscCall(DMLabelGetStratumIS(label, values[v], &stratum)); in TestInsertion()
30 …PetscCheck(stratum, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Stratum %" PetscInt_FMT " is empty!", v… in TestInsertion()
31 PetscCall(ISGetIndices(stratum, &points)); in TestInsertion()
32 PetscCall(ISGetLocalSize(stratum, &n)); in TestInsertion()
34 PetscCall(ISRestoreIndices(stratum, &points)); in TestInsertion()
35 PetscCall(ISDestroy(&stratum)); in TestInsertion()
/petsc/src/binding/petsc4py/docs/ipynb/
H A Ddmplex.ipynb286 …d to each value of the depth, the so-called *depth stratum*. (I do not understand what height stra…
298 "depth = 0 \tdepth stratum = (4, 13) \theight stratum = (0, 4)\n",
299 "depth = 1 \tdepth stratum = (13, 25) \theight stratum = (13, 25)\n",
300 "depth = 2 \tdepth stratum = (0, 4) \theight stratum = (4, 13)\n"
306 …" print(\"depth = %d\" % i,\"\\tdepth stratum = \",plex.getDepthStratum(i),\"\\theight stratum
/petsc/src/snes/tutorials/
H A Dex13.c275 IS stratum; in ComputeSpectral() local
285 PetscCall(DMLabelGetStratumIS(label, 1, &stratum)); in ComputeSpectral()
286 PetscCall(ISGetLocalSize(stratum, &n)); in ComputeSpectral()
288 PetscCall(ISGetIndices(stratum, &points)); in ComputeSpectral()
346 PetscCall(ISRestoreIndices(stratum, &points)); in ComputeSpectral()
347 PetscCall(ISDestroy(&stratum)); in ComputeSpectral()
/petsc/doc/manual/
H A Ddmstag.md30 The set of cells of a given dimension is referred to as a *stratum* (which one can think of as a le…
37 Each stratum has a constant number of unknowns (which may be zero) associated with each point (cell…
109 has $d$ DOF on each stratum corresponding to coordinates associated with each point.
154 Global numbering scheme for a 2D `DMSTAG` object with one DOF per stratum. Note that the numbering …
160 …}`figure_dmstag_local_global`) for a 2D `DMSTAG` object with one DOF per stratum. Note that dummy …
H A Ddmplex.md547 Group `/topologies/<mesh_name>/topology/strata` contains a subgroup for each stratum depth (dimensi…
548 …lobal numbering, given by the position in `orientations` (or `cone_sizes`) plus the stratum offset.
549 The stratum offset is given by a sum of lengths of all previous strata with respect to the order st…
/petsc/src/dm/label/impls/ephemeral/
H A Ddmlabeleph.c47 static PetscErrorCode DMLabelGetStratumIS_Ephemeral(DMLabel label, PetscInt v, IS *stratum) in DMLabelGetStratumIS_Ephemeral() argument
86 PetscCall(ISCreateGeneral(PETSC_COMM_SELF, Np, points, PETSC_OWN_POINTER, stratum)); in DMLabelGetStratumIS_Ephemeral()
/petsc/src/dm/label/
H A Ddmlabel.c1988 PetscInt p, pStart, pEnd, s, size, dof, offset, stratum; in DMLabelDistribute() local
2067 stratum = leafStrata[offset + s]; in DMLabelDistribute()
2068 points[stratum][strataIdx[stratum]++] = p; in DMLabelDistribute()
2845 PetscErrorCode PetscSectionSymLabelGetStratum(PetscSectionSym sym, PetscInt stratum, PetscInt *size… in PetscSectionSymLabelGetStratum() argument
2858 if (stratum == value) break; in PetscSectionSymLabelGetStratum()
2861 …)sym), PETSC_ERR_ARG_OUTOFRANGE, "Stratum %" PetscInt_FMT " not found in label %s", stratum, name); in PetscSectionSymLabelGetStratum()
2904 PetscErrorCode PetscSectionSymLabelSetStratum(PetscSectionSym sym, PetscInt stratum, PetscInt size,… in PetscSectionSymLabelSetStratum() argument
2917 if (stratum == value) break; in PetscSectionSymLabelSetStratum()
2920 …)sym), PETSC_ERR_ARG_OUTOFRANGE, "Stratum %" PetscInt_FMT " not found in label %s", stratum, name); in PetscSectionSymLabelSetStratum()