PCGASMSetUseDMSubdomains#
Indicates whether to use DMCreateDomainDecomposition()
to define the subdomains, whenever possible for PCGASM
Synopsis#
#include "petscpc.h"
PetscErrorCode PCGASMSetUseDMSubdomains(PC pc, PetscBool flg)
Logically Collective
Input Parameters#
pc - the preconditioner
flg - boolean indicating whether to use subdomains defined by the
DM
Options Database Key#
-pc_gasm_dm_subdomains - pc_gasm_overlap -pc_gasm_total_subdomains
Note#
PCGASMSetSubdomains()
, PCGASMSetTotalSubdomains()
or PCGASMSetOverlap()
take precedence over PCGASMSetUseDMSubdomains()
,
so setting PCGASMSetSubdomains()
with nontrivial subdomain ISs or any of PCGASMSetTotalSubdomains()
and PCGASMSetOverlap()
automatically turns the latter off.
See Also#
PCGASM
, PCGASMGetUseDMSubdomains()
, PCGASMSetSubdomains()
, PCGASMSetOverlap()
PCGASMCreateSubdomains2D()
Level#
intermediate
Location#
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages