|
seapodym-parallel
Fish dynamics models with parameter estimations
|
The TaskWorker gets tasks assigned and executes them. More...
#include <TaskWorker.h>
Public Member Functions | |
| TaskWorker (MPI_Comm comm, std::function< int(int)> taskFunc) | |
| void | run () const |
The TaskWorker gets tasks assigned and executes them.
Class TaskWorker
| TaskWorker::TaskWorker | ( | MPI_Comm | comm, |
| std::function< int(int)> | taskFunc ) |
Constructor
| comm | MPI communicator |
| taskFunc | task function |
| void TaskWorker::run | ( | ) | const |
Run the tasks assigned by the TaskManager