Lines Matching refs:vtxCoords

3839   PetscReal          *vtxCoords  = NULL;  in DMPlexCreateTPSMesh_Internal()  local
3862 PetscCall(PetscMalloc1(3 * numVertices, &vtxCoords)); in DMPlexCreateTPSMesh_Internal()
3872 vtxCoords[vcount++] = (2 * i - 1) * L; in DMPlexCreateTPSMesh_Internal()
3873 vtxCoords[vcount++] = 2 * j * L + PetscCosReal((2 * l + 1) * PETSC_PI / 4) * L / 2; in DMPlexCreateTPSMesh_Internal()
3874 vtxCoords[vcount++] = 2 * k * L + PetscSinReal((2 * l + 1) * PETSC_PI / 4) * L / 2; in DMPlexCreateTPSMesh_Internal()
3884 vtxCoords[vcount++] = 2 * i * L + PetscSinReal((2 * l + 1) * PETSC_PI / 4) * L / 2; in DMPlexCreateTPSMesh_Internal()
3885 vtxCoords[vcount++] = (2 * j - 1) * L; in DMPlexCreateTPSMesh_Internal()
3886 vtxCoords[vcount++] = 2 * k * L + PetscCosReal((2 * l + 1) * PETSC_PI / 4) * L / 2; in DMPlexCreateTPSMesh_Internal()
3896 vtxCoords[vcount++] = 2 * i * L + PetscCosReal((2 * l + 1) * PETSC_PI / 4) * L / 2; in DMPlexCreateTPSMesh_Internal()
3897 vtxCoords[vcount++] = 2 * j * L + PetscSinReal((2 * l + 1) * PETSC_PI / 4) * L / 2; in DMPlexCreateTPSMesh_Internal()
3898 vtxCoords[vcount++] = (2 * k - 1) * L; in DMPlexCreateTPSMesh_Internal()
3913 vtxCoords[vcount++] = 2 * i * L + (2 * ii - 1) * Ls; in DMPlexCreateTPSMesh_Internal()
3914 vtxCoords[vcount++] = 2 * j * L + (2 * jj - 1) * Ls; in DMPlexCreateTPSMesh_Internal()
3915 vtxCoords[vcount++] = 2 * k * L + (2 * kk - 1) * Ls; in DMPlexCreateTPSMesh_Internal()
4193 PetscCall(PetscMalloc1(numVertices * 3, &vtxCoords)); in DMPlexCreateTPSMesh_Internal()
4206 for (PetscInt d = 0; d < 3; d++) vtxCoords[3 * thisVert + d] = patternCoords[v][d]; in DMPlexCreateTPSMesh_Internal()
4207 vtxCoords[3 * thisVert + 0] += i * 2; in DMPlexCreateTPSMesh_Internal()
4208 vtxCoords[3 * thisVert + 1] += j * 2; in DMPlexCreateTPSMesh_Internal()
4209 vtxCoords[3 * thisVert + 2] += k * 2; in DMPlexCreateTPSMesh_Internal()
4227 const PetscReal *evCoords[] = {&vtxCoords[3 * ev[0]], &vtxCoords[3 * ev[1]]}; in DMPlexCreateTPSMesh_Internal()
4242 const PetscReal *evCoords[] = {&vtxCoords[3 * ev[0]], &vtxCoords[3 * ev[1]]}; in DMPlexCreateTPSMesh_Internal()
4275 if (rank == 0) PetscCall(DMPlexBuildCoordinatesFromCellList(dm, spaceDim, vtxCoords)); in DMPlexCreateTPSMesh_Internal()
4277 PetscCall(PetscFree(vtxCoords)); in DMPlexCreateTPSMesh_Internal()