On Nov 13, 2008, at 12:04 PM, Roy Stogner wrote:

>> Do you want me to put a check in there to see if all of the variable
>> weights are 1.0 and call l2_norm() (or whatever) directly?
>
> Would you?  Or just benchmark and tell me that such an optimization is
> unnecessary and I'll quit whining.

Heh... I'll implement it... but I do suspect that timewise it makes no  
difference.  Technically it might introduce 1 more parallel  
communication of a double for each variable in your system past your  
first one.... but I wouldn't expect that to have much overhead ;-)

Derek

-------------------------------------------------------------------------
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