petsc4py.PETSc#
Portable, Extensible Toolkit for Scientific Computation.
Basic constants:
DECIDE
DEFAULT
Use a default value chosen by PETSc.
DETERMINE
Compute a default value for an
int
orfloat
parameter. For tolerances this uses the default value from when the object’s type was set.CURRENT
Do not change the current value that is set.
UNLIMITED
For a parameter that is a bound, such as the maximum number of iterations, do not bound the value.
More constants:
INFINITY
Very large real value.
NINFINITY
Very large negative real value.
PINFINITY
Very large positive real value, same as
INFINITY
.
Classes
Application ordering object. |
|
Communicator object. |
|
An object describing a computational grid or mesh. |
|
A DM object that is used to manage data for a collection of DMs. |
|
A DM object that is used to manage data for a structured grid. |
|
Interpolation on a mesh. |
|
An object representing a subset of mesh entities from a |
|
Encapsulate an unstructured mesh. |
|
Mesh transformations. |
|
Transformation types. |
|
A shell DM object, used to manage user-defined problem data. |
|
A DM object representing a "staggered grid" or a structured cell complex. |
|
A |
|
Discrete System object. |
|
The device object. |
|
DeviceContext object. |
|
Dual space to a linear space. |
|
A PETSc object that manages a finite element space. |
|
A collection of indices. |
|
Insertion mode. |
|
Abstract PETSc object that manages all Krylov methods. |
|
Mapping from a local to a global ordering. |
|
Logging support. |
|
Logging support. |
|
Logging support. |
|
Logging support for different stages. |
|
Matrix object. |
|
Object for managing the partitioning of a matrix or graph. |
|
Norm type. |
|
Nullspace object. |
|
Base class wrapping a PETSc object. |
|
The options database object. |
|
Preconditioners. |
|
A graph partitioner. |
|
Quadrature rule for integration. |
|
The random number generator object. |
|
Star Forest object for communication. |
|
Nonlinear equations solver. |
|
Scatter object. |
|
Scatter mode. |
|
Mapping from integers in a range to unstructured set of integers. |
|
Function space object. |
|
System utilities. |
|
Optimization solver. |
|
TAO Line Search. |
|
ODE integrator. |
|
A vector object. |
|
Viewer object. |
|
Viewer object for HDF5 file formats. |
Exceptions
PETSc Error. |
Functions
|
Clean up unused PETSc objects. |
|
Print summary of the garbage PETSc objects. |
Attributes
Constant |
|
Constant |
|
Constant |
|
Constant |
|
Constant |
|
Object |
|
Object |
|
Object |
|
Object |
|
Object |
|
Object |