Lines Matching refs:sdim
279 PetscInt dim, sdim, dof = 0, off = 0, i, q, vStart, vEnd, numPoints, *points = NULL; in DMPlexGetPointMFEMVertexIDs_Internal() local
284 sdim = dim; in DMPlexGetPointMFEMVertexIDs_Internal()
288 PetscCall(DMGetCoordinateDim(dm, &sdim)); in DMPlexGetPointMFEMVertexIDs_Internal()
291 off = off / sdim; in DMPlexGetPointMFEMVertexIDs_Internal()
302 for (q = 0; q < dof / sdim; q++) vids[q] = off / sdim + q; in DMPlexGetPointMFEMVertexIDs_Internal()
456 PetscInt bf, p, sdim, dim, depth, novl, minl; in DMPlexView_GLVis_ASCII() local
533 PetscCall(DMGetCoordinateDim(dm, &sdim)); in DMPlexView_GLVis_ASCII()
626 PetscCall(PetscViewerASCIIPrintf(viewer, "%" PetscInt_FMT "\n", sdim)); in DMPlexView_GLVis_ASCII()
692 PetscCall(VecCreateSeq(PETSC_COMM_SELF, (cEnd - cStart - novl) * vpc * sdim, &hovec)); in DMPlexView_GLVis_ASCII()
702 …sdim || csize == vpc * sdim * 2, PETSC_COMM_SELF, PETSC_ERR_SUP, "Unsupported closure size %" Pets… in DMPlexView_GLVis_ASCII()
704 for (d = 0; d < sdim; d++) ptr[sdim * dof[v] + d] = vals[sdim * vids[v] + d]; in DMPlexView_GLVis_ASCII()
706 ptr += vpc * sdim; in DMPlexView_GLVis_ASCII()
788 …of % sdim == 0, PETSC_COMM_SELF, PETSC_ERR_USER, "Incompatible number of cell dofs %" PetscInt_FMT… in DMPlexView_GLVis_ASCII()
802 for (s = 0; s < sdim; s++) { in DMPlexView_GLVis_ASCII()
803 …if (PetscAbsScalar(vals[v * sdim + s] - valsCell[v * sdim + s]) > PETSC_MACHINE_EPSILON) PetscCall… in DMPlexView_GLVis_ASCII()
1129 PetscCall(PetscViewerASCIIPrintf(viewer, "VDim: %" PetscInt_FMT "\n", sdim)); in DMPlexView_GLVis_ASCII()
1141 …ize % sdim == 0, PETSC_COMM_SELF, PETSC_ERR_USER, "Size of closure %" PetscInt_FMT " incompatible … in DMPlexView_GLVis_ASCII()
1142 for (i = 0; i < csize / sdim; i++) { in DMPlexView_GLVis_ASCII()
1143 …for (s = 0; s < sdim; s++) PetscCall(PetscViewerASCIIPrintf(viewer, fmt, (double)PetscRealPart(val… in DMPlexView_GLVis_ASCII()
1151 …sdim == 0, PETSC_COMM_SELF, PETSC_ERR_USER, "Size of local coordinate vector %" PetscInt_FMT " inc… in DMPlexView_GLVis_ASCII()
1152 for (i = 0; i < n / sdim; i++) { in DMPlexView_GLVis_ASCII()
1153 …for (s = 0; s < sdim; s++) PetscCall(PetscViewerASCIIPrintf(viewer, fmt, (double)PetscRealPart(arr… in DMPlexView_GLVis_ASCII()
1161 PetscCall(PetscViewerASCIIPrintf(viewer, "%" PetscInt_FMT "\n", nvert / sdim)); in DMPlexView_GLVis_ASCII()
1162 PetscCall(PetscViewerASCIIPrintf(viewer, "%" PetscInt_FMT "\n", sdim)); in DMPlexView_GLVis_ASCII()
1164 for (p = 0; p < nvert / sdim; p++) { in DMPlexView_GLVis_ASCII()
1166 for (s = 0; s < sdim; s++) { in DMPlexView_GLVis_ASCII()
1167 PetscReal v = PetscRealPart(array[p * sdim + s]); in DMPlexView_GLVis_ASCII()