Searched refs:trialCoords (Results 1 – 1 of 1) sorted by relevance
6911 float *trialCoords = NULL; in DMPlexCreateSTLFromFile() local6936 PetscCall(PetscMalloc1(Nc * 9, &trialCoords)); in DMPlexCreateSTLFromFile()6942 PetscCall(PetscViewerRead(viewer, &trialCoords[c * 9 + 0], 9, NULL, PETSC_FLOAT)); in DMPlexCreateSTLFromFile()6943 PetscCall(PetscByteSwap(&trialCoords[c * 9 + 0], PETSC_FLOAT, 9)); in DMPlexCreateSTLFromFile()6962 …if (trialCoords[v * 3 + 0] == trialCoords[w * 3 + 0] && trialCoords[v * 3 + 1] == trialCoords[w * … in DMPlexCreateSTLFromFile()7009 for (PetscInt d = 0; d < 3; ++d) coords[nv * 3 + d] = trialCoords[tv * 3 + d]; in DMPlexCreateSTLFromFile()7014 PetscCall(PetscFree(trialCoords)); in DMPlexCreateSTLFromFile()