7.3.6. pyafv.FiniteVoronoiSimulator.update_preferred_areas

FiniteVoronoiSimulator.update_preferred_areas(A0)[source]

Update the preferred areas for all cells.

Parameters:

A0 (float | ndarray) – New preferred area(s) for all cells, either as a scalar or as an array of shape (N,).

Raises:

ValueError – If A0 does not match cell number.

Return type:

None