Home
last modified time | relevance | path

Searched refs:vtxCoords (Results 1 – 1 of 1) sorted by relevance

/petsc/src/dm/impls/plex/
H A Dplexcreate.c3839 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()
[all …]