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

PetscSFGetSubSF

Returns an SF for a specific subset of points. Leaves are re-numbered to reflect the new ordering.

Synopsis

#include "petscdmnetwork.h"  
PetscErrorCode PetscSFGetSubSF(PetscSF mastersf, ISLocalToGlobalMapping map, PetscSF *subSF)

Input Parameters

masterSF - the original SF structure
map - a ISLocalToGlobal mapping that contains the subset of points

Output Parameters

subSF - a subset of the masterSF for the desired subset.

Level

intermediate

Location

src/dm/impls/network/network.c
Index of all DMNetwork routines
Table of Contents for all manual pages
Index of all manual pages