If you look at nemesis_io_helper, you will see a few places in there where
we build up lists of all nodes connected to any local elements...

Like Roy said... I don't think there is a generic predicate that could be
made that would be useful in the library.  When you are needing to do
something like this it is usually pretty specific to your application.

Derek

On Tue, Dec 20, 2011 at 11:07 AM, Vetter Roman <vette...@ethz.ch> wrote:

> > Do you want all nodes attached to active local elements?
> Or all nodes attached to "semilocal" elements?
> Or all nodes containing ghosted degrees of freedom?
>
> I think what I need is the first (all nodes attached to active local
> elements) at one point in my program and the second (all nodes attached to
> active local elements or their direct neighbor elements) at another.
>
> For the first, I guess I could loop over all active local elements and for
> each of them, loop over all nodes, but I'd like to avoid doing the same
> work twice (or more for nodes with high connectivity) if possible.
>
> For the second, I'm a bit clueless...
>
> Roman
>
>
>
>
> ------------------------------------------------------------------------------
> Write once. Port to many.
> Get the SDK and tools to simplify cross-platform app development. Create
> new or port existing apps to sell to consumers worldwide. Explore the
> Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
> http://p.sf.net/sfu/intel-appdev
> _______________________________________________
> Libmesh-users mailing list
> Libmesh-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/libmesh-users
>
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to