Thank Wolfgang for the support. It worked now.
Giang
On Fri, Apr 15, 2022 at 12:01 PM Wolfgang Bangerth
wrote:
> On 4/15/22 07:58, Giang Huynh wrote:
> > ---
> > error: no matching function for call to
> ‘interpolate_to_different_mesh(const
> > dealii::DoFHan
On 4/15/22 07:58, Giang Huynh wrote:
---
error: no matching function for call to ‘interpolate_to_different_mesh(const
dealii::DoFHandler<2>&, const dealii::Vector&, const
dealii::DoFHandler<2>&, const dealii::Vector&)’
VectorTools::interpolate_to_differen
Hi Sebastian,
I tried to use interpolate_to_different_mesh(), but it causes an error
below. How can I overcome this?
Thanks,
Giang
---
error: no matching function for call to
‘interpolate_to_different_mesh(const dealii::DoFHandler<2>&, const
dealii::Vector&,
Dear Giang,
I think that the SolutionTransfer class could be used for this purpose if
the Triangulation is coarsened. Moreover, the VectorTools namespace
contains a variant of VectorToosl::interpolate using two DoFHandler objects
and there is also VectorTools::interpolate_to_different_mesh.
Be