seapodym-parallel
Fish dynamics models with parameter estimations
Loading...
Searching...
No Matches
TaskWorker Class Reference

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

Detailed Description

The TaskWorker gets tasks assigned and executes them.

Class TaskWorker

Constructor & Destructor Documentation

◆ TaskWorker()

TaskWorker::TaskWorker ( MPI_Comm comm,
std::function< int(int)> taskFunc )

Constructor

Parameters
commMPI communicator
taskFunctask function

Member Function Documentation

◆ run()

void TaskWorker::run ( ) const

Run the tasks assigned by the TaskManager


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