Home
last modified time | relevance | path

Searched refs:onew (Results 1 – 9 of 9) 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
74 *onew = o; in DMPlexTransformGetSubcellOrientation_ToBox()
83 … PetscCall(DMPlexTransformGetSubcellOrientation_Regular(tr, sct, sp, so, tct, r, o, rnew, onew)); in DMPlexTransformGetSubcellOrientation_ToBox()
91 *onew = DMPolytopeTypeComposeOrientation(tct, o, tri_seg[(so + 3) * 6 + r * 2 + 1]); in DMPlexTransformGetSubcellOrientation_ToBox()
95 *onew = DMPolytopeTypeComposeOrientation(tct, o, tri_quad[(so + 3) * 6 + r * 2 + 1]); in DMPlexTransformGetSubcellOrientation_ToBox()
106 *onew = DMPolytopeTypeComposeOrientation(tct, o, tseg_seg[(so + 2) * 2 + r * 2 + 1]); in DMPlexTransformGetSubcellOrientation_ToBox()
110 *onew = DMPolytopeTypeComposeOrientation(tct, o, tseg_quad[(so + 2) * 4 + r * 2 + 1]); in DMPlexTransformGetSubcellOrientation_ToBox()
122 *onew = DMPolytopeTypeComposeOrientation(tct, o, tet_seg[(so + 12) * 8 + r * 2 + 1]); in DMPlexTransformGetSubcellOrientation_ToBox()
126 *onew = DMPolytopeTypeComposeOrientation(tct, o, tet_quad[(so + 12) * 12 + r * 2 + 1]); in DMPlexTransformGetSubcellOrientation_ToBox()
130 *onew = DMPolytopeTypeComposeOrientation(tct, o, tet_hex[(so + 12) * 8 + r * 2 + 1]); 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
483 *onew = o; in DMPlexTransformGetSubcellOrientation_Regular()
489 *onew = so < 0 ? -(o + 1) : o; in DMPlexTransformGetSubcellOrientation_Regular()
497 *onew = DMPolytopeTypeComposeOrientation(tct, o, seg_seg[(so + 1) * 4 + r * 2 + 1]); in DMPlexTransformGetSubcellOrientation_Regular()
507 *onew = DMPolytopeTypeComposeOrientation(tct, o, tri_seg[(so + 3) * 6 + r * 2 + 1]); in DMPlexTransformGetSubcellOrientation_Regular()
511 *onew = DMPolytopeTypeComposeOrientation(tct, o, tri_tri[(so + 3) * 8 + r * 2 + 1]); in DMPlexTransformGetSubcellOrientation_Regular()
523 *onew = DMPolytopeTypeComposeOrientation(tct, o, quad_seg[(so + 4) * 8 + r * 2 + 1]); in DMPlexTransformGetSubcellOrientation_Regular()
527 *onew = DMPolytopeTypeComposeOrientation(tct, o, quad_quad[(so + 4) * 8 + r * 2 + 1]); in DMPlexTransformGetSubcellOrientation_Regular()
537 *onew = DMPolytopeTypeComposeOrientation(tct, o, tseg_seg[(so + 2) * 2 + r * 2 + 1]); in DMPlexTransformGetSubcellOrientation_Regular()
541 *onew = DMPolytopeTypeComposeOrientation(tct, o, tseg_tseg[(so + 2) * 4 + r * 2 + 1]); 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
52 *onew = o; in DMPlexTransformGetSubcellOrientation_Alfeld()
62 *onew = DMPolytopeTypeComposeOrientation(tct, o, tri_seg[(so + 3) * 6 + r * 2 + 1]); in DMPlexTransformGetSubcellOrientation_Alfeld()
66 *onew = DMPolytopeTypeComposeOrientation(tct, o, tri_tri[(so + 3) * 6 + r * 2 + 1]); in DMPlexTransformGetSubcellOrientation_Alfeld()
77 *onew = DMPolytopeTypeComposeOrientation(tct, o, tet_seg[(so + 12) * 8 + r * 2 + 1]); in DMPlexTransformGetSubcellOrientation_Alfeld()
81 *onew = DMPolytopeTypeComposeOrientation(tct, o, tet_tri[(so + 12) * 12 + r * 2 + 1]); in DMPlexTransformGetSubcellOrientation_Alfeld()
85 *onew = DMPolytopeTypeComposeOrientation(tct, o, tet_tet[(so + 12) * 8 + r * 2 + 1]); 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
46 *onew = o; 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
413 *onew = o; in DMPlexTransformGetSubcellOrientation_BL()
419 … PetscCall(DMPlexTransformGetSubcellOrientationIdentity(tr, sct, sp, so, tct, r, o, rnew, onew)); in DMPlexTransformGetSubcellOrientation_BL()
432 *onew = o; in DMPlexTransformGetSubcellOrientation_BL()
435 *onew = -(o + 1); in DMPlexTransformGetSubcellOrientation_BL()
444 *onew = (so == 0) || (so == 1) ? o : -(o + 1); in DMPlexTransformGetSubcellOrientation_BL()
448 *onew = tquad_tquad_o[(so + 2) * 4 + o + 2]; 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
280 *onew = o; in DMPlexTransformGetSubcellOrientation_SBR()
304 *onew = so < 0 ? -(o + 1) : o; 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/dm/impls/plex/transform/impls/extrude/
H A Dplextrextrude.c630 …tscInt sp, PetscInt so, DMPolytopeType tct, PetscInt r, PetscInt o, PetscInt *rnew, PetscInt *onew) in DMPlexTransformGetSubcellOrientation_Extrude() argument
639 *onew = DMPolytopeTypeComposeOrientation(tct, o, so); in DMPlexTransformGetSubcellOrientation_Extrude()
676 …*onew = onBd ? DMPolytopeTypeComposeOrientation(tct, o, so ? 0 : -1) : DMPolytopeTypeComposeOrient… in DMPlexTransformGetSubcellOrientation_Extrude()
688 …*onew = onBd ? DMPolytopeTypeComposeOrientation(tct, o, so ? 0 : -1) : DMPolytopeTypeComposeOrient… in DMPlexTransformGetSubcellOrientation_Extrude()
699 …*onew = onBd ? DMPolytopeTypeComposeOrientation(tct, o, so ? 0 : -1) : DMPolytopeTypeComposeOrient… in DMPlexTransformGetSubcellOrientation_Extrude()
717 …*onew = onBd ? DMPolytopeTypeComposeOrientation(tct, o, so ? 0 : -3) : DMPolytopeTypeComposeOrient… in DMPlexTransformGetSubcellOrientation_Extrude()
728 …*onew = onBd ? DMPolytopeTypeComposeOrientation(tct, o, so ? 0 : -1) : DMPolytopeTypeComposeOrient… in DMPlexTransformGetSubcellOrientation_Extrude()
739 …*onew = onBd ? DMPolytopeTypeComposeOrientation(tct, o, so ? 0 : -1) : DMPolytopeTypeComposeOrient… in DMPlexTransformGetSubcellOrientation_Extrude()
H A Dplextrcohesive.c844 …tscInt sp, PetscInt so, DMPolytopeType tct, PetscInt r, PetscInt o, PetscInt *rnew, PetscInt *onew) in DMPlexTransformGetSubcellOrientation_Cohesive() argument
852 *onew = DMPolytopeTypeComposeOrientation(tct, o, so); in DMPlexTransformGetSubcellOrientation_Cohesive()
867 *onew = DMPolytopeTypeComposeOrientation(tct, o, so ? -1 : 0); in DMPlexTransformGetSubcellOrientation_Cohesive()
890 *onew = DMPolytopeTypeComposeOrientation(tct, o, so ? -3 : 0); in DMPlexTransformGetSubcellOrientation_Cohesive()
/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
1209 *onew = DMPolytopeTypeComposeOrientation(tct, o, so); 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()