Logo Search packages:      
Sourcecode: python-scientific version File versions  Download package

Scientific::BSP::core::ParRootFunction Class Reference

Inheritance diagram for Scientific::BSP::core::ParRootFunction:

Scientific::BSP::core::ParFunction Scientific::BSP::core::ParValue

List of all members.


Detailed Description

Asymmetric global function

Constructor: ParRootFunction(|root_function|, |other_function|=None)

Arguments:

|root_function| -- the local function for processor 0

|other_function| -- the local function for all other processors. The
                    default is a function that returns None.

Global functions are called with global object arguments.
The local values of these arguments are then passed to the local
function, and the result is returned in a ParValue object.

A ParRootFunction differs from a ParFunction in that it uses a different
local function for processor 0 than for the other processors.
ParRootFunction objects are commonly used for I/O operations.

Definition at line 796 of file core.py.


Public Member Functions

def __add__
def __call__
def __div__
def __divmod__
def __eq__
def __ge__
def __getattr__
def __getitem__
def __gt__
def __init__
def __init__
def __le__
def __len__
def __lt__
def __mod__
def __mul__
def __ne__
def __neg__
def __nonzero__
def __pow__
def __repr__
def __sub__
def accumulate
def alltrue
def anytrue
def broadcast
def fullExchange
def get
def getattr
def map
def put
def reduce

Public Attributes

 local_instance
 valid
 value

Static Public Attributes

int is_parvalue = 1

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index