Lines Matching refs:voffset
719 PetscInt voffset, iface = 0, cone[4]; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal() local
747 voffset = numFaces + vertices[0] * vertices[1] * (vertices[2] - 1) + vy * vertices[0] + vx; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
748 cone[0] = voffset; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
749 cone[1] = voffset + 1; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
750 cone[2] = voffset + vertices[0] + 1; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
751 cone[3] = voffset + vertices[0]; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
754 PetscCall(DMSetLabelValue(dm, "marker", voffset + 0, markerTop)); in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
755 PetscCall(DMSetLabelValue(dm, "marker", voffset + 1, markerTop)); in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
756 PetscCall(DMSetLabelValue(dm, "marker", voffset + vertices[0] + 0, markerTop)); in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
757 PetscCall(DMSetLabelValue(dm, "marker", voffset + vertices[0] + 1, markerTop)); in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
765 voffset = numFaces + vy * (faces[0] + 1) + vx; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
766 cone[0] = voffset + 1; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
767 cone[1] = voffset; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
768 cone[2] = voffset + vertices[0]; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
769 cone[3] = voffset + vertices[0] + 1; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
772 PetscCall(DMSetLabelValue(dm, "marker", voffset + 0, markerBottom)); in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
773 PetscCall(DMSetLabelValue(dm, "marker", voffset + 1, markerBottom)); in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
774 PetscCall(DMSetLabelValue(dm, "marker", voffset + vertices[0] + 0, markerBottom)); in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
775 PetscCall(DMSetLabelValue(dm, "marker", voffset + vertices[0] + 1, markerBottom)); in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
783 voffset = numFaces + vz * vertices[0] * vertices[1] + vx; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
784 cone[0] = voffset; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
785 cone[1] = voffset + 1; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
786 cone[2] = voffset + vertices[0] * vertices[1] + 1; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
787 cone[3] = voffset + vertices[0] * vertices[1]; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
790 PetscCall(DMSetLabelValue(dm, "marker", voffset + 0, markerFront)); in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
791 PetscCall(DMSetLabelValue(dm, "marker", voffset + 1, markerFront)); in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
792 … PetscCall(DMSetLabelValue(dm, "marker", voffset + vertices[0] * vertices[1] + 0, markerFront)); in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
793 … PetscCall(DMSetLabelValue(dm, "marker", voffset + vertices[0] * vertices[1] + 1, markerFront)); in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
801 voffset = numFaces + vz * vertices[0] * vertices[1] + vertices[0] * (vertices[1] - 1) + vx; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
802 cone[0] = voffset + vertices[0] * vertices[1]; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
803 cone[1] = voffset + vertices[0] * vertices[1] + 1; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
804 cone[2] = voffset + 1; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
805 cone[3] = voffset; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
808 PetscCall(DMSetLabelValue(dm, "marker", voffset + 0, markerBack)); in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
809 PetscCall(DMSetLabelValue(dm, "marker", voffset + 1, markerBack)); in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
810 … PetscCall(DMSetLabelValue(dm, "marker", voffset + vertices[0] * vertices[1] + 0, markerBack)); in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
811 … PetscCall(DMSetLabelValue(dm, "marker", voffset + vertices[0] * vertices[1] + 1, markerBack)); in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
819 voffset = numFaces + vz * vertices[0] * vertices[1] + vy * vertices[0]; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
820 cone[0] = voffset; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
821 cone[1] = voffset + vertices[0] * vertices[1]; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
822 cone[2] = voffset + vertices[0] * vertices[1] + vertices[0]; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
823 cone[3] = voffset + vertices[0]; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
826 PetscCall(DMSetLabelValue(dm, "marker", voffset + 0, markerLeft)); in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
827 PetscCall(DMSetLabelValue(dm, "marker", voffset + vertices[0] + 0, markerLeft)); in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
828 PetscCall(DMSetLabelValue(dm, "marker", voffset + vertices[1] + 0, markerLeft)); in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
829 …PetscCall(DMSetLabelValue(dm, "marker", voffset + vertices[0] * vertices[1] + vertices[0], markerL… in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
837 voffset = numFaces + vz * vertices[0] * vertices[1] + vy * vertices[0] + faces[0]; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
838 cone[0] = voffset + vertices[0] * vertices[1]; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
839 cone[1] = voffset; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
840 cone[2] = voffset + vertices[0]; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
841 cone[3] = voffset + vertices[0] * vertices[1] + vertices[0]; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
844 PetscCall(DMSetLabelValue(dm, "marker", voffset + 0, markerRight)); in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
845 PetscCall(DMSetLabelValue(dm, "marker", voffset + vertices[0] + 0, markerRight)); in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
846 … PetscCall(DMSetLabelValue(dm, "marker", voffset + vertices[0] * vertices[1] + 0, markerRight)); in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
847 …PetscCall(DMSetLabelValue(dm, "marker", voffset + vertices[0] * vertices[1] + vertices[0], markerR… in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()