rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
Functions
fv_l2_error.m File Reference

function computing the l2-error between the two fv-functions or function sequences in U1,U2. More...

Go to the source code of this file.

Functions

function
l2_error = 
fv_l2_error (U1, U2, W)
 function computing the l2-error between the two fv-functions or function sequences in U1,U2. More...
 

Detailed Description

function computing the l2-error between the two fv-functions or function sequences in U1,U2.

Definition in file fv_l2_error.m.

Function Documentation

function l2_error = fv_l2_error (   U1,
  U2,
  W 
)

function computing the l2-error between the two fv-functions or function sequences in U1,U2.

Parameters
U1matrix of column vectors representing finite volume function dof sequence of first function
U2matrix of column vectors representing finite volume function dof sequence of second function
Wmass matrix for L^2 scalar product such that \(u^t W v = \langle u, v \rangle_{L^2}\)
Return values
l2_errora single value or sequence of values corresponding to the column-differences between U1 and U2 correct Omega-integrals are computed.

Definition at line 17 of file fv_l2_error.m.

Here is the caller graph for this function: