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

Takuya OSHIMA oshima at eng.niigata-u.ac.jp
Tue Jul 13 20:35:36 EDT 2010


Thanks!

Takuya

From: Dave Partyka <dave.partyka at kitware.com>
Subject: Re: [vtk-developers] [Patch] OpenFOAM reader performance issue when loading polyhedral meshes
Date: Tue, 13 Jul 2010 16:58:51 -0400

> This is applied. Thank you!
> 
> On Tue, Jul 13, 2010 at 9:01 AM, Dave Partyka <dave.partyka at kitware.com>wrote:
> 
>> 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
>>>
>>>
>>>
>>



More information about the vtk-developers mailing list