fipy.tools.comms package

Submodules

fipy.tools.comms.abstractCommWrapper module

class fipy.tools.comms.abstractCommWrapper.AbstractCommWrapper

Bases: object

MPI Communicator wrapper

Encapsulates capabilities needed for possibly parallel operations. 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 procID
sum(a, axis=None)

fipy.tools.comms.dummyComm module

class fipy.tools.comms.dummyComm.DummyComm

Bases: AbstractCommWrapper

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 procID
sum(a, axis=None)

Module contents

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