3.3.2. pyafv.FiniteVoronoiSimulator.build
- FiniteVoronoiSimulator.build()
Build the finite-Voronoi structure and compute forces, returning a dictionary of diagnostics.
- Do the following:
Build Voronoi (+ extensions)
Get cell connectivity
Compute per-cell quantities and derivatives
Assemble forces
- Returns:
A dictionary containing geometric properties with keys:
forces: (N,2) array of forces on cell centers
areas: (N,) array of cell areas
perimeters: (N,) array of cell perimeters
vertices: (M,2) array of all Voronoi + extension vertices
edges_type: list-of-lists of edge types per cell (1=straight, 0=circular arc)
regions: list-of-lists of vertex indices per cell
connections: (M’,2) array of connected cell index pairs
- Return type: