#include </cur/unifexp/worker.h>
Public Member Functions | |
Worker (int _controlNumber, bool _local=false) | |
The default constructor. | |
Private Member Functions | |
int | Initialize (chomp::multiwork::mwData &data) |
A function for the initialization of a worker. | |
int | Process (chomp::multiwork::mwData &data) |
A function for processing a piece of data by a worker. | |
Private Attributes | |
int | controlNumber |
The control number to recognize a compatible coordinator. | |
bool | local |
Is the work being done locally? That is, in the same process as the coordinator? If so, then the global variables are not reset, such as pointbase, because this might affect the coordinator's data. | |
mapTypes< double > | maps |
An object which contains all the map objects to choose from. | |
partTypes< double > | partitions |
An object which contains all the partition objects to choose from. |
Definition at line 54 of file worker.h.
unifexp::Worker::Worker | ( | int | _controlNumber, | |
bool | _local = false | |||
) | [inline] |
int unifexp::Worker::Initialize | ( | chomp::multiwork::mwData & | data | ) | [inline, private] |
int unifexp::Worker::Process | ( | chomp::multiwork::mwData & | data | ) | [inline, private] |
A function for processing a piece of data by a worker.
Definition at line 102 of file worker.h.
References controlNumber, unifexp::findDeltaBisection(), unifexp::findLambdaC(), maps, and partitions.
int unifexp::Worker::controlNumber [private] |
bool unifexp::Worker::local [private] |
mapTypes<double> unifexp::Worker::maps [private] |
partTypes<double> unifexp::Worker::partitions [private] |