[vtk-developers] [Patch] OpenFOAM reader performance issue when loading polyhedral meshes

Dave Partyka dave.partyka at kitware.com
Tue Jul 13 09:01:35 EDT 2010


Hi Takuya, I can take a look.

On Tue, Jul 13, 2010 at 6:01 AM, Takuya OSHIMA
<oshima at eng.niigata-u.ac.jp>wrote:

> Hi,
>
> A recent change to vtkDataArrayTemplate::Resize() to produce an array
> of exact requested size when the requested size was larger than the
> current size (commit id c869c3d5875f503e757b64f2fd1ec349aee859bf)
> caused the OpenFOAM reader a performance problem. I created and
> attached a patch (to the OF reader) to fix the problem, so can
> somebody take care of it?
>
> If a testing is required, please try the "0deg.foam" case included in
> http://oshima.eng.niigata-u.ac.jp/polyhedronTests.tar.gz
> . Without the fix it takes several minuits to load, whereas after fix
> it should load in several seconds.
>
> Takuya
>
> Takuya OSHIMA, Ph.D.
> Faculty of Engineering, Niigata University
> 8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20100713/64be0129/attachment.html>


More information about the vtk-developers mailing list