Lines Matching refs:tcoords
1145 double tcoords[3]; in DMPlexView_Ascii() local
1278 tcoords[d] = (double)(scale * PetscRealPart(coords[off + d])); in DMPlexView_Ascii()
1279 tcoords[d] = PetscAbs(tcoords[d]) < 1e-10 ? 0.0 : tcoords[d]; in DMPlexView_Ascii()
1283 PetscReal tmp = tcoords[1]; in DMPlexView_Ascii()
1284 tcoords[1] = tcoords[2]; in DMPlexView_Ascii()
1285 tcoords[2] = -tmp; in DMPlexView_Ascii()
1289 PetscCall(PetscViewerASCIISynchronizedPrintf(viewer, "%g", tcoords[d])); in DMPlexView_Ascii()
1327 tcoords[d] = (double)(scale * PetscRealPart(coords[offA + d] + coords[offB + d]) / 2); in DMPlexView_Ascii()
1328 tcoords[d] = PetscAbs(tcoords[d]) < 1e-10 ? 0.0 : tcoords[d]; in DMPlexView_Ascii()
1332 PetscReal tmp = tcoords[1]; in DMPlexView_Ascii()
1333 tcoords[1] = tcoords[2]; in DMPlexView_Ascii()
1334 tcoords[2] = -tmp; in DMPlexView_Ascii()
1338 PetscCall(PetscViewerASCIISynchronizedPrintf(viewer, "%g", tcoords[d])); in DMPlexView_Ascii()
1442 tcoords[d] = (double)(scale * PetscRealPart(cellCoords[p * cdim + d])); in DMPlexView_Ascii()
1443 tcoords[d] = PetscAbs(tcoords[d]) < 1e-10 ? 0.0 : tcoords[d]; in DMPlexView_Ascii()
1447 PetscReal tmp = tcoords[1]; in DMPlexView_Ascii()
1448 tcoords[1] = tcoords[2]; in DMPlexView_Ascii()
1449 tcoords[2] = -tmp; in DMPlexView_Ascii()
1451 for (d = 0; d < dim; ++d) ccoords[d] += tcoords[d]; in DMPlexView_Ascii()