petsc-3.3-p7 2013-05-11

DMComplexGetLabelSize

Get the number of different integer ids in a Label

Synopsis

#include "petscdmcomplex.h"   
PetscErrorCode DMComplexGetLabelSize(DM dm, const char name[], PetscInt *size)
Not Collective

Input Parameters

dm - The DMComplex object
name - The label name

Output Parameter

size -The label size (number of different integer ids)

Keywords

mesh

See Also

DMComplexSetLabelValue()

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

Examples

src/snes/examples/tutorials/ex62.c.html