calculate_sorted_cells
Defined in header: <ixion/formula.hpp>
-
void ixion::calculate_sorted_cells(model_context &cxt, std::span<const abs_range_t> formula_cells, size_t thread_count)
Calculate all specified formula cells in the order they occur in the sequence.
- Parameters:
cxt – model context.
formula_cells – formula cells to be calculated. The cells will be calculated in the order they appear in the sequence. In a typical use case, this will be the returned value from query_and_sort_dirty_cells.
thread_count – number of calculation threads to use. Note that passing 0 will make the process use the main thread only, while passing any number greater than 0 will make the process spawn specified number of calculation threads plus one additional thread to manage the calculation threads.