On Thu, 8 Dec 2016, Michael Povolotskyi wrote:

> does libmesh have a tool to perform a linear interpolation of a 3D
> function from one mesh to another?

In code: create a MeshFunction with the source mesh+system and do
project_solution on the target mesh+system.

>From the command line: use $LIBMESH_DIR/bin/projection-opt

This does a local projection: interpolating vertices, then doing an L2
(or H1 for C1 elements) projection on edges while holding vertices
fixed, then doing a projection on faces while holding vertices+edges
fixed, then doing a projection on interiors while holding
vertices+edges+faces fixed.

The best alternative would be to do a global projection; for that
you'd need to write the system yourself.  If you do then let us know;
it's the sort of thing that we should probably add to src/apps/
---
Roy

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to