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
__dict__ = mappingproxy({'__module__': 'fipy.tools.comms.abstractCommWrapper', '__doc__': 'MPI Communicator wrapper\n \n Encapsulates capabilities needed for possibly parallel operations. \n Some capabilities are not parallel.\n \n ', '__init__': <function AbstractCommWrapper.__init__>, '__repr__': <function AbstractCommWrapper.__repr__>, 'procID': <property object>, 'Nproc': <property object>, 'Barrier': <function AbstractCommWrapper.Barrier>, 'all': <function AbstractCommWrapper.all>, 'any': <function AbstractCommWrapper.any>, 'allclose': <function AbstractCommWrapper.allclose>, 'allequal': <function AbstractCommWrapper.allequal>, 'bcast': <function AbstractCommWrapper.bcast>, 'allgather': <function AbstractCommWrapper.allgather>, 'sum': <function AbstractCommWrapper.sum>, '__getstate__': <function AbstractCommWrapper.__getstate__>, '__setstate__': <function AbstractCommWrapper.__setstate__>, 'Norm2': <function AbstractCommWrapper.Norm2>, '_tolist': <staticmethod object>, 'MaxAll': <function AbstractCommWrapper.MaxAll>, 'MinAll': <function AbstractCommWrapper.MinAll>, '__dict__': <attribute '__dict__' of 'AbstractCommWrapper' objects>, '__weakref__': <attribute '__weakref__' of 'AbstractCommWrapper' objects>, '__annotations__': {}})
__getstate__()
__init__()

Initialize self. See help(type(self)) for accurate signature.

__module__ = 'fipy.tools.comms.abstractCommWrapper'
__repr__()

Return repr(self).

__setstate__(dict)
__weakref__

list of weak references to the object (if defined)

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: fipy.tools.comms.abstractCommWrapper.AbstractCommWrapper

property Nproc
__module__ = 'fipy.tools.comms.dummyComm'
property procID

Module contents

Last updated on Jan 14, 2021. Created using Sphinx 3.4.3.