[visit-developers] avtRectilinearDomainBoundaries in Silo Plugin?
hankchilds at yahoo.com
Sun Oct 19 21:03:20 EDT 2008
So we are basically exposed on the issue of multiple meshes with multiple domain boundaries objects and we would need to make changes to the code to support it. (Not serious changes, but still...)
If we have multiple meshes and only one of them has a domain boundaries object, then we're okay. When a given mesh is being visualized, the domain boundaries has a method named "ConfirmMesh" that checks to see if the mesh is the one it is linked to. If not, then the domain boundaries object just bows out...
--- On Sun, 10/19/08, Cyrus Harrison <cyglor at gmail.com> wrote:
> From: Cyrus Harrison <cyglor at gmail.com>
> Subject: Re: [visit-developers] avtRectilinearDomainBoundaries in Silo Plugin?
> To: "VisIt Developers" <visit-developers at email.ornl.gov>
> Date: Sunday, October 19, 2008, 5:58 PM
> Hank - Thanks for verifying this for me. All the
> connectivity info is
> there, we just need a sensible way to select between
> rectilinear &
> curvilinear. Here is a another observation/question hybrid
> - While
> Silo can store several multi meshes it looks like our
> plugin supports
> a single decomposition scheme? Probably as a side effect of
> this we
> don't have anything that links the connectivity info
> to a particular
> mesh. This is what I went searching for to resolve the rect
> vs curvi
> domain boundaries, in a general way but I came up empty
> handed. If
> anyone knows something obvious I overlooked please fill me
> So to resolve the domain boundary issue would reading the
> multimesh and checking its mesh type be acceptable, or is
> this to much
> of a hack?
> Also - Eric I would like to get this fix into the next
> release, but
> since it is a very small change I can do it on the RC.
> On Sat, Oct 18, 2008 at 7:06 AM, Hank Childs
> <hankchilds at yahoo.com> wrote:
> > Hi Cyrus,
> > I looked over the code and have concluded that, as you
> suspected, the Silo reader does not properly handle this
> case. It only instantiates an
> avtCurvilinearDomainBoundaries object. For the case you are
> describing, as you figured out, it should be making an
> avtRectilinearDomainBoundaries object. So the Silo reader
> needs to be enhanced to see what the mesh type is and create
> the right kind of object from it.
> > -Hank
> > --- On Fri, 10/17/08, Cyrus D. Harrison
> <cyrush at llnl.gov> wrote:
> >> From: Cyrus D. Harrison <cyrush at llnl.gov>
> >> Subject: [visit-developers]
> avtRectilinearDomainBoundaries in Silo Plugin?
> >> To: "VisIt Developers"
> <visit-developers at email.ornl.gov>
> >> Date: Friday, October 17, 2008, 4:58 PM
> >> Hi Everyone,
> >> I was able to unwind the nodelists in Tom's
> >> Silo MMAdj
> >> object example to get things rolling but I hit
> another road
> >> block.
> >> I verified that the facelist filter is correctly
> >> the internal
> >> faces between the domains - but when I try to use
> >> zones it crashes.
> >> It is crashing while exchanging domain boundary
> info - the
> >> avtCurvilinearDomainBoundaries object is being
> used but my
> >> data is
> >> rectilinear.
> >> In avtCurvilinearDomainBoundaries::ExchangeMesh it
> tries to
> >> cast the
> >> datasets to vtkStructuredGrids, but they are of
> >> vtkRectilinearGrids.
> >> (I verified this using dynamic_casts). I looked in
> >> avtSiloFileFormat and
> >> I didn't see any path currently creating
> >> avtRectilinearDomainBoundaries
> >> - am I overlooking something there? Are there any
> >> multi-domain
> >> rectilinear silo example data files w/ ghosts?
> >> Thanks,
> >> -Cyrus
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the visit-developers