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
  DMInterpolation
  DMLabel
  DMPlex
  DMShell
  DMStag
  DMSwarm
  DS
  DualSpace
  Error
  FE
  IS
  InsertMode
  KSP
  LGMap
  Log
  LogClass
  LogEvent
  LogStage
  Mat
  MatPartitioning
  NormType
  NullSpace
  Object
  Options
Options(prefix=None)
  PC
  Partitioner
  PartitionerType
  Quad
  Random
  SF
  SNES
  Scatter
  ScatterMode
  Section
  Space
  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)
 
_pop_python_vfprintf()
 
_pre_finalize()
 
_push_python_vfprintf()
 
_stdout_is_stderr()
 
garbage_cleanup(comm=None)
communicator is provided first clean up on PETSC_COMM_WORLD, then clean up on PETSC_COMM_SELF.
 
garbage_view(comm=None)
the communicator comm.
Variables [hide private]
  COMM_NULL = <petsc4py.PETSc.Comm object at 0x7fd88c1058d0>
  COMM_SELF = <petsc4py.PETSc.Comm object at 0x7fd88c105910>
  COMM_WORLD = <petsc4py.PETSc.Comm object at 0x7fd88c105950>
  DECIDE = -1
  DEFAULT = -2
  DETERMINE = -1
  INFINITY = 4.49423283716e+307
  NINFINITY = -4.49423283716e+307
  PINFINITY = 4.49423283716e+307
  __arch__ = 'arch-pydoc'
  __package__ = 'petsc4py'
  __pyx_capi__ = {'GetComm': <capsule object "MPI_Comm (PyObject...
  __type_registry__ = {0: None, 1211212: <type 'petsc4py.PETSc.O...
  __warningregistry__ = {('numpy.ndarray size changed, may indic...
Function Details [hide private]

garbage_cleanup(comm=None)

 
Cleans up unused PETSc objects on the communicator comm. If no

communicator is provided first clean up on PETSC_COMM_WORLD, then clean up on PETSC_COMM_SELF.

Optional argument comm=None.

No return value.

garbage_view(comm=None)

 
Prints out summary of the unused PETSc objects on each rank of

the communicator comm. If no communicator is provided then PETSC_COMM_WORLD is used.

Optional argument comm=None.

No return value.


Variables Details [hide private]

__pyx_capi__

Value:
{'GetComm': <capsule object "MPI_Comm (PyObject *, MPI_Comm)" at 0x7fd\
8af7add80>,
 'GetCommDefault': <capsule object "MPI_Comm (void)" at 0x7fd8af7adde0\
>,
 'PyPetscAO_Get': <capsule object "AO (PyObject *)" at 0x7fd8af7b25d0>\
,
 'PyPetscAO_New': <capsule object "PyObject *(AO)" at 0x7fd8af7b25a0>,
 'PyPetscComm_Get': <capsule object "MPI_Comm (PyObject *)" at 0x7fd8a\
...

__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'>,
...

__warningregistry__

Value:
{('numpy.ndarray size changed, may indicate binary incompatibility. Ex\
pected 16 from C header, got 80 from PyObject',
  <type 'exceptions.RuntimeWarning'>,
  4): True}