Package petsc4py :: Module PETSc :: Class PC

[hide private]
[frames] | no frames]

# Class PC

Nested Classes | [hide private]

| ASMType
| CompositeType
| GAMGType
| GASMType
| MGCycleType
| MGType
| PatchConstructType
| SchurFactType
| SchurPreType
| Side
| Type

Instance Methods | [hide private]

__call__(...) <==> x(...) |

a new object with type S, a subtype of T

__new__(S, ...) |

addCompositePCType(self, pc_type) |

apply(self, Vec x, Vec y) |

applySymmetricLeft(self, Vec x, Vec y) |

applySymmetricRight(self, Vec x, Vec y) |

applyTranspose(self, Vec x, Vec y) |

create(self, comm=None) |

createPython(self, context=None, comm=None) |

destroy(self) |

getASMSubKSP(self) |

getCompositePC(self, n) |

getDM(self) |

getFactorMatrix(self) |

getFactorSolverType(self) |

getFieldSplitSchurGetSubKSP(self) |

getFieldSplitSubKSP(self) |

getHYPREType(self) |

getKSP(self) |

getMGCoarseSolve(self) |

getMGInterpolation(self, level) |

getMGLevels(self) |

getMGRScale(self, level) |

getMGRestriction(self, level) |

getMGSmoother(self, level) |

getMGSmootherDown(self, level) |

getMGSmootherUp(self, level) |

getMGType(self) |

getOperators(self) |

getOptionsPrefix(self) |

getPythonContext(self) |

getType(self) |

reset(self) |

setASMLocalSubdomains(self, nsd, is_=None, is_local=None) |

setASMOverlap(self, overlap) |

setASMTotalSubdomains(self, nsd, is_=None, is_local=None) |

setASMType(self, asmtype) |

setBDDCChangeOfBasisMat(self, Mat T, interior=False) |

setBDDCCoarseningRatio(self, cratio) |

setBDDCDirichletBoundaries(self, IS bndr) |

setBDDCDirichletBoundariesLocal(self, IS bndr) |

setBDDCDiscreteGradient(self, Mat G, order=1, field=1, gord=True, conforming=True) |

setBDDCDivergenceMat(self, Mat div, trans=False, IS l2l=None) |

setBDDCDofsSplitting(self, isfields) |

setBDDCDofsSplittingLocal(self, isfields) |

setBDDCLevels(self, levels) |

setBDDCNeumannBoundaries(self, IS bndr) |

setBDDCNeumannBoundariesLocal(self, IS bndr) |

setBDDCPrimalVerticesIS(self, IS primv) |

setBDDCPrimalVerticesLocalIS(self, IS primv) |

setCompositeType(self, ctype) |

setCoordinates(self, coordinates) |

setDM(self, DM dm) |

setFactorLevels(self, levels) |

setFactorOrdering(self, ord_type=None, nzdiag=None, reuse=None) |

setFactorPivot(self, zeropivot=None, inblocks=None) |

setFactorSetUpSolverType(self) |

setFactorShift(self, shift_type=None, amount=None) |

setFactorSolverType(self, solver) |

setFieldSplitFields(self, bsize, *fields) |

setFieldSplitIS(self, *fields) |

setFieldSplitSchurFactType(self, ctype) |

setFieldSplitSchurPreType(self, ptype, Mat pre=None) |

setFieldSplitType(self, ctype) |

setFromOptions(self) |

setGAMGLevels(self, levels) |

setGAMGSmooths(self, smooths) |

setGAMGType(self, gamgtype) |

setGASMOverlap(self, overlap) |

setGASMType(self, gasmtype) |

setHYPREDiscreteCurl(self, Mat mat) |

setHYPREDiscreteGradient(self, Mat mat) |

setHYPRESetAlphaPoissonMatrix(self, Mat mat) |

setHYPRESetBetaPoissonMatrix(self, Mat mat=None) |

setHYPRESetEdgeConstantVectors(self, Vec ozz, Vec zoz, Vec zzo=None) |

setHYPREType(self, hypretype) |

setMGCycleType(self, cycle_type) |

setMGCycleTypeOnLevel(self, level, cycle_type) |

setMGInterpolation(self, level, Mat mat) |

setMGLevels(self, levels) |

setMGR(self, level, Vec r) |

setMGRScale(self, level, Vec rscale) |

setMGRestriction(self, level, Mat mat) |

setMGRhs(self, level, Vec rhs) |

setMGType(self, mgtype) |

setMGX(self, level, Vec x) |

setOperators(self, Mat A=None, Mat P=None) |

setOptionsPrefix(self, prefix) |

setPatchCellNumbering(self, Section sec) |

setPatchComputeFunction(self, function, args=None, kargs=None) |

setPatchComputeFunctionInteriorFacets(self, function, args=None, kargs=None) |

setPatchComputeOperator(self, operator, args=None, kargs=None) |

setPatchComputeOperatorInteriorFacets(self, operator, args=None, kargs=None) |

setPatchConstructType(self, typ, operator=None, args=None, kargs=None) |

setPatchDiscretisationInfo(self, dms, bs, cellNodeMaps, subspaceOffsets, ghostBcNodes, globalBcNodes) |

setPythonContext(self, context) |

setPythonType(self, py_type) |

setReusePreconditioner(self, flag) |

setType(self, pc_type) |

setUp(self) |

setUpOnBlocks(self) |

setUseAmat(self, flag) |

view(self, Viewer viewer=None) |

Inherited from `Object`: `__copy__`, `__deepcopy__`, `__eq__`, `__ge__`, `__gt__`, `__le__`, `__lt__`, `__ne__`, `__nonzero__`, `compose`, `decRef`, `getAttr`, `getClassId`, `getClassName`, `getComm`, `getDict`, `getName`, `getRefCount`, `getTabLevel`, `incRef`, `incrementTabLevel`, `query`, `setAttr`, `setName`, `setTabLevel`, `stateIncrease`, `viewFromOptions`

Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__init__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Properties | [hide private]

Inherited from `Object`: `classid`, `comm`, `fortran`, `handle`, `klass`, `name`, `prefix`, `refcount`, `type` Inherited from `object`: `__class__`

Method Details | [hide private]

### __new__(S, ...)

Returns: a new object with type S, a subtype of T
Overrides: object.__new__

### destroy(self)

Overrides: Object.destroy

### getOptionsPrefix(self)

Overrides: Object.getOptionsPrefix

### getType(self)

Overrides: Object.getType

### setFromOptions(self)

Overrides: Object.setFromOptions

### setOptionsPrefix(self, prefix)

Overrides: Object.setOptionsPrefix

### view(self, Viewer viewer=None)

Overrides: Object.view