Right...  

The fastest thing to do may be to loop over all local elements, and only look 
at their internal degreees of freedom, which are guaranteed to be owned by the 
processor. Then you can loop over all local nodes.  Should be faster than the 
typical loop over elements / loop over element's nodes with-embedded-if-test...

-Ben

-----Original Message-----
From: Derek Gaston [mailto:[EMAIL PROTECTED]
Sent: Thu 11/6/2008 9:49 AM
To: Roy Stogner
Cc: [email protected]
Subject: Re: [Libmesh-devel] Local Dof Indices
 
aha - thanks Roy... that's what I needed.

Derek

On Nov 6, 2008, at 8:49 AM, Roy Stogner wrote:

>
>
> On Thu, 6 Nov 2008, Derek Gaston wrote:
>
>> So... I'm putting together a capability for finding the local dof
>> indices for a variable.... and I've got a question about who owns  
>> what.
>>
>> If a processor owns an element.... does it own all of the degrees of
>> freedom on that element?
>
> It owns any DoFs stored on the element itself, but not all the DoFs
> stored on the nodes attached to that element.  You need to look at the
> processor_id() for each DofObject to get the right owner if the
> DofObject is a node on a boundary between processors' partitions.
> ---
> Roy


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to