petsc-master 2019-11-16
Report Typos and Errors

DMPlexIsInterpolated

Find out whether this DM is interpolated, i.e. number of strata is equal to dimension.

Synopsis

#include "petscdmplex.h"   
PetscErrorCode DMPlexIsInterpolated(DM dm, DMPlexInterpolatedFlag *interpolated)
Not Collective

Input Parameter

dm -The DM object

Output Parameter

interpolated -Flag whether the DM is interpolated

Notes

This is NOT collective so the results can be different on different ranks in special cases. However, DMPlexInterpolate() guarantees the result is the same on all. Unlike DMPlexIsInterpolatedCollective(), this cannot return DMPLEX_INTERPOLATED_MIXED.

See Also

DMPlexInterpolate(), DMPlexIsInterpolatedCollective()

Level

intermediate

Location

src/dm/impls/plex/plexinterpolate.c

Implementations

DMPlexIsInterpolated_Internal in src/dm/impls/plex/plexinterpolate.c

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