Home
last modified time | relevance | path

Searched refs:rnew (Results 1 – 10 of 10) sorted by relevance

/petsc/src/dm/impls/plex/transform/impls/refine/tobox/
H A Dplexreftobox.c31 …tscInt sp, PetscInt so, DMPolytopeType tct, PetscInt r, PetscInt o, PetscInt *rnew, PetscInt *onew) in DMPlexTransformGetSubcellOrientation_ToBox() argument
73 *rnew = r; in DMPlexTransformGetSubcellOrientation_ToBox()
83 … PetscCall(DMPlexTransformGetSubcellOrientation_Regular(tr, sct, sp, so, tct, r, o, rnew, onew)); in DMPlexTransformGetSubcellOrientation_ToBox()
90 *rnew = tri_seg[(so + 3) * 6 + r * 2]; in DMPlexTransformGetSubcellOrientation_ToBox()
94 *rnew = tri_quad[(so + 3) * 6 + r * 2]; in DMPlexTransformGetSubcellOrientation_ToBox()
105 *rnew = tseg_seg[(so + 2) * 2 + r * 2]; in DMPlexTransformGetSubcellOrientation_ToBox()
109 *rnew = tseg_quad[(so + 2) * 4 + r * 2]; in DMPlexTransformGetSubcellOrientation_ToBox()
121 *rnew = tet_seg[(so + 12) * 8 + r * 2]; in DMPlexTransformGetSubcellOrientation_ToBox()
125 *rnew = tet_quad[(so + 12) * 12 + r * 2]; in DMPlexTransformGetSubcellOrientation_ToBox()
129 *rnew = tet_hex[(so + 12) * 8 + r * 2]; in DMPlexTransformGetSubcellOrientation_ToBox()
[all …]
/petsc/src/dm/impls/plex/transform/impls/refine/regular/
H A Dplexrefregular.c391 …tscInt sp, PetscInt so, DMPolytopeType tct, PetscInt r, PetscInt o, PetscInt *rnew, PetscInt *onew) in DMPlexTransformGetSubcellOrientation_Regular() argument
482 *rnew = r; in DMPlexTransformGetSubcellOrientation_Regular()
496 *rnew = seg_seg[(so + 1) * 4 + r * 2]; in DMPlexTransformGetSubcellOrientation_Regular()
506 *rnew = tri_seg[(so + 3) * 6 + r * 2]; in DMPlexTransformGetSubcellOrientation_Regular()
510 *rnew = tri_tri[(so + 3) * 8 + r * 2]; in DMPlexTransformGetSubcellOrientation_Regular()
522 *rnew = quad_seg[(so + 4) * 8 + r * 2]; in DMPlexTransformGetSubcellOrientation_Regular()
526 *rnew = quad_quad[(so + 4) * 8 + r * 2]; in DMPlexTransformGetSubcellOrientation_Regular()
536 *rnew = tseg_seg[(so + 2) * 2 + r * 2]; in DMPlexTransformGetSubcellOrientation_Regular()
540 *rnew = tseg_tseg[(so + 2) * 4 + r * 2]; in DMPlexTransformGetSubcellOrientation_Regular()
550 *rnew = tet_seg[(so + 12) * 2 + r * 2]; in DMPlexTransformGetSubcellOrientation_Regular()
[all …]
/petsc/src/dm/impls/plex/transform/impls/refine/alfeld/
H A Dplexrefalfeld.c31 …tscInt sp, PetscInt so, DMPolytopeType tct, PetscInt r, PetscInt o, PetscInt *rnew, PetscInt *onew) in DMPlexTransformGetSubcellOrientation_Alfeld() argument
51 *rnew = r; in DMPlexTransformGetSubcellOrientation_Alfeld()
61 *rnew = tri_seg[(so + 3) * 6 + r * 2]; in DMPlexTransformGetSubcellOrientation_Alfeld()
65 *rnew = tri_tri[(so + 3) * 6 + r * 2]; in DMPlexTransformGetSubcellOrientation_Alfeld()
76 *rnew = tet_seg[(so + 12) * 8 + r * 2]; in DMPlexTransformGetSubcellOrientation_Alfeld()
80 *rnew = tet_tri[(so + 12) * 12 + r * 2]; in DMPlexTransformGetSubcellOrientation_Alfeld()
84 *rnew = tet_tet[(so + 12) * 8 + r * 2]; in DMPlexTransformGetSubcellOrientation_Alfeld()
91 PetscCall(DMPlexTransformGetSubcellOrientationIdentity(tr, sct, sp, so, tct, r, o, rnew, onew)); in DMPlexTransformGetSubcellOrientation_Alfeld()
/petsc/src/dm/impls/plex/transform/impls/refine/1d/
H A Dplexref1d.c39 …tscInt sp, PetscInt so, DMPolytopeType tct, PetscInt r, PetscInt o, PetscInt *rnew, PetscInt *onew) in DMPlexTransformGetSubcellOrientation_1D() argument
45 *rnew = r; in DMPlexTransformGetSubcellOrientation_1D()
49 PetscCall(DMPlexTransformGetSubcellOrientation_Regular(tr, sct, sp, so, tct, r, o, rnew, onew)); in DMPlexTransformGetSubcellOrientation_1D()
52 PetscCall(DMPlexTransformGetSubcellOrientationIdentity(tr, sct, sp, so, tct, r, o, rnew, onew)); in DMPlexTransformGetSubcellOrientation_1D()
/petsc/src/dm/impls/plex/transform/impls/refine/bl/
H A Dplexrefbl.c405 …tscInt sp, PetscInt so, DMPolytopeType tct, PetscInt r, PetscInt o, PetscInt *rnew, PetscInt *onew) in DMPlexTransformGetSubcellOrientation_BL() argument
412 *rnew = r; in DMPlexTransformGetSubcellOrientation_BL()
419 … PetscCall(DMPlexTransformGetSubcellOrientationIdentity(tr, sct, sp, so, tct, r, o, rnew, onew)); in DMPlexTransformGetSubcellOrientation_BL()
427 *rnew = !so ? r : n - 1 - r; in DMPlexTransformGetSubcellOrientation_BL()
431 *rnew = r; in DMPlexTransformGetSubcellOrientation_BL()
434 *rnew = n - r; in DMPlexTransformGetSubcellOrientation_BL()
445 *rnew = (so == 0) || (so == -1) ? r : n - 1 - r; in DMPlexTransformGetSubcellOrientation_BL()
449 *rnew = (so == 0) || (so == -1) ? r : n - r; in DMPlexTransformGetSubcellOrientation_BL()
456 PetscCall(DMPlexTransformGetSubcellOrientationIdentity(tr, sct, sp, so, tct, r, o, rnew, onew)); in DMPlexTransformGetSubcellOrientation_BL()
/petsc/src/dm/impls/plex/transform/impls/refine/sbr/
H A Dplexrefsbr.c273 …tscInt sp, PetscInt so, DMPolytopeType tct, PetscInt r, PetscInt o, PetscInt *rnew, PetscInt *onew) in DMPlexTransformGetSubcellOrientation_SBR() argument
279 *rnew = r; in DMPlexTransformGetSubcellOrientation_SBR()
305 *rnew = so < 0 ? (r + 1) % 2 : r; in DMPlexTransformGetSubcellOrientation_SBR()
313 PetscCall(DMPlexTransformGetSubcellOrientation_Regular(tr, sct, sp, so, tct, r, o, rnew, onew)); in DMPlexTransformGetSubcellOrientation_SBR()
316 PetscCall(DMPlexTransformGetSubcellOrientationIdentity(tr, sct, sp, so, tct, r, o, rnew, onew)); in DMPlexTransformGetSubcellOrientation_SBR()
/petsc/src/ksp/ksp/interface/
H A Deige.c241 PetscReal rnew = rprod * (x - r[i]) - iprod * (y - c[i]); in PolyEval() local
243 rprod = rnew; in PolyEval()
/petsc/src/dm/impls/plex/transform/interface/
H A Dplextransform.c1205 …tscInt sp, PetscInt so, DMPolytopeType tct, PetscInt r, PetscInt o, PetscInt *rnew, PetscInt *onew) in DMPlexTransformGetSubcellOrientationIdentity() argument
1208 *rnew = r; in DMPlexTransformGetSubcellOrientationIdentity()
1381 …tscInt sp, PetscInt so, DMPolytopeType tct, PetscInt r, PetscInt o, PetscInt *rnew, PetscInt *onew) in DMPlexTransformGetSubcellOrientation() argument
1384 PetscUseTypeMethod(tr, getsubcellorientation, sct, sp, so, tct, r, o, rnew, onew); in DMPlexTransformGetSubcellOrientation()
/petsc/src/dm/impls/plex/transform/impls/extrude/
H A Dplextrcohesive.c844 …tscInt sp, PetscInt so, DMPolytopeType tct, PetscInt r, PetscInt o, PetscInt *rnew, PetscInt *onew) in DMPlexTransformGetSubcellOrientation_Cohesive() argument
851 *rnew = r; in DMPlexTransformGetSubcellOrientation_Cohesive()
H A Dplextrextrude.c630 …tscInt sp, PetscInt so, DMPolytopeType tct, PetscInt r, PetscInt o, PetscInt *rnew, PetscInt *onew) in DMPlexTransformGetSubcellOrientation_Extrude() argument
638 *rnew = r; in DMPlexTransformGetSubcellOrientation_Extrude()