Model.optimize_mesh

Model.optimize_mesh(algo=OptimizationAlgorithm.Default, niter=1)

Optimize the model mesh using the specified method.

Parameters:
algoOptimizationAlgorithm, optional

The optimization algorithm to use.

niterint, optional

The number of iterations.

Returns:
None

Optimisation is applied to the internally stored mesh.