MeshSetMaxDof

Sets the maximum number of degrees of freedom on any sieve point

Synopsis

#include "petscmesh.h"   
PetscErrorCode MeshSetMaxDof(Mesh mesh, PetscInt maxDof)
Collective on A

Input Parameters

A - the matrix
mesh - Mesh needed for orderings
section - A Section which describes the layout
e - The element number
v - The values
mode - either ADD_VALUES or INSERT_VALUES, where ADD_VALUES adds values to any existing entries, and INSERT_VALUES replaces existing entries with new values

Notes: This is used by routines like updateOperator() to bound buffer sizes

See Also

updateOperator(), assembleMatrix()

Level:developer
Location:
src/dm/mesh/mesh.c
Index of all Mesh routines
Table of Contents for all manual pages
Index of all manual pages