petsc-3.7.1 2016-05-15
DMLabelSetValue
Set the value a label assigns to a point. If the value is the same as the label's default value (which is initially -1, and can be changed with DMLabelSetDefaultValue() to somethingg different), then this function will do nothing.
Synopsis
#include "petscdmlabel.h"
#include "petscis.h"
PetscErrorCode DMLabelSetValue(DMLabel label, PetscInt point, PetscInt value)
Input Parameters
| label | - the DMLabel Many br |
| point | - the point Many br |
| value | - The point value Many br |
Many br
See Also
DMLabelCreate(), DMLabelGetValue(), DMLabelClearValue(), DMLabelGetDefaultValue(), DMLabelSetDefaultValue()
Level:intermediate
Location:src/dm/labeldmlabel.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages