petsc-3.13.6 2020-09-29
Report Typos and Errors

DMPlexInterpolate

Take in a cell-vertex mesh and return one with all intermediate faces, edges, etc.

Synopsis

#include "petscdmplex.h"   
PetscErrorCode DMPlexInterpolate(DM dm, DM *dmInt)
Collective on dm

Input Parameters

dm - The DMPlex object with only cells and vertices
dmInt - The interpolated DM

Output Parameter

dmInt -The complete DMPlex object

Notes

It does not copy over the coordinates.

Developer Notes

It sets plex->interpolated = DMPLEX_INTERPOLATED_FULL.

See Also

DMPlexUninterpolate(), DMPlexCreateFromCellList(), DMPlexCopyCoordinates()

Level

intermediate

Location

src/dm/impls/plex/plexinterpolate.c

Examples

src/dm/impls/plex/tutorials/ex3f90.F90.html

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