mspathDistributedCalculatorFactory {mspath}R Documentation

Make a Constructor for mspathCalculator Objects

Description

This function returns a function that behaves like mspathCalculator, except that it produces a distributed calculator as the result of the call. The object returned is sometimes referred to as a factory or a constructor.

Usage

mspathDistributedCalculatorFactory(
comm=0,
profile = FALSE)

Arguments

comm The MPI communicator to use. The default ordinarily suffices.
profile TRUE to enable profiling.

Value

Returns a function that, when called with the arguments to mspathCalculator, produces a new mspathDistributedCalculator object. That object will have the distributed calculator-specific arguments set with the values used in the calling this function..

Author(s)

Ross Boylan

See Also

mspathDistributedCalculator, mspathDistributedCalculator, mspathCalculator, mspath, Rmpi


[Package mspath version 0.9-9 Index]