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

DMPlexIsInterpolatedCollective

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

Synopsis

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

Input Parameter

dm -The DM object

Output Parameter

interpolated -Flag whether the DM is interpolated

Notes

This is collective so the results are always guaranteed to be the same on all ranks. Unlike DMPlexIsInterpolated(), this will return DMPLEX_INTERPOLATED_MIXED if the results of DMPlexIsInterpolated() are different on different ranks.

See Also

DMPlexInterpolate(), DMPlexIsInterpolated()

Level

intermediate

Location

src/dm/impls/plex/plexinterpolate.c
Index of all DMPLEX routines
Table of Contents for all manual pages
Index of all manual pages