Description Usage Arguments Value
View source: R/domain_decomposition.R
Pull my work, according to my task index.
1 | my_tasks(task_id, task_cnt, work)
|
task_id |
integer index of task within all tasks. One-based. |
task_cnt |
integer total number of tasks. |
work |
Data frame with row and column of tile. |
2D array that is (row, col) by work items.
The math here is so that, if the tasks don't split evenly, there isn't a single task with only one thing to do. The first few tasks get one more, and the rest get one less.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.