Canoe
Comprehensive Atmosphere N' Ocean Engine
|
#include <schedulers.hpp>
Public Member Functions | |
Scheduler (MeshBlock *pmb) | |
constructor and destructor More... | |
virtual | ~Scheduler () |
bool | DoTask (TaskFunc func) |
functions More... | |
bool | CheckDone (std::vector< TaskFunc > const &deps) |
void | AddTasks (std::vector< TaskFunc > const &tasks) |
Protected Attributes | |
std::unordered_map< TaskFunc, TaskInfo > | tasks_ |
TaskFunc | current_task_ |
IntegrationStage | current_stage_ |
Private Attributes | |
MeshBlock * | pmy_block_ |
Definition at line 21 of file schedulers.hpp.
|
explicit |
constructor and destructor
Definition at line 11 of file schedulers.cpp.
|
inlinevirtual |
Definition at line 25 of file schedulers.hpp.
bool Scheduler::DoTask | ( | TaskFunc | func | ) |
functions
Definition at line 13 of file schedulers.cpp.
bool Scheduler::CheckDone | ( | std::vector< TaskFunc > const & | deps | ) |
Definition at line 18 of file schedulers.cpp.
void Scheduler::AddTasks | ( | std::vector< TaskFunc > const & | tasks | ) |
Definition at line 43 of file schedulers.cpp.
Definition at line 33 of file schedulers.hpp.
|
protected |
Definition at line 34 of file schedulers.hpp.
|
protected |
Definition at line 35 of file schedulers.hpp.
|
private |
Definition at line 38 of file schedulers.hpp.