[dune-fem] Interpolation of discrete function over a different grid
Radcliffe, Alastair
A.Radcliffe at warwick.ac.uk
Wed Oct 7 13:45:09 CEST 2015
Maybe dune-grid-glue could help ?
http://www.dune-project.org/modules/dune-grid-glue/index.html
Alastair
________________________________________
From: dune-fem-bounces+a.radcliffe=warwick.ac.uk at dune-project.org <dune-fem-bounces+a.radcliffe=warwick.ac.uk at dune-project.org> on behalf of Agnese, Marco <m.agnese13 at imperial.ac.uk>
Sent: Wednesday, October 7, 2015 12:36 PM
To: dune-fem at dune-project.org
Subject: [dune-fem] Interpolation of discrete function over a different grid
Hi!
I have a discrete function df1 defined over grid1 and a discrete function df2 over grid2. The domain is the same but grid1 != grid2.
I want to interpolate df1 onto grid2 and store the value into df2. Which is the correct way to do it?
Right now I am looping trough the entities of grid2, evaluating df1 in its Lagrange points and storing the result in the correct place of df2.
But this approach is not very general. Moreover, since the access to Lagrange points is going to be removed, it won't be possible to do this in the future so I am looking to a better solution. Any suggestions?
Thank you very much,
cheers,
Marco.
_______________________________________________
dune-fem mailing list
dune-fem at dune-project.org
http://lists.dune-project.org/mailman/listinfo/dune-fem
More information about the dune-fem
mailing list