:orphan: # DMPlexShearGeometry This shears the domain, meaning adds a multiple of the shear coordinate to all other coordinates. ## Synopsis ``` #include "petscdmplex.h" #include "petscfe.h" PetscErrorCode DMPlexShearGeometry(DM dm, DMDirection direction, PetscReal multipliers[]) ``` Not Collective ## Input Parameters - ***dm -*** The `DMPLEX` - ***direction -*** The shear coordinate direction, e.g. 0 is the x-axis - ***multipliers -*** The multiplier m for each direction which is not the shear direction ## See Also `DMPLEX`, `DMPlexRemapGeometry()` ## Level intermediate ## Location src/dm/impls/plex/plexgeometry.c ## Examples src/snes/tutorials/ex13.c
src/snes/tutorials/ex17.c
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plexgeometry.c) [Index of all DMPlex routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)