PCASMDestroySubdomains#
Destroys the index sets created with PCASMCreateSubdomains() or PCASMCreateSubdomains2D(). Should be called after setting subdomains with PCASMSetLocalSubdomains().
Synopsis#
#include "petscpc.h"
PetscErrorCode PCASMDestroySubdomains(PetscInt n, IS *is[], IS *is_local[])
Collective
Input Parameters#
n - the number of index sets
is - the array of index sets
is_local - the array of local index sets, can be
NULL
Note#
PCASMCreateSubdomains2D() also creates an array of non-overlapping local index sets, which must be passed as is_local.
PCASMCreateSubdomains() creates no local index sets, so pass NULL for is_local.
Fortran Note#
is cannot be PETSC_NULL_IS_POINTER. For arrays from PCASMCreateSubdomains2D(), pass the returned is_local;
for arrays from PCASMCreateSubdomains(), pass PETSC_NULL_IS_POINTER for is_local.
Developer Note#
The IS arguments should be a *[]
See Also#
KSP: Linear System Solvers, PCASM, PCASMCreateSubdomains(), PCASMCreateSubdomains2D(), PCASMSetLocalSubdomains()
Level#
advanced
Location#
Examples#
src/ksp/ksp/tutorials/ex19.c
src/ksp/ksp/tests/ex71f.F90
src/ksp/pc/tests/ex10f.F90
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages