#include "petscdmplex.h" PetscErrorCode DMPlexCreateRigidBodies(DM dm, PetscInt nb, DMLabel label, const PetscInt nids[], const PetscInt ids[], MatNullSpace *sp)Collective on DM
| 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 |
Note: This is necessary to provide a suitable coarse space for algebraic multigrid