petsc-3.14.0 2020-09-29
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
Index of all DMPLEX routines
Table of Contents for all manual pages
Index of all manual pages