petsc-3.14.6 2021-03-30
Report Typos and Errors

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 DM
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

DMPlexRemapGeometry()

Level

intermediate

Location

src/dm/impls/plex/plexgeometry.c

Examples

src/snes/tutorials/ex17.c.html

Index of all DMPLEX routines
Table of Contents for all manual pages
Index of all manual pages