PCASMWeightedComputeScalingFn#
Computes the weights for one overlapping ASM subdomain.
Synopsis#
PETSC_EXTERN_TYPEDEF typedef PetscErrorCode PCASMWeightedComputeScalingFn(PC pc, PetscInt local, Vec scaling, PetscCtx ctx);
Calling Sequence#
pc - the
PCASMpreconditioner ofPCASMTypePC_ASM_WEIGHTEDlocal - zero-based local subdomain number
scaling - vector to fill, in the ordering returned by
PCASMGetLocalSubdomains()ctx - context supplied to
PCASMWeightedSetComputeScaling()
Note#
Fill every entry of scaling without destroying it. The number of local subdomains may differ
between processes, so the callback must not perform collective operations on the communicator of pc.
See Also#
KSP: Linear System Solvers, PCASM, PCASMWeightedSetComputeScaling(), PCASMWeightedSetScaling()
Level#
intermediate
Location#
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages