DMPlexBuildCoordinatesFromCellList#

Build DM coordinates from a list of coordinates for each owned vertex (common mesh generator output)

Synopsis#

#include "petscdmplex.h"   
#include "petscdmplex.h"   
PetscErrorCode DMPlexBuildCoordinatesFromCellList(DM dm, PetscInt spaceDim, const PetscReal vertexCoords[])

Collective on dm

Input Parameters#

  • dm - The DM

  • spaceDim - The spatial dimension used for coordinates

  • vertexCoords - An array of numVertices*spaceDim numbers, the coordinates of each vertex

Fortran Note#

Not currently supported in Fortran.

See Also#

DMPlex: Unstructured Grids in PETSc, DM, DMPLEX, DMPlexBuildCoordinatesFromCellListParallel(), DMPlexCreateFromCellListPetsc(), DMPlexBuildFromCellList()

Level#

advanced

Location#

src/dm/impls/plex/plexcreate.c


Edit on GitLab

Index of all DMPlex routines
Table of Contents for all manual pages
Index of all manual pages