### What are mesh.smooth and mesh.smooth_boundary doing?

155

views

0

Simple question:

Does someone know what these two mesh operators are doing, more than the succinct description on the fenicsproject website ?

# Smooth internal vertices of mesh by local averaging.

mesh.smooth(number_iteration)

# Smooth boundary vertices of mesh by local averaging.

mesh.smooth_boundary(number_iteration)

Thanks.

Does someone know what these two mesh operators are doing, more than the succinct description on the fenicsproject website ?

# Smooth internal vertices of mesh by local averaging.

mesh.smooth(number_iteration)

# Smooth boundary vertices of mesh by local averaging.

mesh.smooth_boundary(number_iteration)

Thanks.

Community: FEniCS Project

Please login to add an answer/comment or follow this question.

https://bitbucket.org/fenics-project/dolfin/src/3505ffd12c72dd40bec5b705ea364b453e242c1d/dolfin/mesh/MeshSmoothing.cpp?at=master&fileviewer=file-view-default#MeshSmoothing.cpp-41

https://bitbucket.org/fenics-project/dolfin/src/3505ffd12c72dd40bec5b705ea364b453e242c1d/dolfin/mesh/MeshSmoothing.cpp?at=master&fileviewer=file-view-default#MeshSmoothing.cpp-160