PETSc version 3.17.0
Fix/Edit manual page

# DMPlexComputeProjection2Dto1D

Rewrite coordinates to be the 1D projection of the 2D coordinates

### Synopsis

    #include "petscdmplex.h"
    #include "petscfe.h"
    PetscErrorCode DMPlexComputeProjection2Dto1D(PetscScalar coords[], PetscReal R[])

Not collective

### Input/Output Parameter

| coords | - The coordinates of a segment, on output the new y-coordinate, and 0 for x

### Output Parameter

| R | - The rotation which accomplishes the projection

### See Also

DMPlexComputeProjection3Dto1D(), DMPlexComputeProjection3Dto2D()

### Level

developer

### Location

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