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

DMPlexCreateRigidBody

For the default global section, create rigid body modes by function space interpolation

Synopsis

#include "petscdmplex.h"   
PetscErrorCode DMPlexCreateRigidBody(DM dm, PetscInt field, MatNullSpace *sp)
Collective on dm

Input Arguments

dm - the DM
field - The field number for the rigid body space, or 0 for the default

Output Argument

sp - the null space

Note: This is necessary to provide a suitable coarse space for algebraic multigrid

See Also

MatNullSpaceCreate(), PCGAMG

Level

advanced

Location

src/dm/impls/plex/plexfem.c

Examples

src/snes/tutorials/ex17.c.html
src/snes/tutorials/ex56.c.html
src/snes/tutorials/ex77.c.html

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