DOLFIN
DOLFIN C++ interface
|
#include <HarmonicSmoothing.h>
Static Public Member Functions | |
static std::shared_ptr< MeshDisplacement > | move (std::shared_ptr< Mesh > mesh, const BoundaryMesh &new_boundary) |
This class implements harmonic mesh smoothing. Poisson's equation is solved with zero right-hand side (Laplace's equation) for each coordinate direction to compute new coordinates for all vertices, given new locations for the coordinates of the boundary.
|
static |
Move coordinates of mesh according to new boundary coordinates and return the displacement
mesh | (Mesh) Mesh |
new_boundary | (BoundaryMesh) Boundary mesh |