petsc-3.7.3 2016-08-01
Report Typos and Errors

DMSetCoordinateSection

Set the layout of coordinate values over the mesh.

Synopsis

#include "petscdm.h"          
#include "petscdmlabel.h"     
PetscErrorCode DMSetCoordinateSection(DM dm, PetscInt dim, PetscSection section)
Not Collective

Input Parameters

dm - The DM object
dim - The embedding dimension, or PETSC_DETERMINE
section - The PetscSection object

Keywords

mesh, coordinates

See Also

DMGetCoordinateSection(), DMGetDefaultSection(), DMSetDefaultSection()

Level:intermediate
Location:
src/dm/interface/dm.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/ts/examples/tutorials/ex11.c.html