Skip to contents

Runtime is near-linear in cells but memory is not: per-cell cost rises from about 0.29 MB at 4k cells to 0.34 MB at 39k, and a full structure design runs to hundreds of thousands of cells. Splitting it into batches keeps each run in the linear regime, bounds peak memory, and lets the batches run concurrently or be resumed after an interruption.

Usage

growth_calibration_partition(design, max_cells_per_batch = 12000L)

Arguments

design

A cohort table from growth_structure_design().

max_cells_per_batch

Integer. Cell budget per batch. The default of 12000 corresponds to roughly 4 GB peak, which fits a 16 GB laptop.

Value

design with map_code renumbered within each batch, plus batch, row, and col.

Details

Batches are cut on CELL boundaries, never within a cell, so a mixed cell's cohorts always stay together.