# L1,L2,L_infinity error

 Register Blogs Members List Search Today's Posts Mark Forums Read

 March 21, 2013, 22:18 L1,L2,L_infinity error #1 New Member   Join Date: Mar 2013 Posts: 14 Rep Power: 4 Hi, I am confused with the definition of the three errors. Are they defined as follows? L1 = sum(abs(uex-u))*dx; L2 = sqrt(dx*sum((uex-u)^2)); L_infinity = max(abs(uex-u)); Is L_infinity always larger than the other two errors? Last edited by Wenjun; March 21, 2013 at 22:20. Reason: typo

March 22, 2013, 05:26
#2
Senior Member

Filippo Maria Denaro
Join Date: Jul 2010
Posts: 1,856
Rep Power: 25
Quote:
 Originally Posted by Wenjun Hi, I am confused with the definition of the three errors. Are they defined as follows? L1 = sum(abs(uex-u))*dx; L2 = sqrt(dx*sum((uex-u)^2)); L_infinity = max(abs(uex-u)); Is L_infinity always larger than the other two errors?
First, a general Lp operator is called Holder norm, it applies on a vector in the discrete case, in your example, the error is the difference (uex-u), not the norm.
Then, you can define the norm in average or not, you can find some useful note in the book of LeVeque or any other book on numerical analysis.
L_infinity becomes the more restrictive

 March 22, 2013, 05:31 #3 New Member   Join Date: Mar 2013 Posts: 14 Rep Power: 4 Ok , thanks for your advice!

 Tags error definition

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post gschaider OpenFOAM 300 October 29, 2014 19:00 vaina74 OpenFOAM Installation 13 February 3, 2012 18:43 sail OpenFOAM Paraview & paraFoam 9 November 25, 2011 16:46 jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51 cfduser CFX 0 April 29, 2006 10:58

All times are GMT -4. The time now is 19:11.