DMPlexSetCoordinateMap#

Sets the function used to map coordinates of newly generated mesh points

Synopsis#

#include "petscdmplex.h"   
#include "petscfe.h"       
PetscErrorCode DMPlexSetCoordinateMap(DM dm, PetscPointFunc coordFunc)

Logically Collective

Input Parameters#

  • dm - the DMPLEX

  • coordFunc - the mapping function

Note#

This function maps from the gnerated coordinate for the new point to the actual coordinate. Thus it is only practical for manifolds with a nice analytical definition that you can get to from any starting point, like a sphere,

See Also#

DMPLEX, DMSetCoordinates(), DMPlexGetCoordinateMap()

Level#

developer

Location#

src/dm/impls/plex/plexgeometry.c


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