Dr Gerard Gorman wrote:
> On Wed, 2007-11-14 at 16:37 +0530, Prabhu Ramachandran wrote:
>> http://public.kitware.com/cgi-bin/cvsweb.cgi/VTK/Graphics/vtkCellDataToPointData.cxx
>>
>> Basically, they find all the cells that share particular point. Then the 
>> value at the point is the average of the values at the cells that share 
>> the point.  The weights are the same for all cells.

> Eek - that doesn't look right. They should be using a finite element
> type projection method. ie - it should be something like (I hope you
> read latex)
> \begin{equation}
> field_n = (sum_e^{elements surrounding node n} field_e*volume_e)/
> (sum_e^{elements surrounding node n}volume_e)
> \end{equation}
> I'm using "element" and "cell" interchangeably here. If you don't do
> this then the result will be very inaccurate for inhomogeneous meshes.

Yes, I know.  But that is what the implementation seems to do.  It 
should be possible to submit a patch to add what you suggest to the 
filter... :-)

cheers,
prabhu


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
MayaVi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to