[vtkusers] vtkMultiBlockDataSet and vtkDataSetSurfaceFilter
Berk Geveci
berk.geveci at kitware.com
Mon Jul 11 09:36:34 EDT 2016
> Thanks, I will go for the ghost levels. Out of curiosity, what is this
‘marking surface vertices’? Sounds like an interesting feature for other
purposes as well.
It is done through the point-wise ghost array.
Best,
-berk
On Fri, Jul 8, 2016 at 4:16 AM, Andreas Buykx <A.Buykx at dianafea.com> wrote:
> Thanks, I will go for the ghost levels. Out of curiosity, what is this
> ‘marking surface vertices’? Sounds like an interesting feature for other
> purposes as well.
>
>
>
> Kind regards,
>
> Andreas
>
>
>
> *From:* Berk Geveci [mailto:berk.geveci at kitware.com]
> *Sent:* Thursday, July 07, 2016 1:44 PM
> *To:* Andreas Buykx; VTK Users
>
> *Subject:* Re: [vtkusers] vtkMultiBlockDataSet and vtkDataSetSurfaceFilter
>
>
>
> Hi Andreas,
>
>
>
> You can produce as many levels as you'd like but if all you are interested
> is removing the internal boundaries, one level would be plenty. There is
> actually a way to mark the surface vertices to avoid internal surfaces but
> it is not a well established/tested path so I recommend the ghost cell path
> for now.
>
>
>
> Best,
>
> -berk
>
>
>
> On Wed, Jul 6, 2016 at 2:22 AM, Andreas Buykx <A.Buykx at dianafea.com>
> wrote:
>
> Hi Berk,
>
>
>
> Does this mean that I only need to produce one level of ghost cells? I
> sort of can understand that when the ghost cells are not removed anymore…
>
>
>
> Kind regards,
>
> Andreas
>
>
>
> *From:* Berk Geveci [mailto:berk.geveci at kitware.com]
> *Sent:* Monday, July 04, 2016 1:28 PM
> *To:* Andreas Buykx
> *Cc:* vtkusers at vtk.org
> *Subject:* Re: [vtkusers] vtkMultiBlockDataSet and vtkDataSetSurfaceFilter
>
>
>
> Hi Andreas,
>
>
>
> There is a long answer but it's early in the morning so I'll go with a
> short one :-) Yes, normally you would check for
> UPDATE_NUMBER_OF_GHOST_LEVELS etc. However, this is not required. You can
> always produce ghost cells even if you are not asked for it.
>
>
>
> Best,
>
> -berk
>
>
>
> On Fri, Jul 1, 2016 at 3:53 AM, Andreas Buykx <A.Buykx at tnodiana.com>
> wrote:
>
> Hi,
>
>
>
> My finite element mesh is stored in a vtkMultiBlockDataSet. I use a
> vtkCompositeDataPipeline to process my algorithms.
>
>
>
> Visualizing the outer surface of the mesh using vtkDataSetSurfaceFilter
> generates the outer surface of each block, instead of the outer surface of
> the entire mesh.
>
> In the source algorithm I can define ghost cells, but to know how many
> levels of ghost cells I have to generate I should be reading the
> UPDATE_NUMBER_OF_GHOST_LEVELS, if I understand correctly. Looking at
> vtkDataSetSurfaceFilter it seems that it requests ghost cells only if
> UPDATE_NUMBER_OF_PIECES > 1. Similar code is in vtkFeatureEdges and several
> other algorithms that I use.
>
>
>
> So it seems that I have to fool my pipeline into thinking that it
> processes multiple pieces, by setting UPDATE_NUMBER_OF_PIECES to >1. Is
> that possible at all? Should I also set other update information, like
> UPDATE_PIECE_NUMBER? Where in the pipeline should I set this information?
> Is there an alternative way of doing this?
>
>
>
> Thanks for your advice. Kind regards,
>
> Andreas Buykx
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160711/9991a44b/attachment.html>
More information about the vtkusers
mailing list