That method lets you conveniently access all the elements sharing a given node, 
which is not what you want in this case. 

The usual way to do this is by solving an L2 projection onto a continuous field 
- think of this as finding the continuous gradient field that best approximates 
your discontinuous field in a least-squares sense. 

I don't think there are any examples that currently show this - I'll try to add 
one after the next release.

Given that it is a common-enough post processing task, we might start a 
discussion on the development list as to how to best provide this as a core 
library service...

-Ben

 

On Oct 29, 2012, at 3:41 AM, "Subramanya Gautam Sadasiva" <ssada...@purdue.edu> 
wrote:

> Hi, 
> I need to extrapolate element fields to the nodes in order to compute 
> approximate gradients for some quantities defined at the quadrature points. 
> What is the easiest way to accomplish this?
> I saw meshtools has a nodes to elem map function.Does this work for parallel 
> meshes?
> Thanks.
> Subramanya 
> 
> ------------------------------------------------------------------------------
> The Windows 8 Center - In partnership with Sourceforge
> Your idea - your app - 30 days.
> Get started!
> http://windows8center.sourceforge.net/
> what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
> _______________________________________________
> Libmesh-users mailing list
> libmesh-us...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/libmesh-users

------------------------------------------------------------------------------
The Windows 8 Center - In partnership with Sourceforge
Your idea - your app - 30 days.
Get started!
http://windows8center.sourceforge.net/
what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to