This program feelpp_doc_harmonic shows how to solve for the harmonic extension of a displacement given at a boundary of a domain. Given
on
, find
such that
is the harmonic extension of
in
, then we move the mesh vertices using
.
must coincide with the mesh vertices which implies that the mesh order (the order of the geometric transformation) should be the same as
. If
is piecewise polynomial of degree
then the geometric transformation associated to the mesh should be of degree
too, i.e. Mesh<Simplex<2,N>>.We consider the following displacement
on the bottom boundary and
being 0 on the remaining borders and we look for
as a
piecewise polynomial function in
and the mesh associated is of the same order i.e. Mesh<Simplex<2,2>>.
The implementation is as follows
1.8.5