8.4.3. pyafv.ParallelFiniteVoronoiSimulator.update_params
- ParallelFiniteVoronoiSimulator.update_params(phys)[source]
Update physical parameters.
- Parameters:
phys (PhysicalParams) – New
PhysicalParamsobject.- Raises:
TypeError – If phys is not an instance of
PhysicalParams.- Return type:
None
Warning
This also resets all preferred cell areas to the new value of A0. If halo_width was not explicitly specified at instantiation, it also updates the halo width to
4.01 * phys.r.