Package petsc4py :: Module PETSc

[hide private]
[frames] | no frames]

# Module PETSc

Portable, Extensible Toolkit for Scientific Computation

Classes | [hide private]

AO
Comm
DA
DM
DMComposite
DMDA
DMPlex
DMShell
DMStag
DS
Error
IS
InsertMode
KSP
LGMap
Log
LogClass
LogEvent
LogStage
Mat
NormType
NullSpace
Object
Options Options(prefix=None)
PC
Partitioner
PartitionerType
Random
SF
SNES
Scatter
ScatterMode
Section
Sys
TAO TAO Solver
TS
Vec
Viewer
ViewerHDF5
_DMComposite_access
_DMDA_Vec_array
_IS_buffer
_Mat_Stencil
_Vec_LocalForm _Vec_LocalForm(Vec gvec) Context manager for Vec local form
_Vec_buffer

Functions | [hide private]

_finalize() |

_initialize(args=None, comm=None) |

Variables | [hide private]

| COMM_NULL = `<petsc4py.PETSc.Comm object at 0x7efc22899f50>`
| COMM_SELF = `<petsc4py.PETSc.Comm object at 0x7efc22899f90>`
| COMM_WORLD = `<petsc4py.PETSc.Comm object at 0x7efc22899fd0>`
| DECIDE = `-1`
| DEFAULT = `-2`
| DETERMINE = `-1`
| INFINITY = `4.49423283716e+307`
| NINFINITY = `-4.49423283716e+307`
| PINFINITY = `4.49423283716e+307`
| __arch__ = ``'``arch-linux2-c-debug``'``
| __package__ = ``'``petsc4py``'``
| __pyx_capi__ = ``{``'``GetComm``'``:` <capsule object "MPI_Comm (PyObject`...``
| __type_registry__ = ``{`0`:` None`,` 1211212`:` <type 'petsc4py.PETSc.O`...``

Variables Details | [hide private]

### __pyx_capi__

Value:

      {'GetComm': <capsule object "MPI_Comm (PyObject *, MPI_Comm)" at 0x7ef
      cc6c29fc0>,
       'GetCommDefault': <capsule object "MPI_Comm (void)" at 0x7efcc6c2c060
      >,
       'PyPetscAO_Get': <capsule object "AO (PyObject *)" at 0x7efcc6c2c7b0>
      ,
       'PyPetscAO_New': <capsule object "PyObject *(AO)" at 0x7efcc6c2c780>,
       'PyPetscComm_Get': <capsule object "MPI_Comm (PyObject *)" at 0x7efcc
      ...

### __type_registry__

Value:

      {0: None,
       1211212: <type 'petsc4py.PETSc.Object'>,
       1211220: <type 'petsc4py.PETSc.Viewer'>,
       1211221: <type 'petsc4py.PETSc.Random'>,
       1211222: <type 'petsc4py.PETSc.IS'>,
       1211223: <type 'petsc4py.PETSc.LGMap'>,
       1211224: <type 'petsc4py.PETSc.Section'>,
       1211226: <type 'petsc4py.PETSc.AO'>,
      ...