petsc-3.7.7 2017-09-25
Report Typos and Errors

DMPlexGetJoin

Get an array for the join of the set of points

Synopsis

#include "petscdmplex.h"   
PetscErrorCode DMPlexGetJoin(DM dm, PetscInt numPoints, const PetscInt points[], PetscInt *numCoveredPoints, const PetscInt **coveredPoints)
Not Collective

Input Parameters

dm - The DMPlex object
numPoints - The number of input points for the join
points - The input points

Output Parameters

numCoveredPoints - The number of points in the join
coveredPoints - The points in the join

Note: Currently, this is restricted to a single level join

Fortran Notes

Since it returns an array, this routine is only available in Fortran 90, and you must include petsc.h90 in your code.

The numCoveredPoints argument is not present in the Fortran 90 binding since it is internal to the array.

Keywords

mesh

See Also

DMPlexRestoreJoin(), DMPlexGetMeet()

Level:intermediate
Location:
src/dm/impls/plex/plex.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/ts/examples/tutorials/ex11.c.html