Changes between Version 6 and Version 7 of u/erica/norms


Ignore:
Timestamp:
08/22/13 16:02:42 (11 years ago)
Author:
Erica Kaminski
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • u/erica/norms

    v6 v7  
    6060
    6161[[latex($||e||_{\infty} = max_{(a\leq x\leq b)} |e(x)| $)]]
     62
     63= Error of GRID functions =
     64
     65Grid functions are the result of solving a discretized finite difference scheme or the like. They are given by a dicretized function, U(i). To compute the error norm of a grid function, we must first define an appropriate discretized error function, e(i). One choice could be,
     66
     67[[latex($e(i) = U(i) - u(x_i)$)]]
     68
     69However, if your numerical scheme is solving for a ''cell average'' quantity instead of just an approximation to the value of u at xi, then obviously this error function should be adjusted. Thus, it depends on your scheme how you want to formulate e(i).
     70
     71Once e(i) is formulated, the norms are now discretized versions of the integral formulas of the previous section. Taking a discretized sum now, and substituting dx=h=L/mx+1, where L is the domain length and mx is the number of computing cells, we have:
     72
     73