4.2. pyafv.PhysicalParams
- class pyafv.PhysicalParams(r=1.0, A0=3.141592653589793, P0=4.8, KA=1.0, KP=1.0, lambda_tension=0.2, delta=0.0)[source]
Physical parameters for the active-finite-Voronoi (AFV) model.
- Caveat:
Frozen dataclass is used for
PhysicalParamsto ensure immutability of instances.
- Parameters:
r (float) – Radius (maximal) of the Voronoi cells.
A0 (float) – Preferred area of the Voronoi cells.
P0 (float) – Preferred perimeter of the Voronoi cells.
KA (float) – Area elasticity constant.
KP (float) – Perimeter elasticity constant.
lambda_tension (float) – Tension difference between non-contacting edges and contacting edges.
delta (float) – Small offset to avoid singularities in computations.
Attributes
rRadius (maximal) of the Voronoi cells.
A0Preferred area of the Voronoi cells.
P0Preferred perimeter of the Voronoi cells.
KAArea elasticity constant.
KPPerimeter elasticity constant.
lambda_tensionTension difference between non-contacting edges and contacting edges.
deltaSmall offset to avoid singularities in computations.
Methods
Compute steady-state (l,d) for the given physical parameters.
Returns a new instance with the radius updated to steady state.
with_delta(delta_new)Returns a new instance with the specified delta.