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
  DMPlexTransform
  DMPlexTransformType
  DMShell
  DMStag
  DMSwarm
  DS
  Device
  DeviceContext
  DualSpace
  Error
  FE
  IS
  InsertMode
  KSP
  LGMap
  Log
  LogClass
  LogEvent
  LogStage
  Mat
  MatPartitioning
  NormType
  NullSpace
  Object
  Options
Options(prefix=None)
  PC
  PCFailedReason
  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 0x7ff40f15b710>
  COMM_SELF = <petsc4py.PETSc.Comm object at 0x7ff40f15b750>
  COMM_WORLD = <petsc4py.PETSc.Comm object at 0x7ff40f15b790>
  DECIDE = -1
  DEFAULT = -2
  DETERMINE = -1
  INFINITY = 4.49423283716e+307
  NINFINITY = -4.49423283716e+307
  PINFINITY = 4.49423283716e+307
  __arch__ = 'arch-classic-docs'
  __package__ = 'petsc4py'
  __pyx_capi__ = {'CHKERR': <capsule object "PetscErrorCode (Pet...
  __type_registry__ = {0: None, 1211212: <type 'petsc4py.PETSc.O...
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:
{'CHKERR': <capsule object "PetscErrorCode (PetscErrorCode)" at 0x7ff4\
32735a50>,
 'GetComm': <capsule object "MPI_Comm (PyObject *, MPI_Comm)" at 0x7ff\
432735960>,
 'GetCommDefault': <capsule object "MPI_Comm (void)" at 0x7ff4327359c0\
>,
 'PyPetscAO_Get': <capsule object "AO (PyObject *)" at 0x7ff43273b2d0>\
,
...

__type_registry__

Value:
{0: None,
 1211212: <type 'petsc4py.PETSc.Object'>,
 1211220: <type 'petsc4py.PETSc.Viewer'>,
 1211221: <type 'petsc4py.PETSc.Random'>,
 1211222: <type 'petsc4py.PETSc.Device'>,
 1211223: <type 'petsc4py.PETSc.DeviceContext'>,
 1211224: <type 'petsc4py.PETSc.IS'>,
 1211225: <type 'petsc4py.PETSc.LGMap'>,
...