DOLFIN
DOLFIN C++ interface
Static Public Member Functions | List of all members
dolfin::HarmonicSmoothing Class Reference

#include <HarmonicSmoothing.h>

Static Public Member Functions

static std::shared_ptr< MeshDisplacementmove (std::shared_ptr< Mesh > mesh, const BoundaryMesh &new_boundary)
 

Detailed Description

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.

Member Function Documentation

◆ move()

std::shared_ptr< MeshDisplacement > HarmonicSmoothing::move ( std::shared_ptr< Mesh mesh,
const BoundaryMesh new_boundary 
)
static

Move coordinates of mesh according to new boundary coordinates and return the displacement

Parameters
mesh(Mesh) Mesh
new_boundary(BoundaryMesh) Boundary mesh
Returns
MeshDisplacement Displacement

The documentation for this class was generated from the following files: