petsc-3.12.5 2020-03-29
Report Typos and Errors

DMPlexCreateRigidBodies

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

Synopsis

#include "petscdmplex.h"   
PetscErrorCode DMPlexCreateRigidBodies(DM dm, PetscInt nb, DMLabel label, const PetscInt nids[], const PetscInt ids[], MatNullSpace *sp)
Collective on dm

Input Arguments

dm - the DM
nb - The number of bodies
label - The DMLabel marking each domain
nids - The number of ids per body
ids - An array of the label ids in sequence for each domain

Output Argument

sp -the null space

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

See Also

MatNullSpaceCreate()

Level

advanced

Location

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