Home
last modified time | relevance | path

Searched refs:pointType (Results 1 – 2 of 2) sorted by relevance

/petsc/src/snes/tests/
H A Dex2.c20 PointType pointType; // Point generation mechanism member
50 options->pointType = CENTROID; in ProcessOptions()
55 pt = options->pointType; in ProcessOptions()
56 …point_type", "The point type", "ex2.c", pointTypes, 3, pointTypes[options->pointType], &pt, NULL)); in ProcessOptions()
57 options->pointType = (PointType)pt; in ProcessOptions()
209 switch (ctx->pointType) { in CreatePoints()
220 …mm((PetscObject)dm), PETSC_ERR_ARG_WRONG, "Invalid point generation type %d", (int)ctx->pointType); in CreatePoints()
/petsc/src/dm/field/impls/ds/
H A Ddmfieldds.c238 MPI_Datatype pointType; in DMFieldEvaluate_DS() local
274 PetscCallMPI(MPI_Type_contiguous(idim, MPIU_SCALAR, &pointType)); in DMFieldEvaluate_DS()
275 PetscCallMPI(MPI_Type_commit(&pointType)); in DMFieldEvaluate_DS()
277 PetscCall(PetscSFGatherBegin(cellSF, pointType, pointsArray, cellPoints)); in DMFieldEvaluate_DS()
278 PetscCall(PetscSFGatherEnd(cellSF, pointType, pointsArray, cellPoints)); in DMFieldEvaluate_DS()
444 PetscCallMPI(MPI_Type_free(&pointType)); in DMFieldEvaluate_DS()