21 const std::vector<std::vector<std::size_t>> *neighbor_list) {
23 std::size_t n = nodes->size();
27 tf::Taskflow taskflow;
29 taskflow.for_each_index(
30 (std::size_t) 0, n, (std::size_t) 1, [
this, &nodes, &neighbor_list, n](std::size_t i) {
32 std::vector<size_t> neighs;
33 if (neighbor_list !=
nullptr)
34 neighs = (*neighbor_list)[i];
44 d_fracture[i] = std::vector<uint8_t>(s, uint8_t(0));
48 executor.run(taskflow).get();