fipy.solvers.petsc.comms package

Submodules

fipy.solvers.petsc.comms.parallelPETScCommWrapper module

class fipy.solvers.petsc.comms.parallelPETScCommWrapper.ParallelPETScCommWrapper

Bases: PETScCommWrapper

MPI Communicator wrapper

Encapsulates capabilities needed for PETSc.

Barrier()
MaxAll(vec)
MinAll(vec)
Norm2(vec)
property Nproc
__getstate__()
__repr__()

Return repr(self).

__setstate__(dict)
all(a, axis=None)
allclose(a, b, rtol=1e-05, atol=1e-08)
allequal(a, b)
allgather(sendobj=None)
any(a, axis=None)
bcast(obj=None, root=0)
property mpi4py_comm
property procID
sum(a, axis=None)

fipy.solvers.petsc.comms.petscCommWrapper module

class fipy.solvers.petsc.comms.petscCommWrapper.PETScCommWrapper(petsc4py_comm=<petsc4py.PETSc.Comm object>)

Bases: AbstractCommWrapper

MPI Communicator wrapper

Encapsulates capabilities needed for PETSc. Some capabilities are not parallel.

Barrier()
MaxAll(vec)
MinAll(vec)
Norm2(vec)
property Nproc
__getstate__()
__repr__()

Return repr(self).

__setstate__(dict)
all(a, axis=None)
allclose(a, b, rtol=1e-05, atol=1e-08)
allequal(a, b)
allgather(obj)
any(a, axis=None)
bcast(obj, root=0)
property mpi4py_comm
property procID
sum(a, axis=None)

fipy.solvers.petsc.comms.serialPETScCommWrapper module

class fipy.solvers.petsc.comms.serialPETScCommWrapper.SerialPETScCommWrapper

Bases: PETScCommWrapper

Barrier()
MaxAll(vec)
MinAll(vec)
Norm2(vec)
property Nproc
__getstate__()
__repr__()

Return repr(self).

__setstate__(dict)
all(a, axis=None)
allclose(a, b, rtol=1e-05, atol=1e-08)
allequal(a, b)
allgather(obj)
any(a, axis=None)
bcast(obj, root=0)
property mpi4py_comm
property procID
sum(a, axis=None)

Module contents

Last updated on Jun 15, 2022. Created using Sphinx 5.0.1.