Home
last modified time | relevance | path

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

/petsc/src/dm/dt/fe/impls/composite/
H A Dfecomposite.c22 PetscReal *subpoint; in PetscFESetUp_Composite() local
42 PetscCall(DMGetWorkArray(K, dim, MPIU_REAL, &subpoint)); in PetscFESetUp_Composite()
61 PetscCall(DMRestoreWorkArray(K, dim, MPIU_REAL, &subpoint)); in PetscFESetUp_Composite()
113 PetscReal *tmpB = NULL, *tmpD = NULL, *tmpH = NULL, *subpoint; in PetscFEComputeTabulation_Composite() local
125 PetscCall(DMGetWorkArray(dm, dim, MPIU_REAL, &subpoint)); in PetscFEComputeTabulation_Composite()
132 subpoint[d] = -1.0; in PetscFEComputeTabulation_Composite()
133 …for (e = 0; e < dim; ++e) subpoint[d] += cmp->invjac[(s * dim + d) * dim + e] * (points[p * dim + … in PetscFEComputeTabulation_Composite()
135 PetscCall(DMPolytopeInCellTest(ct, subpoint, &inside)); in PetscFEComputeTabulation_Composite()
143 PetscCall(DMRestoreWorkArray(dm, dim, MPIU_REAL, &subpoint)); in PetscFEComputeTabulation_Composite()
/petsc/src/dm/impls/plex/
H A Dplexsubmesh.c1989 PetscInt subpoint, subface, subconeSize, sc; in GetSurfaceSide_Static() local
1991 PetscCall(PetscFindInt(cell, numSubpoints, subpoints, &subpoint)); in GetSurfaceSide_Static()
1993 PetscCall(DMPlexGetConeSize(subdm, subpoint, &subconeSize)); in GetSurfaceSide_Static()
1994 PetscCall(DMPlexGetCone(subdm, subpoint, &subcone)); in GetSurfaceSide_Static()
1995 PetscCall(DMPlexGetConeOrientation(subdm, subpoint, &subornt)); in GetSurfaceSide_Static()
2002 …FMT ") in cone for subpoint %" PetscInt_FMT " (%" PetscInt_FMT ")", subface, face, subpoint, cell); in GetSurfaceSide_Static()
3478 const PetscInt subpoint = firstSubPoint[d] + p; in DMPlexCreateSubmeshGeneric_Interpolated() local
3491 PetscCall(DMPlexSetConeSize(subdm, subpoint, coneSizeNew)); in DMPlexCreateSubmeshGeneric_Interpolated()
3492 PetscCall(DMPlexSetCellType(subdm, subpoint, DM_POLYTOPE_FV_GHOST)); in DMPlexCreateSubmeshGeneric_Interpolated()
3496 PetscCall(DMPlexSetConeSize(subdm, subpoint, coneSize)); in DMPlexCreateSubmeshGeneric_Interpolated()
[all …]
H A Dplexfem.c4034 PetscInt face = cone[s], point = face, subpoint, Nx, i; in DMPlexGetHybridFields() local
4047 PetscCall(DMGetEnclosurePoint(plexX[s], dm, encX[s], point, &subpoint)); in DMPlexGetHybridFields()
4048 …PetscCall(DMPlexVecGetOrientedClosure(plexX[s], sectionX[s], PETSC_FALSE, locX[s], subpoint, ornt[… in DMPlexGetHybridFields()
4049 …nt_FMT " for subpoint %" PetscInt_FMT " does not match DS size %" PetscInt_FMT, Nx, subpoint, tdX); in DMPlexGetHybridFields()
4051 PetscCall(DMPlexVecRestoreClosure(plexX[s], sectionX[s], locX[s], subpoint, &Nx, &closure)); in DMPlexGetHybridFields()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDMPlex.pyx439 Flag indicating if a subpoint is forced to be owned by a rank that owns