What about a scaled_norm of sorts where you can weight each variable by a 
constant?

Yours is then just a special case with a one and some zeros?



----- Original Message -----
From: Derek Gaston <[EMAIL PROTECTED]>
To: [email protected] <[email protected]>
Sent: Wed Nov 05 16:08:09 2008
Subject: [Libmesh-users] Norm of a NumericVector for specific variable...

Anyone have a good piece of code for computing a norm of just the  
piece of a NumericVector that corresponds to a specific variable  
number?  My problem is that I have multiple
variables in my system... but I need to get the norm of the residual  
for each one individually.

Should we maybe extend the l2_norm(), l1_norm(), linfty_norm()  
functions to take an option variable number?

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-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users
-------------------------------------------------------------------------
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-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to